Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 0bc7c5a

Browse files
fix: Install pip and pip-tools in upgrade script (#937)
Co-authored-by: Jawayria <39649635+Jawayria@users.noreply.github.com>
1 parent 9944ebd commit 0bc7c5a

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ requirements: ## install development environment requirements
135135
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
136136
upgrade: ## Upgrade requirements with pip-tools.
137137
pip install -qr requirements/pip-tools.txt
138+
pip-compile --allow-unsafe --rebuild --upgrade -o requirements/pip.txt requirements/pip.in
138139
pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in
140+
pip install -qr requirements/pip.txt
141+
pip install -qr requirements/pip-tools.txt
139142
pip-compile --upgrade -o requirements/base.txt requirements/base.in
140143
pip-compile --upgrade -o requirements/doc.txt requirements/doc.in
141144
pip-compile --upgrade -o requirements/test.txt requirements/test.in

requirements/pip.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-c constraints.txt
2+
# Core dependencies for installing other packages
3+
4+
pip
5+
setuptools
6+
wheel
7+

requirements/pip.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#
2+
# This file is autogenerated by pip-compile with python 3.8
3+
# To update, run:
4+
#
5+
# make upgrade
6+
#
7+
wheel==0.37.1
8+
# via -r requirements/pip.in
9+
10+
# The following packages are considered to be unsafe in a requirements file:
11+
pip==22.1.2
12+
# via -r requirements/pip.in
13+
setuptools==59.8.0
14+
# via
15+
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
16+
# -r requirements/pip.in

0 commit comments

Comments
 (0)