diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8093e60..92e0e59 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/setup.cfg b/setup.cfg index f0eeaa6..1a18236 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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] diff --git a/tox.ini b/tox.ini index c1bf903..95c8085 100644 --- a/tox.ini +++ b/tox.ini @@ -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