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 0d0fe25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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.7, 3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 7 additions & 3 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,8 +39,8 @@
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',
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 = py37,py38,py39,py310,311,312,lint

[testenv]
extras = test
Expand Down

0 comments on commit 0d0fe25

Please sign in to comment.