Skip to content

Commit

Permalink
Dependencies: Add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Oct 26, 2024
1 parent 7fb7b90 commit c74db15
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
requires-python = '>=3.7'
dependencies = [
Expand Down Expand Up @@ -75,7 +76,7 @@ testpaths = [
legacy_tox_ini = """
[tox]
isolated_build = True
envlist = py37,py38,py39,py310,py311,pypy37,pypy38,pypy39,flake8,docs
envlist = py37,py38,py39,py310,py311,py312,pypy37,pypy38,pypy39,flake8,docs
[testenv]
passenv = PWD
Expand Down
Empty file.
1 change: 1 addition & 0 deletions tests/venv/lib/python3.12/orig-prefix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Library/Frameworks/Python.framework/Versions/3.12
3 changes: 3 additions & 0 deletions tests/venv/lib/python3.12/site-packages/easy-install.pth
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import sys; sys.__plen = len(sys.path)
./pip-7.7-py3.12.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)

0 comments on commit c74db15

Please sign in to comment.