Skip to content

Commit

Permalink
Add build support for python3.12, drop python3.7 (Bogdanp#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnLidbetter authored Nov 6, 2023
1 parent 23791e7 commit 2a1c6a8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- run: pip install tox
- run: tox -e lint

Expand All @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-20.04"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
concurrency: ["cpython", "gevent"]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"

- name: Install dependencies
run: python -m pip install build
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ def rel(*xs):
entry_points={"console_scripts": ["dramatiq = dramatiq.__main__:main"]},
scripts=["bin/dramatiq-gevent"],
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Distributed Computing",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist=
py{37,38,39,310,311}-cpython
py{37,38,39,310,311}-cpython-gevent
py{38,39,310,311,312}-cpython
py{38,39,310,311,312}-cpython-gevent
docs
lint

Expand All @@ -13,7 +13,7 @@ commands=
passenv=
TRAVIS

[testenv:py{37,38,39,310,311}-cpython-gevent]
[testenv:py{38,39,310,311,312}-cpython-gevent]
extras=
dev
commands=
Expand Down

0 comments on commit 2a1c6a8

Please sign in to comment.