Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Django 5.1 and Python 3.13, drop Django 3.2 and Python 3.8 #196

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ jobs:
strategy:
matrix:
include:
- python: "3.8"
django: "Django>=3.2,<4.0"
taggit: "django-taggit>=2.1.0"
database: "postgresql"
psycopg: "psycopg2>=2.9.2"
experimental: false
- python: "3.11"
- python: "3.9"
django: "Django>=4.2,<4.3"
taggit: "django-taggit>=2.1.0"
database: "postgresql"
Expand All @@ -30,8 +24,14 @@ jobs:
database: "sqlite3"
psycopg: "psycopg2>=2.9.2"
experimental: false
- python: "3.13"
django: "Django>=5.1,<5.2"
taggit: "django-taggit>=2.1.0"
database: "sqlite3"
psycopg: "psycopg2>=2.9.2"
experimental: false
- python: "3.10"
django: "git+https://github.com/django/django.git@stable/5.0.x#egg=Django"
django: "git+https://github.com/django/django.git@stable/5.1.x#egg=Django"
taggit: "django-taggit>=2.1.0"
database: "sqlite3"
psycopg: "psycopg2>=2.9.2"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Changelog
~~~~~~~~~~~~~~~~
* Add `UniqueConstraint` support for uniqueness validation (Sage Abdullah)
* Remove `pytz` dependency (Sage Abdullah)
* Added Django 5.1 and Python 3.13 support
* Removed Django 3.2 and Python 3.8 support

6.3 (26.02.2024)
~~~~~~~~~~~~~~~~
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
packages=find_packages(exclude=('tests*',)),
license='BSD',
long_description=open('README.rst').read(),
python_requires=">=3.8",
python_requires=">=3.9",
install_requires=[
"django>=3.2",
"django>=4.2",
],
extras_require={
'taggit': ['django-taggit>=3.1'],
Expand All @@ -30,11 +30,11 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3 :: Only',
'Framework :: Django',
],
Expand Down
12 changes: 5 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
[tox]
envlist =
py{38,39}-dj{32,42}-{sqlite,postgres}-taggit2
py{310}-dj{32,42,50,50stable,master}-{sqlite,postgres}-taggit2
py{311}-dj{42,50,50stable,master}-{sqlite,postgres}-taggit2
py{312}-dj{42,50,50stable,master}-{sqlite,postgres}-taggit2
py{39}-dj{42}-{sqlite,postgres}-taggit2
py{310,311,312,313}-dj{42,50,51,51stable,master}-{sqlite,postgres}-taggit2

[testenv]
allowlist_externals = ./runtests.py
commands = ./runtests.py --noinput {posargs}

basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.12

deps =
taggit2: django-taggit>=2.0
dj32: Django>=3.2,<3.3
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
dj50stable: git+https://github.com/django/django.git@stable/5.0.x#egg=Django
dj51: Django>=5.1,<5.2
dj51stable: git+https://github.com/django/django.git@stable/5.1.x#egg=Django
djmaster: git+https://github.com/django/django.git@main#egg=Django
postgres: psycopg2>=2.9

Expand Down
Loading