This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Install pip and pip-tools in upgrade script (#6770)
* fix: Install pip and pip-tools in upgrade script * fix: upgrade Co-authored-by: Jawayria <[email protected]>
- Loading branch information
1 parent
ffd68cd
commit 9d7482c
Showing
13 changed files
with
90 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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 | ||
|
||
# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected | ||
django-simple-history==3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
-c common_constraints.txt | ||
|
||
bcrypt<3.2.0 # 3.2.0 dropped support for python 2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Just the dependencies to run pip-tools, mainly for the "upgrade" make target | ||
-c constraints.txt | ||
|
||
pip-tools # Contains pip-compile, used to generate pip requirements files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-c constraints.txt | ||
# Core dependencies for installing other packages | ||
|
||
pip | ||
setuptools | ||
wheel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.8 | ||
# To update, run: | ||
# | ||
# make upgrade | ||
# | ||
wheel==0.37.1 | ||
# via -r requirements/pip.in | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
pip==22.1.2 | ||
# via -r requirements/pip.in | ||
setuptools==59.8.0 | ||
# via | ||
# -c requirements/common_constraints.txt | ||
# -r requirements/pip.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters