-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix make upgrade job #43
Conversation
requirements/common_constraints.txt
Outdated
# A central location for most common version constraints | ||
# (across edx repos) for pip-installation. | ||
# | ||
# Similar to other constraint files this file doesn't install any packages. | ||
# It specifies version constraints that will be applied if a package is needed. | ||
# When pinning something here, please provide an explanation of why it is a good | ||
# idea to pin this package across all edx repos, Ideally, link to other information | ||
# that will help people in the future to remove the pin when possible. | ||
# Writing an issue against the offending project and linking to it here is good. | ||
# | ||
# Note: Changes to this file will automatically be used by other repos, referencing | ||
# this file from Github directly. It does not require packaging in edx-lint. | ||
|
||
|
||
# using LTS django version | ||
Django<4.0 | ||
|
||
# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process. | ||
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html | ||
elasticsearch<7.14.0 | ||
|
||
# setuptools==60.0 had breaking changes and busted several service's pipeline. | ||
# Details can be found here: https://github.com/pypa/setuptools/issues/2940 | ||
setuptools<60 | ||
|
||
# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected | ||
django-simple-history==3.0.0 |
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'm checking now the cookie cutter & they do this: https://github.com/openedx/edx-cookiecutters/blob/master/python-template/{{cookiecutter.placeholder_repo_name}}/requirements/constraints.txt#L12
why don't we do that?
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.
We had used this approach in some repos where we needed to override a constraint from global constraints. Updated the logic according to the cookie cutters template now since that situation is not applicable here.
2d10179
to
c38371f
Compare
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.
Thank you again for all the help!
Description