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

Unpin the Django dependency #726

Merged
merged 4 commits into from
Mar 15, 2024
Merged

Unpin the Django dependency #726

merged 4 commits into from
Mar 15, 2024

Conversation

feanil
Copy link
Contributor

@feanil feanil commented Mar 14, 2024

We were explictly pinning django in django.in which is not necessary and makes it so your dev environment runs with and old version of django. The correct pin already exists in the common-constraints.txt file in edx-lint so we don't need to have an explicit pin here. And for testing, the version is controlled via tox so it doesn't use this. It does effect dev and doc environments though so we should keep it up to date and make it harder to pin it in correctly.

feanil added 4 commits March 14, 2024 15:01
It gets pinned in the common constraints file that gets pulled in and we
shouldn't pin it any further here.  This isn't used for unit testing but
is used for things like the docs builds so it should stay up-to-date but
is not critical to the functionality of the repo.
For somereason whene pip-compile is compiling requiremnets it's not
pulling this environment marker from the upstream dependency so we need
to add this depedency of django explicitly for now so that we can
restrict it to python<3.9 and have that show up in our requirements
files.
@feanil feanil force-pushed the feanil/fix_django_dep branch from 9dfe6c7 to e3e059f Compare March 14, 2024 19:14
@feanil feanil requested a review from a team March 14, 2024 19:15
@feanil feanil merged commit 9fa6b54 into master Mar 15, 2024
10 checks passed
@feanil feanil deleted the feanil/fix_django_dep branch March 15, 2024 17:44
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.

2 participants