Skip to content

Commit

Permalink
Add Python 3.12 and PyPy 3.10 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 5, 2023
1 parent 7989199 commit bfa2c6b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.11"
- python-version: "3.12"
env:
TOXENV: security
- python-version: "3.11"
- python-version: "3.12"
env:
TOXENV: flake8
- python-version: "3.11"
- python-version: "3.12"
env:
TOXENV: pylint
- python-version: "3.11" # Keep in sync with .readthedocs.yml
env:
TOXENV: docs
- python-version: "3.11"
- python-version: "3.12"
env:
TOXENV: typing
- python-version: "3.11"
- python-version: "3.12"
env:
TOXENV: black
- python-version: "3.11"
- python-version: "3.12"
env:
TOXENV: twinecheck

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ jobs:
- python-version: "3.11"
env:
TOXENV: py
- python-version: pypy3.9
- python-version: "3.12"
env:
TOXENV: py
- python-version: pypy3.10
env:
TOXENV: pypy3

steps:
- uses: actions/checkout@v4

- name: Install system libraries
if: contains(matrix.python-version, 'pypy3.9')
if: contains(matrix.python-version, 'pypy')
run: |
sudo apt-get update
sudo apt-get install libxml2-dev libxslt-dev
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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
@@ -1,5 +1,5 @@
[tox]
envlist = security,flake8,typing,pylint,black,docs,twinecheck,py37,py38,py39,py310,pypy3.9
envlist = security,flake8,typing,pylint,black,docs,twinecheck,py38,py39,py310,py311,py312,pypy3.9,pypy3.10

[testenv]
usedevelop = True
Expand Down Expand Up @@ -35,7 +35,7 @@ commands =
[testenv:pylint]
deps =
{[testenv]deps}
pylint==2.15.4
pylint==3.0.0
commands =
pylint docs parsel tests setup.py

Expand Down

0 comments on commit bfa2c6b

Please sign in to comment.