Skip to content

Commit

Permalink
Add python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jairhenrique committed Oct 5, 2023
1 parent 7d4da4c commit 77b938c
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11","3.12"]

steps:
- uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def extract_requires():
packages=["djangorestframework_camel_case"],
package_dir={"djangorestframework_camel_case": "djangorestframework_camel_case"},
include_package_data=True,
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=extract_requires(),
license="BSD",
zip_safe=False,
Expand All @@ -46,12 +46,12 @@ def extract_requires():
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"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",
],
test_suite="tests",
)
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist = py36, py37, py38, py39, py310, py311
envlist = py37, py38, py39, py310, py311, py312

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
setenv =
Expand Down

0 comments on commit 77b938c

Please sign in to comment.