Skip to content

Commit

Permalink
Support latest Python versions
Browse files Browse the repository at this point in the history
Python 3.11 and 3.12 were released since the last commits.
  • Loading branch information
inetAnt committed Feb 7, 2024
1 parent c671579 commit b9d4b65
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.8, 3.9, '3.10']
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -38,10 +38,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup Python 3.10
- name: Setup Python 3.12
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.12'
- name: Install pypa/build
run: |
python -m pip install build --user
Expand All @@ -62,10 +62,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup Python 3.10
- name: Setup Python 3.12
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.12'
- name: Install pypa/build
run: |
python -m pip install build --user
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"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",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
],
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{8,9,10},black,pylama
envlist = py3{8,9,10,11,12},black,pylama
skip_missing_interpreters = true

[testenv]
Expand All @@ -15,14 +15,14 @@ commands =
deps =
-rrequirements-dev.txt

basepython = python3.10
basepython = python3.12
commands =
black --check .

[testenv:pylama]
deps =
-rrequirements-dev.txt

basepython = python3.10
basepython = python3.12
commands =
pylama .

0 comments on commit b9d4b65

Please sign in to comment.