Skip to content

Commit

Permalink
drop support for django 2.2, 3.0 and 3.1
Browse files Browse the repository at this point in the history
drop support for py 3.6 & 3.7
  • Loading branch information
Mohamed Ben Makhlouf committed Mar 13, 2024
1 parent ecb147c commit 841eb7b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@
url="https://github.com/jazzband/django-smart-selects",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.6",
install_requires=["django>=2.2"],
python_requires=">=3.8",
install_requires=["django>=3.2"],
classifiers=[
"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",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
],
)
22 changes: 12 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
[tox]
envlist =
py{36,37,38,39}-dj{22,30,31,32}
py{38,39,310}-dj{40,main}
py{38,39,310}-dj{32,40}
py{38,39,310,311}-dj{41}
py{38,39,310,311,312}-dj{42}
py{310,311,312}-dj{50,main}
flake8

[testenv]
usedevelop = True
ignore_outcome =
djmain: True
deps =
dj22: django>=2.2,<3.0
dj30: django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
coverage
commands =
Expand All @@ -30,17 +32,17 @@ commands =

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

[gh-actions:env]
DJANGO =
2.2: dj22
3.0: dj30
3.1: dj31
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42
5.0: dj50
main: djmain

0 comments on commit 841eb7b

Please sign in to comment.