Skip to content

Commit

Permalink
Merge pull request #3 from saadmk11/support-dj-py
Browse files Browse the repository at this point in the history
Update Python and Django Supported Versions
  • Loading branch information
saadmk11 authored Sep 7, 2024
2 parents a80f1b2 + 52b4627 commit 765d06e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ jobs:
fail-fast: false

matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
django-version: ["3.2", "4.0", "4.1"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
django-version: ["4.2", "5.0", "5.1"]

exclude:
- python-version: "3.7"
django-version: "4.0"

- python-version: "3.7"
django-version: "4.1"

- python-version: "3.11"
django-version: "3.2"
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"

- python-version: "3.8"
django-version: "5.1"
- python-version: "3.9"
django-version: "5.1"

steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ classifiers =
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
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

[options]
packages = drf_test_generator
include_package_data = True
python_requires = >=3.7
python_requires = >=3.8
install_requires =
django>=3.2
django>=4.2
djangorestframework>=3.12

[options.packages.find]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
isolated_build = True
envlist = py{37,38,39,310}-django32,py{38,39,310}-django40,py{38,39,310,311}-django41
envlist = py{38,39}-django42,py{310,311,312}-django{42,50,51}

[testenv]
commands =
python -m pytest {posargs:tests}
deps =
-r {toxinidir}/requirements_test.txt
django32: Django >=3.2, <3.3
django40: Django >=4.0, <4.1
django41: Django >=4.1, <4.2
django42: Django >=4.2, <4.3
django50: Django >=5.0, <5.1
django51: Django >=5.1, <5.2
setenv =
PYTHONDEVMODE=1

0 comments on commit 765d06e

Please sign in to comment.