Skip to content

Commit

Permalink
[ADD] support python 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
oerp-odoo committed Jul 10, 2024
1 parent 5efd00c commit 23939c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7, 3.8, 3.9, "3.10"]
python: [3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
15 changes: 10 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
install_requires=[
'marabunta>=0.12.0',
'mergedeep>=1.3.4',
'PyYAML>=6.0',
'PyYAML>=6.0.1',
# marabunta uses distutils, but it was removed in 3.12, so
# we must install setuptools manually, before marabunta fixes
# this themselves.
'setuptools>=70.3.0',
],
tests_require=test_deps,
extras_require=extras,
Expand All @@ -35,14 +39,15 @@
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: ' +
'GNU Affero General Public License v3 or later (AGPLv3+)',
'License :: OSI Approved :: '
+ 'GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'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
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,lint
envlist = py38,py39,py310,311,312,lint

[testenv]
extras = test
Expand Down

0 comments on commit 23939c6

Please sign in to comment.