-
Notifications
You must be signed in to change notification settings - Fork 429
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
Remove Strict Upper Version Limit for Django #755
Comments
is django 5.1 released yet? or any alpha yet? |
yep. https://pypi.org/project/Django/5.1a1/ alpha |
thanks, that is enough! |
the upper limit is relaxed already https://github.com/celery/django-celery-beat/blob/main/requirements/test-django.txt |
No. it is not. https://github.com/celery/django-celery-beat/blob/816d6ab878b3826462e47a00a28c148783e74a8e/requirements/runtime.txt And relaxing is not enough. This upper version restriction should be removed at all. |
we can do that in future, but in the mean time #756 |
This https://github.com/celery/django-celery-beat/blob/a9a6465f8ae0ea8753cd10bd96913b34259232fe/requirements/test-django.txt and this This upper limit has no real benefit. Can we remove it now? |
This is a repeat of the discussion at #680 (comment) and I would use the same arguments that I used there to resist this change. |
Nonsense. It allows us to test software before users put it into production. |
@cclauss @auvipy Might this article change your opinion https://iscinumpy.dev/post/bound-version-constraints/? |
Please help with #761 where testing on a beta version of Django downgrades both |
@cclauss I just answered you in the PR. But please reopen this ticket. Problem of this ticket is not resolved |
how about restricting by major release version ( |
Oh, I misread. I would agree to restricting by major release version (<6.0). |
I just want to refer one more time to @henryiii's blog post. Usually, I rely on @adamchainz blog for best practices in Django world but this time I have not found a good guide (just mentioned Adam, probably this might be a new post for the Django world). @cclauss In the situation you mentioned there were nothing except
Here and previously there is no actual problem with compatibility. There is only one restriction from the A lot of the commentators in #680 @ddahan @deronnax @nlsfnr have been basically ignored. I honestly don't see any potential compatibility issues for I'm not sure if I can reach your heart, but this restriction really upsets me. |
Hey there - I don’t want to intervene so much in the discussion but this part touched me. Please, don’t let your professional discussion with @cclauss upset you. He is a professional, and I am 100% sure he is not looking into any sort of “fighting”. Please, don’t take it to heart. We care to hear what you want to say, but let's be calm and professional. |
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.
@Nusnus I don't see the discussion (it looks more like I want restriction - I will keep it). In previous discussions a large number of professionals have spoken out and as it seems to me were not heard. And I'm still trying to make the point, as a professional, that this restriction is unnecessary. The argument we had a problem in the past so we keep the restriction is not valid, because what is described as a problem was not a problem at all. This time you have re-noticed a problem that didn't exist. I think in this comment (#761 (comment)) I have clearly shown that the problem does not exist. It is the check itself that is invalid. And understand, I appreciate the product and your contribution to it, but in this case I as a user suffer more from this restriction. Especially when this restriction is meaningless and there is no real compatibility problem. I as a developer can limit the version of anything in my project if I see problems, but I can't influence pip and ignore the limitation imposed by the library (actually you can make a fork, but that's not really the right approach).
I was asked to help, I came and helped. And I see that you yourself are suffering from your own restriction.
It doesn't remove the problem. It just makes it more rare. (not every release, but every major release) Also django does not respect typical semver. https://docs.djangoproject.com/en/dev/internals/release-process/#release-cadence |
Nice! A pull request to add this to |
what about the restriction? Would you remove it after that? |
Can we prove that this repo has extremely high test coverage? |
Whatever coverage you have, even if it's 100 percent, it will never be 100 percent in reality. There's always a chance that something will go wrong. So I think testing with djang-main + failing tests on warnings (-Werror) would be enough. |
I’ve fixed the code coverage configurations for this project in #793 so we can know for sure now. |
@Nusnus this issue was not resolved |
Hi Maintainers,
I am writing to request the removal of the strict upper version limit on Django in the
django-celery-beat
library, with the added bonus of ensuring compatibility with Django 5.1.Background:
Currently, the library enforces a strict upper limit on the supported versions of Django. This has previously caused issues for users wanting to upgrade to newer Django versions, as noted in the following issues:
Arguments for Removing the Upper Version Limit:
Increased Flexibility: Removing the upper version limit will provide users with the flexibility to upgrade to newer versions of Django as soon as they are released, without waiting for an official update from
django-celery-beat
.Accelerated Compatibility Testing: By allowing the installation of the library with newer Django versions, the community can quickly test and report any issues, facilitating faster updates and fixes from the maintainers.
Clear Compatibility Declaration: While removing the upper limit doesn't implicitly declare support for all future Django versions, it allows developers to experiment and provide feedback, thereby contributing to a more robust testing process.
Community Feedback: There has been consistent feedback from the community about the inconveniences caused by the strict version constraints. Addressing this would significantly improve the developer experience for a wide range of users.
Proposal:
setup.py
andtox.ini
files.Thank you for considering this request. Your efforts in maintaining this essential library are greatly appreciated by the community.
The text was updated successfully, but these errors were encountered: