Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: Install pip and pip-tools in upgrade script (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot authored Jun 14, 2022
1 parent 502453c commit fb0105e
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 28 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ upgrade: piptools $(COMMON_CONSTRAINTS_TXT) ## re-compile requirements .txt fi
mv requirements/common_constraints.tmp requirements/common_constraints.txt
sed 's/Django<2.3//g' requirements/common_constraints.txt > requirements/common_constraints.tmp
mv requirements/common_constraints.tmp requirements/common_constraints.txt
pip-compile --allow-unsafe --rebuild --upgrade -o requirements/pip.txt requirements/pip.in
pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in
pip install -qr requirements/pip.txt
pip install -qr requirements/pip-tools.txt
pip-compile --upgrade -o requirements/github.txt requirements/github.in
pip-compile --upgrade -o requirements/optional.txt requirements/optional.in
pip-compile --upgrade -o requirements/base.txt requirements/base.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ social-auth-app-django==5.0.0
# via
# -r requirements/base.in
# edx-auth-backends
social-auth-core==4.2.0
social-auth-core==4.3.0
# via
# edx-auth-backends
# social-auth-app-django
Expand Down
12 changes: 6 additions & 6 deletions requirements/devstack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ asgiref==3.5.2
# via
# -r requirements/local.txt
# django
astroid==2.11.5
astroid==2.11.6
# via
# -r requirements/local.txt
# pylint
Expand All @@ -31,7 +31,7 @@ attrs==21.4.0
# via
# -r requirements/local.txt
# pytest
babel==2.10.1
babel==2.10.2
# via
# -r requirements/local.txt
# sphinx
Expand All @@ -43,12 +43,12 @@ billiard==3.6.4.0
# via
# -r requirements/local.txt
# celery
boto3==1.24.6
boto3==1.24.8
# via
# -c requirements/constraints.txt
# -r requirements/local.txt
# moto
botocore==1.27.6
botocore==1.27.8
# via
# -r requirements/local.txt
# boto3
Expand Down Expand Up @@ -311,7 +311,7 @@ monotonic==1.6
# via
# -r requirements/local.txt
# analytics-python
moto==3.1.12
moto==3.1.13
# via -r requirements/local.txt
mysqlclient==2.1.0
# via -r requirements/nonlocal.txt
Expand Down Expand Up @@ -557,7 +557,7 @@ social-auth-app-django==5.0.0
# via
# -r requirements/local.txt
# edx-auth-backends
social-auth-core==4.2.0
social-auth-core==4.3.0
# via
# -r requirements/local.txt
# edx-auth-backends
Expand Down
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
alabaster==0.7.12
# via sphinx
babel==2.10.1
babel==2.10.2
# via sphinx
certifi==2022.5.18.1
# via requests
Expand Down
12 changes: 6 additions & 6 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ asgiref==3.5.2
# via
# -r requirements/test.txt
# django
astroid==2.11.5
astroid==2.11.6
# via
# -r requirements/test.txt
# pylint
Expand All @@ -31,7 +31,7 @@ attrs==21.4.0
# via
# -r requirements/test.txt
# pytest
babel==2.10.1
babel==2.10.2
# via
# -r requirements/docs.txt
# sphinx
Expand All @@ -43,12 +43,12 @@ billiard==3.6.4.0
# via
# -r requirements/test.txt
# celery
boto3==1.24.6
boto3==1.24.8
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# moto
botocore==1.27.6
botocore==1.27.8
# via
# -r requirements/test.txt
# boto3
Expand Down Expand Up @@ -314,7 +314,7 @@ monotonic==1.6
# via
# -r requirements/test.txt
# analytics-python
moto==3.1.12
moto==3.1.13
# via -r requirements/test.txt
newrelic==5.24.0.153
# via
Expand Down Expand Up @@ -551,7 +551,7 @@ social-auth-app-django==5.0.0
# via
# -r requirements/test.txt
# edx-auth-backends
social-auth-core==4.2.0
social-auth-core==4.3.0
# via
# -r requirements/test.txt
# edx-auth-backends
Expand Down
12 changes: 6 additions & 6 deletions requirements/monitoring/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ asgiref==3.5.2
# -r requirements/monitoring/../production.txt
# -r requirements/monitoring/../test.txt
# django
astroid==2.11.5
astroid==2.11.6
# via
# -r requirements/monitoring/../devstack.txt
# -r requirements/monitoring/../local.txt
Expand All @@ -49,7 +49,7 @@ attrs==21.4.0
# -r requirements/monitoring/../local.txt
# -r requirements/monitoring/../test.txt
# pytest
babel==2.10.1
babel==2.10.2
# via
# -r requirements/monitoring/../devstack.txt
# -r requirements/monitoring/../local.txt
Expand All @@ -68,14 +68,14 @@ billiard==3.6.4.0
# -r requirements/monitoring/../production.txt
# -r requirements/monitoring/../test.txt
# celery
boto3==1.24.6
boto3==1.24.8
# via
# -r requirements/monitoring/../devstack.txt
# -r requirements/monitoring/../local.txt
# -r requirements/monitoring/../production.txt
# -r requirements/monitoring/../test.txt
# moto
botocore==1.27.6
botocore==1.27.8
# via
# -r requirements/monitoring/../devstack.txt
# -r requirements/monitoring/../local.txt
Expand Down Expand Up @@ -520,7 +520,7 @@ monotonic==1.6
# -r requirements/monitoring/../production.txt
# -r requirements/monitoring/../test.txt
# analytics-python
moto==3.1.12
moto==3.1.13
# via
# -r requirements/monitoring/../devstack.txt
# -r requirements/monitoring/../local.txt
Expand Down Expand Up @@ -890,7 +890,7 @@ social-auth-app-django==5.0.0
# -r requirements/monitoring/../production.txt
# -r requirements/monitoring/../test.txt
# edx-auth-backends
social-auth-core==4.2.0
social-auth-core==4.3.0
# via
# -r requirements/monitoring/../devstack.txt
# -r requirements/monitoring/../local.txt
Expand Down
7 changes: 7 additions & 0 deletions requirements/pip.in
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

16 changes: 16 additions & 0 deletions requirements/pip.txt
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
6 changes: 3 additions & 3 deletions requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ billiard==3.6.4.0
# via
# -r requirements/base.txt
# celery
boto3==1.24.6
boto3==1.24.8
# via
# -c requirements/constraints.txt
# -r requirements/production.in
botocore==1.27.6
botocore==1.27.8
# via
# boto3
# s3transfer
Expand Down Expand Up @@ -340,7 +340,7 @@ social-auth-app-django==5.0.0
# via
# -r requirements/base.txt
# edx-auth-backends
social-auth-core==4.2.0
social-auth-core==4.3.0
# via
# -r requirements/base.txt
# edx-auth-backends
Expand Down
10 changes: 5 additions & 5 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ asgiref==3.5.2
# via
# -r requirements/base.txt
# django
astroid==2.11.5
astroid==2.11.6
# via
# pylint
# pylint-celery
Expand All @@ -32,11 +32,11 @@ billiard==3.6.4.0
# via
# -r requirements/base.txt
# celery
boto3==1.24.6
boto3==1.24.8
# via
# -c requirements/constraints.txt
# moto
botocore==1.27.6
botocore==1.27.8
# via
# boto3
# moto
Expand Down Expand Up @@ -258,7 +258,7 @@ monotonic==1.6
# via
# -r requirements/base.txt
# analytics-python
moto==3.1.12
moto==3.1.13
# via -r requirements/test.in
newrelic==5.24.0.153
# via
Expand Down Expand Up @@ -446,7 +446,7 @@ social-auth-app-django==5.0.0
# via
# -r requirements/base.txt
# edx-auth-backends
social-auth-core==4.2.0
social-auth-core==4.3.0
# via
# -r requirements/base.txt
# edx-auth-backends
Expand Down

0 comments on commit fb0105e

Please sign in to comment.