Skip to content

Commit

Permalink
Add Python 3.12 and PyPy 3.10 to supported versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 5, 2023
1 parent e8b5e98 commit cae1deb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ jobs:
strategy:
matrix:
include:
- python-version: 3
- python-version: 3.12
env:
TOXENV: black
- python-version: 3
- python-version: 3.12
env:
TOXENV: flake8
- python-version: 3
- python-version: 3.12
env:
TOXENV: pylint
- python-version: 3
- python-version: 3.12
env:
TOXENV: security
- python-version: 3
- python-version: 3.12
env:
TOXENV: typing

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3
python-version: 3.12

- name: Publish to PyPI
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ jobs:
- python-version: "3.11"
env:
TOXENV: py
- python-version: "3.12"
env:
TOXENV: py
- python-version: pypy3.9
env:
TOXENV: pypy
- python-version: pypy3.10
env:
TOXENV: pypy

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ commands =
[testenv:flake8]
basepython = python3
deps =
flake8==3.9.1
flake8==6.1.0
commands =
flake8 {posargs:queuelib setup.py}

[testenv:pylint]
basepython = python3
deps =
{[testenv]deps}
pylint==2.16.0
pylint==3.0.0
commands =
pylint {posargs:queuelib setup.py}

Expand Down

0 comments on commit cae1deb

Please sign in to comment.