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

Test against Django 4.0 #152

Merged
merged 1 commit into from Jan 6, 2022
Merged

Test against Django 4.0 #152

merged 1 commit into from Jan 6, 2022

Conversation

gasman
Copy link
Contributor

@gasman gasman commented Jan 6, 2022

No description provided.

Copy link
Contributor

@zerolab zerolab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like everything passes, so that's great!

Got two clean up questions:

  1. re django40stable in tox.ini and .github/workflows/test.yml
  2. with Django 3.2 and 4.0 there are a bunch of (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. warnings. May be worth cleaning this up too, since you're in the area :P

@@ -28,6 +28,7 @@ deps =
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj40stable: git+https://github.com/django/django.git@stable/4.0.x#egg=Django
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: should this be cleaned up now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's standard for us to have the current stable branch in our CI runs, to flag up any regressions in an upcoming patch release before they bite us. (Happens very rarely, but has done once or twice!)

@gasman gasman merged commit a5d00f7 into wagtail:main Jan 6, 2022
@gasman
Copy link
Contributor Author

gasman commented Jan 6, 2022

(leaving the default_auto_field warnings for now, as they only affect the test apps - they won't surface on a correctly-configured real world project.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants