Skip to content

Commit

Permalink
Add Python 3.12 and PyPy 3.10 to the supported versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 8, 2023
1 parent 68e8701 commit 1e19d9b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- uses: pre-commit/action@v3.0.0

tests:
Expand All @@ -29,7 +29,10 @@ jobs:
- python-version: 3.9
env:
TOXENV: py
- python-version: pypy-3.8
- python-version: pypy-3.9
env:
TOXENV: py
- python-version: pypy-3.10
env:
TOXENV: py
- python-version: 3.9
Expand All @@ -41,15 +44,18 @@ jobs:
- python-version: '3.11'
env:
TOXENV: py
- python-version: '3.12'
env:
TOXENV: py
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install system libraries
if: contains(matrix.python-version, 'pypy')
run: |
sudo apt-get update
sudo apt-get install libxml2-dev libxslt-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: python3.10
python: python3.12
repos:
- hooks:
- id: black
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,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

0 comments on commit 1e19d9b

Please sign in to comment.