Skip to content

Commit

Permalink
deps: Drop support for unsupported Python and Django
Browse files Browse the repository at this point in the history
Drop support for Python 3.7 and Django 4.0 which are no longer supported upstream.
  • Loading branch information
nijel committed Oct 17, 2023
1 parent 93f5127 commit 4a68b94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down Expand Up @@ -42,11 +41,6 @@ jobs:
- name: Django 3.2.x Test
run: |
tox -e "py${PYTHON_VERSION/\./}-django32"
if: ${{ env.PYTHON_VERSION == '3.7' || env.PYTHON_VERSION == '3.8' || env.PYTHON_VERSION == '3.9' || env.PYTHON_VERSION == '3.10' }}

- name: Django 4.0.x Test
run: |
tox -e "py${PYTHON_VERSION/\./}-django40"
if: ${{ env.PYTHON_VERSION == '3.8' || env.PYTHON_VERSION == '3.9' || env.PYTHON_VERSION == '3.10' }}

- name: Django 4.1.x Test
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ services:
context: .
dockerfile: ./files/tests/Dockerfile
args:
- PYTHON_VERSIONS=3.6.12 3.7.9 3.8.7 3.9.1
- PYTHON_VERSIONS=3.8.7 3.9.1
environment:
- PYTHON_VERSIONS=3.6.12 3.7.9 3.8.7 3.9.1
- PYTHON_VERSIONS=3.8.7 3.9.1
volumes:
- .:/code
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def load_requirements():
],
long_description=long_description(),
long_description_content_type="text/markdown",
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=load_requirements(),
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -50,7 +50,6 @@ def load_requirements():
"Environment :: Web Environment",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
envlist =
py{37,38,39,310}-django32
py{38,39,310}-django40
py{38,39,310}-django32
py{38,39,310,311}-django41
py{38,39,310,311}-django42
py{310,311,312}-django50
Expand All @@ -14,7 +13,6 @@ commands =
coverage run manage.py test
deps =
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.0a1,<5.1
Expand Down

0 comments on commit 4a68b94

Please sign in to comment.