Skip to content

Commit

Permalink
fix: Installed pip and pip-tools in upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawayria committed Jun 14, 2022
1 parent 808f354 commit 7520498
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 79 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@ upgrade-pip-tools: pip-tools
pip-compile --upgrade requirements/pip-tools.in

upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: upgrade-pip-tools ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
# Make sure to compile files after any other files they include!
make pip-tools # Reinstall pip-tools in case it was upgraded.
pip install -qr requirements/pip-tools.txt
pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in
pip-compile --upgrade --allow-unsafe --rebuild -o requirements/pip.txt requirements/pip.in
pip install -qr requirements/pip-tools.txt
pip install -qr requirements/pip.txt
pip-compile --upgrade requirements/base.in
pip-compile --upgrade requirements/test.in
pip-compile --upgrade requirements/doc.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pytz==2022.1
# via
# django
# djangorestframework
requests==2.27.1
requests==2.28.0
# via coreapi
ruamel-yaml==0.17.21
# via drf-yasg
Expand Down
6 changes: 3 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ charset-normalizer==2.0.12
# via requests
codecov==2.1.12
# via -r requirements/ci.in
coverage==6.4
coverage==6.4.1
# via codecov
distlib==0.3.4
# via virtualenv
filelock==3.7.0
filelock==3.7.1
# via
# tox
# virtualenv
Expand All @@ -30,7 +30,7 @@ py==1.11.0
# via tox
pyparsing==3.0.9
# via packaging
requests==2.27.1
requests==2.28.0
# via codecov
six==1.16.0
# via
Expand Down
43 changes: 13 additions & 30 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ asgiref==3.5.2
# via
# -r requirements/quality.txt
# django
astroid==2.11.5
astroid==2.11.6
# via
# -r requirements/quality.txt
# pylint
Expand All @@ -26,10 +26,6 @@ certifi==2022.5.18.1
# -r requirements/ci.txt
# -r requirements/quality.txt
# requests
cffi==1.15.0
# via
# -r requirements/quality.txt
# cryptography
chardet==4.0.0
# via diff-cover
charset-normalizer==2.0.12
Expand Down Expand Up @@ -68,16 +64,12 @@ coreschema==0.0.4
# -r requirements/quality.txt
# coreapi
# drf-yasg
coverage[toml]==6.4
coverage[toml]==6.4.1
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
# codecov
# pytest-cov
cryptography==37.0.2
# via
# -r requirements/quality.txt
# secretstorage
diff-cover==6.5.0
# via -r requirements/dev.in
dill==0.3.5.1
Expand Down Expand Up @@ -107,9 +99,9 @@ drf-yasg==1.20.0
# via -r requirements/quality.txt
edx-i18n-tools==0.9.1
# via -r requirements/dev.in
edx-lint==5.2.2
edx-lint==5.2.4
# via -r requirements/quality.txt
filelock==3.7.0
filelock==3.7.1
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -140,18 +132,13 @@ itypes==1.2.0
# via
# -r requirements/quality.txt
# coreapi
jeepney==0.8.0
# via
# -r requirements/quality.txt
# keyring
# secretstorage
jinja2==3.1.2
# via
# -r requirements/quality.txt
# code-annotations
# coreschema
# diff-cover
keyring==23.5.1
keyring==23.6.0
# via
# -r requirements/quality.txt
# twine
Expand Down Expand Up @@ -186,7 +173,7 @@ pep517==0.12.0
# pip-tools
pip-tools==6.6.2
# via -r requirements/pip-tools.txt
pkginfo==1.8.2
pkginfo==1.8.3
# via
# -r requirements/quality.txt
# twine
Expand All @@ -213,10 +200,6 @@ py==1.11.0
# tox
pycodestyle==2.8.0
# via -r requirements/quality.txt
pycparser==2.21
# via
# -r requirements/quality.txt
# cffi
pydocstyle==6.1.1
# via -r requirements/quality.txt
pygments==2.12.0
Expand All @@ -225,7 +208,7 @@ pygments==2.12.0
# diff-cover
# readme-renderer
# rich
pylint==2.13.9
pylint==2.14.1
# via
# -r requirements/quality.txt
# edx-lint
Expand Down Expand Up @@ -277,7 +260,7 @@ readme-renderer==35.0
# via
# -r requirements/quality.txt
# twine
requests==2.27.1
requests==2.28.0
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
Expand Down Expand Up @@ -305,10 +288,6 @@ ruamel-yaml-clib==0.2.6
# via
# -r requirements/quality.txt
# ruamel-yaml
secretstorage==3.3.2
# via
# -r requirements/quality.txt
# keyring
six==1.16.0
# via
# -r requirements/ci.txt
Expand Down Expand Up @@ -345,13 +324,17 @@ tomli==2.0.1
# pep517
# pylint
# pytest
tomlkit==0.11.0
# via
# -r requirements/quality.txt
# pylint
tox==3.25.0
# via
# -r requirements/ci.txt
# tox-battery
tox-battery==0.6.1
# via -r requirements/dev.in
twine==4.0.0
twine==4.0.1
# via -r requirements/quality.txt
typing-extensions==4.2.0
# via
Expand Down
28 changes: 8 additions & 20 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ attrs==21.4.0
# via
# -r requirements/test.txt
# pytest
babel==2.10.1
babel==2.10.2
# via sphinx
bleach==5.0.0
# via readme-renderer
certifi==2022.5.18.1
# via
# -r requirements/test.txt
# requests
cffi==1.15.0
# via cryptography
charset-normalizer==2.0.12
# via
# -r requirements/test.txt
Expand All @@ -39,12 +37,10 @@ coreschema==0.0.4
# -r requirements/test.txt
# coreapi
# drf-yasg
coverage[toml]==6.4
coverage[toml]==6.4.1
# via
# -r requirements/test.txt
# pytest-cov
cryptography==37.0.2
# via secretstorage
django==3.2.13
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
Expand All @@ -57,7 +53,7 @@ djangorestframework==3.13.1
# drf-yasg
doc8==0.11.2
# via -r requirements/doc.in
docutils==0.17.1
docutils==0.18.1
# via
# doc8
# readme-renderer
Expand Down Expand Up @@ -90,16 +86,12 @@ itypes==1.2.0
# via
# -r requirements/test.txt
# coreapi
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.2
# via
# -r requirements/test.txt
# coreschema
# sphinx
keyring==23.5.1
keyring==23.6.0
# via twine
markupsafe==2.1.1
# via
Expand All @@ -113,7 +105,7 @@ packaging==21.3
# sphinx
pbr==5.9.0
# via stevedore
pkginfo==1.8.2
pkginfo==1.8.3
# via twine
pluggy==1.0.0
# via
Expand All @@ -123,8 +115,6 @@ py==1.11.0
# via
# -r requirements/test.txt
# pytest
pycparser==2.21
# via cffi
pygments==2.12.0
# via
# doc8
Expand Down Expand Up @@ -154,7 +144,7 @@ readme-renderer==35.0
# via
# -r requirements/doc.in
# twine
requests==2.27.1
requests==2.28.0
# via
# -r requirements/test.txt
# coreapi
Expand All @@ -177,15 +167,13 @@ ruamel-yaml-clib==0.2.6
# via
# -r requirements/test.txt
# ruamel-yaml
secretstorage==3.3.2
# via keyring
six==1.16.0
# via
# bleach
# edx-sphinx-theme
snowballstemmer==2.2.0
# via sphinx
sphinx==4.5.0
sphinx==5.0.1
# via
# -r requirements/doc.in
# edx-sphinx-theme
Expand All @@ -212,7 +200,7 @@ tomli==2.0.1
# -r requirements/test.txt
# coverage
# pytest
twine==4.0.0
twine==4.0.1
# via -r requirements/doc.in
typing-extensions==4.2.0
# via rich
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ wheel==0.37.1
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==22.1.1
pip==22.1.2
# via -r requirements/pip.in
setuptools==59.8.0
# via
Expand Down
Loading

0 comments on commit 7520498

Please sign in to comment.