-
Notifications
You must be signed in to change notification settings - Fork 128
Support new versions Django 5.2 and python 3.13 #299
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,11 +1,12 @@ | ||||||||||||||||||||||||||||||
[tox] | ||||||||||||||||||||||||||||||
envlist = | ||||||||||||||||||||||||||||||
py{310,311,312}-django51-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{310,311,312}-django50-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310,311,312}-django42-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310,311}-django41-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310}-django40-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310}-django32-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{310,311,312, 313}-django52-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{310,311,312, 313}-django51-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{310,311,312, 313}-django50-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310,311,312, 313}-django42-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310,311, 313}-django41-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310, 313}-django40-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
py{38,39,310, 313}-django32-{sqlite,mysql,postgresql} | ||||||||||||||||||||||||||||||
Comment on lines
+3
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix unsupported Python/Django combos that will break CI.
Apply: - py{310,311,312, 313}-django52-{sqlite,mysql,postgresql}
- py{310,311,312, 313}-django51-{sqlite,mysql,postgresql}
- py{310,311,312, 313}-django50-{sqlite,mysql,postgresql}
- py{38,39,310,311,312, 313}-django42-{sqlite,mysql,postgresql}
- py{38,39,310,311, 313}-django41-{sqlite,mysql,postgresql}
- py{38,39,310, 313}-django40-{sqlite,mysql,postgresql}
- py{38,39,310, 313}-django32-{sqlite,mysql,postgresql}
+ py{310,311,312,313}-django52-{sqlite,mysql,postgresql}
+ py{310,311,312,313}-django51-{sqlite,mysql,postgresql}
+ py{310,311,312}-django50-{sqlite,mysql,postgresql}
+ py{38,39,310,311,312}-django42-{sqlite,mysql,postgresql}
+ py{38,39,310,311}-django41-{sqlite,mysql,postgresql}
+ py{38,39,310}-django40-{sqlite,mysql,postgresql}
+ py{38,39,310}-django32-{sqlite,mysql,postgresql} 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||
checkqa | ||||||||||||||||||||||||||||||
pylint | ||||||||||||||||||||||||||||||
docs | ||||||||||||||||||||||||||||||
|
@@ -19,7 +20,7 @@ python = | |||||||||||||||||||||||||||||
3.10: py310 | ||||||||||||||||||||||||||||||
3.11: py311 | ||||||||||||||||||||||||||||||
3.12: py312 | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
3.13: py313 | ||||||||||||||||||||||||||||||
[base] | ||||||||||||||||||||||||||||||
deps = | ||||||||||||||||||||||||||||||
# recommended django version and other dependencies | ||||||||||||||||||||||||||||||
|
@@ -67,6 +68,7 @@ deps = | |||||||||||||||||||||||||||||
django42: Django>=4.2,<5.0 | ||||||||||||||||||||||||||||||
django50: Django>=5.0,<5.1 | ||||||||||||||||||||||||||||||
django51: Django>=5.1,<5.2 | ||||||||||||||||||||||||||||||
django52: Django>=5.2,<5.3 | ||||||||||||||||||||||||||||||
postgresql: psycopg2-binary==2.9.9 | ||||||||||||||||||||||||||||||
mysql: mysqlclient | ||||||||||||||||||||||||||||||
setenv = | ||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Avoid floating DB image tags; pin Postgres to a major (or digest).
postgres:alpine
is mutable and risks flaky CI. Pin to a stable major likepostgres:16-alpine
(or the project’s required version).📝 Committable suggestion
🤖 Prompt for AI Agents