Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python support added for 3.9, 3.10, 3.11, 3.12 #348

Merged
merged 14 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ env
build
dist
.DS_Store

venv
tests_app/tests/files
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ python:
- 3.6
- 3.7
- 3.8


install:
- pip install tox tox-travis
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Full documentation for project is available at [http://chibisov.github.io/drf-ex

## Requirements

* Tested for Python 3.6, 3.7 and 3.8
* Tested for Django Rest Framework 3.12
* Tested for Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12
* Tested for Django Rest Framework 3.12, 3.13, and 3.14
* Tested for Django 2.2 to 3.2
* Tested for django-filter 2.1.0

Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def get_package_data(package):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP',
]
)
2 changes: 1 addition & 1 deletion tests_app/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nose
pynose
django-nose
django-filter>=2.1.0
mock
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist = py{38,39}-django{22}-drf{311,312}
py{38,39}-django{32}-drf{312,313,314}
py{38,39,310,311,312}-django{32}-drf{312,313,314}


[testenv]
Expand All @@ -17,6 +17,8 @@ deps=
djangorestframework-guardian
django22: Django>=2.2,<3.0
django32: Django>=3.2,<4.0


setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests_app
commands =
Expand Down
Loading