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

requirements/runtime.txt: Django>=2.2,<6.0 #792

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Aug 22, 2024

Fixes #755

We agree to have a full test run before upgrading to each new major version of Django.

Let's work collaboratively to add new versions of Django to our GitHub Actions as they are released to provide our users with safe upgrades.

Fixes #755

We agree to have a full test run before progressing to the next major versions of Django.

* #703 is an example of the kind of crash bugs that can be introduced in Django's major version upgrades.

* #755 describes why we should have confidence in Django minor and micro version upgrades.

Let's work together to add new versions of Django to our GitHub Actions as they are released to provide our users with safe upgrade paths.
@cclauss cclauss added upstream dependencies Pull requests that update a dependency file labels Aug 22, 2024
@cclauss cclauss requested a review from Nusnus August 22, 2024 10:27
@@ -1 +1 @@
Django>=2.2,<5.2
Django>=2.2,<6.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Django>=2.2,<6.0
Django>=2.2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

@ivan-klass ivan-klass Aug 22, 2024

Choose a reason for hiding this comment

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

We do not want another

@cclauss you're referencing a breaking change of major version , but <6.0 allows minor bump, which is usually safe.
I can't imagine django breaking changes in minor version within 5.x branch

Copy link
Contributor

@Mogost Mogost Aug 22, 2024

Choose a reason for hiding this comment

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

@cclauss ^^ This problem could have been fixed by the end user with the use of monkey patching. User had a choice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ivan-klass Please re-read the full commit message.

Choose a reason for hiding this comment

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

@ivan-klass Please re-read the full commit message.

Ahh, right! Sorry, I was lost in the discussion. I was looking forward for 5.2 compatible release, but don't want to block in case 5.3 and 5.4 next time. I'm not that experience for a strict opinion here, I would refer to best practices - i.e. how well-known django-based libraries do.

@Nusnus Nusnus merged commit b2c78b9 into main Aug 23, 2024
24 checks passed
@Nusnus Nusnus deleted the Django-less-than-v6.0 branch August 23, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file upstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Strict Upper Version Limit for Django
4 participants