Skip to content

Commit

Permalink
Add Python 3.12 to CI (#246)
Browse files Browse the repository at this point in the history
* Add Python 3.12-dev to CI

* Update 3.12-dev to 3.12

* Bump aiohttp

* Add Py3.12 for tox

* Bump setuptools
  • Loading branch information
bieniu authored Oct 24, 2023
1 parent a870d32 commit fb27da2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- name: Check out repository
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-r requirements.txt
-r requirements-test.txt
pre-commit==3.5.0
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability

-e .
3 changes: 2 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ pytest-cov==4.1.0
pytest-error-for-skips==2.0.2
pytest-timeout==2.2.0
pytest==7.4.2
ruff==0.1.1
ruff==0.1.1
setuptools>=68.2.2 # not directly required, pinned by Snyk to avoid a vulnerability
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
aiohttp>3
aiohttp==3.9.0b0;python_version>='3.12'
aiohttp>=3.7.0;python_version<'3.12'
orjson
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = py39, py310, py311, lint, typing, coverage
envlist = py39, py310, py311, py312, lint, typing, coverage
skip_missing_interpreters = True

[gh-actions]
python =
3.9: py39, lint, typing, coverage
3.10: py310
3.11: py311
3.12: py312

[testenv]
commands =
Expand Down

0 comments on commit fb27da2

Please sign in to comment.