Skip to content

Commit

Permalink
Drop support for Django 3.2
Browse files Browse the repository at this point in the history
Reached end-of-life.
  • Loading branch information
francoisfreitag committed Jul 18, 2024
1 parent eb71ef4 commit e2c044f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- '3.11'
- '3.12'
tox-environment:
- dj32
- dj42
- dj50
include:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ license = { text="MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
Expand All @@ -33,7 +32,7 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP",
]
dynamic = ["version"]
dependencies = ["Django>=3.2"]
dependencies = ["Django>=4.2"]

[project.optional-dependencies]
phonenumbers = ["phonenumbers >= 7.0.2"]
Expand Down
7 changes: 0 additions & 7 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,6 @@ def test_values_with_null(self):


class PhoneNumberFieldAppTest(TestCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
# Drop alias with support for Django 3.2.
if django.VERSION < (4, 2):
cls.assertQuerySetEqual = cls.assertQuerysetEqual

def test_save_field_to_database(self):
"""Basic Field Test"""
tm = models.TestModel()
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ envlist =
black
flake8
isort
dj32
dj42
dj50
djmain
Expand All @@ -15,7 +14,6 @@ minversion = 1.9
deps =
babel
coverage
dj32: Django>=3.2,<4.0
dj42: Django>=4.2,<4.3
dj50: Django>=5.0b1,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
Expand Down

0 comments on commit e2c044f

Please sign in to comment.