Skip to content

Commit

Permalink
Add Python 3.12 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra committed Oct 26, 2023
1 parent 81419cf commit cbc4115
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
strategy:
matrix:
include:
- name: 'Python 3.12'
os: ubuntu-latest
python: '3.12'
- name: 'Python 3.11'
os: ubuntu-latest
python: '3.11'
Expand All @@ -27,10 +30,10 @@ jobs:
python: '3.9'
- name: 'Mac OS'
os: macos-latest
python: '3.11'
python: '3.12'
- name: 'Windows'
os: windows-latest
python: '3.11'
python: '3.12'

steps:
- name: Check out the source code
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: JavaScript',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
Expand All @@ -44,7 +45,7 @@
'python_requires': '~= 3.9',
'install_requires': [
'aiofiles ~= 23.1, >= 23.1.0',
'aiohttp ~= 3.8, >= 3.8.1',
'aiohttp == 3.9.0b0',
'babel ~= 2.12, >= 2.12.0',
'click ~= 8.1, >= 8.1.2',
'dill ~= 0.3, >= 0.3.6',
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py39, py310, py311
envlist = py39, py310, py311, py312
skip_missing_interpreters = true

[testenv]
Expand All @@ -17,3 +17,6 @@ basepython = python3.10

[testenv:py311]
basepython = python3.11

[testenv:py312]
basepython = python3.12

0 comments on commit cbc4115

Please sign in to comment.