-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Add "optionals not required" build #6047
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
Conversation
deps = | ||
django | ||
-rrequirements/requirements-testing.txt | ||
|
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.
While this looks more sane, my approach allows to use -base
for everything (i.e. the different Django versions).
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.
True, although I'm not sure if it's entirely necessary to have that capability. The basic compat checks are generally going to work, regardless of base Python and Django versions. It should be sufficient just to check once.
In contrast to #6041, testing the optional code was more important, as compatibility between the optional dependencies and the various versions of Python and Django would not be guaranteed.
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.
I still think that #6041 would be universally better (because you can have -base
everywhere), but this is good enough for me!
Thanks for wrapping it up.
You should also rename the PR and commit then: "Test base without optionals explicitly" (or similar) |
I always wish GitHub had an asides comment feature... 🙂 I think running with optionals is the way to go. A lot of our users are using Postgres and/or Django Filter in particular and we find issues this way. |
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.
OK. Yep. Lets have this. Thanks both!
What do you mean? |
Just following along as you and Ryan discuss the issue. I didn’t have a particular comment that was constructive but may have offered an Aside, if such things had a home. 🙂 |
Supersedes #6041 - thanks @blueyed!