Skip to content

Commit

Permalink
Django 4.2 tox update (#1189)
Browse files Browse the repository at this point in the history
* Update tox.ini for Django 4.2

* Fix 4.2 deps

* Update ci.yml matrix for 4.2

* Update classifiers

---------

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
  • Loading branch information
jvacek and diox committed May 13, 2023
1 parent dfbe2be commit 8209028
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ jobs:
- python: "3.11"
toxenv: py311-4.1.X

- python: 3.8
toxenv: py38-4.2.X
- python: 3.9
toxenv: py39-4.2.X
- python: "3.10"
toxenv: py310-4.2.X
- python: "3.11"
toxenv: py311-4.2.X

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def find_package_data(
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist =
{py38,py39,py310}-3.2.X
{py38,py39,py310}-4.0.X
{py38,py39,py310,py311}-4.1.X
{py38,py39,py310,py311}-4.2.X
[testenv]
basepython =
py38: python3.8
Expand All @@ -20,4 +21,5 @@ deps =
3.2.X: Django>=3.2,<4.0
4.0.X: Django>=4.0,<4.1
4.1.X: Django>=4.1,<4.2
4.2.X: Django>=4.2,<5.0
-r{toxinidir}/requirements/tests.txt

0 comments on commit 8209028

Please sign in to comment.