Skip to content

Commit

Permalink
Add requirements/ prefix back to requirements.txt files
Browse files Browse the repository at this point in the history
Note: to do this in the future, you can find and raplce
 (\w*?-)?requirements\.
with
 requirements/$1requirements.

note the space at the beginning. This is because dependabot security
updates remove the path prefix when running pip-compile, which causes
the pip-compile check to fail. See issue:
dependabot/dependabot-core#9490
  • Loading branch information
amstilp committed Jul 11, 2024
1 parent 461d8e7 commit 52713e9
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 69 deletions.
76 changes: 38 additions & 38 deletions requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alabaster==0.7.13
# via sphinx
asgiref==3.7.2
# via
# -c requirements.txt
# -c requirements/requirements.txt
# django
asttokens==2.4.1
# via stack-data
Expand All @@ -18,19 +18,19 @@ backcall==0.2.0
# via ipython
backports-zoneinfo==0.2.1
# via
# -c requirements.txt
# -c requirements/requirements.txt
# django
certifi==2023.11.17
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# requests
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# requests
colorama==0.4.6
# via sphinx-autobuild
Expand All @@ -42,14 +42,14 @@ distlib==0.3.8
# via virtualenv
django==4.2.14
# via
# -c requirements.txt
# -c requirements/requirements.txt
# django-debug-toolbar
# django-stubs
# django-stubs-ext
django-debug-toolbar==4.4.5
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
django-stubs==4.2.7
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
django-stubs-ext==4.2.7
# via django-stubs
docutils==0.20.1
Expand All @@ -62,17 +62,17 @@ identify==2.5.34
# via pre-commit
idna==3.7
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.0
# via
# -c requirements.txt
# -c requirements/requirements.txt
# sphinx
ipdb==0.13.13
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
ipython==8.12.3
# via ipdb
jedi==0.19.1
Expand All @@ -88,15 +88,15 @@ markupsafe==2.1.5
matplotlib-inline==0.1.6
# via ipython
mypy==1.10.1
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
# via pre-commit
packaging==21.3
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# sphinx
parso==0.8.3
# via jedi
Expand All @@ -107,7 +107,7 @@ pickleshare==0.7.5
platformdirs==4.1.0
# via virtualenv
pre-commit==3.5.0
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
prompt-toolkit==3.0.43
# via ipython
ptyprocess==0.7.0
Expand All @@ -120,38 +120,38 @@ pygments==2.17.2
# sphinx
pyparsing==3.1.1
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# packaging
pytz==2023.3.post1
# via
# -c requirements.txt
# -c requirements/requirements.txt
# babel
pyyaml==6.0.1
# via
# -c test-requirements.txt
# -c requirements/test-requirements.txt
# pre-commit
requests==2.32.3
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# sphinx
ruff==0.5.1
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
six==1.16.0
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# asttokens
# livereload
snowballstemmer==2.2.0
# via sphinx
sphinx==7.1.2
# via
# -r dev-requirements.in
# -r requirements/dev-requirements.in
# sphinx-autobuild
sphinx-autobuild==2021.3.14
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
sphinxcontrib-applehelp==1.0.4
# via sphinx
sphinxcontrib-devhelp==1.0.2
Expand All @@ -166,15 +166,15 @@ sphinxcontrib-serializinghtml==1.1.5
# via sphinx
sqlparse==0.5.0
# via
# -c requirements.txt
# -c requirements/requirements.txt
# django
# django-debug-toolbar
stack-data==0.6.3
# via ipython
tomli==2.0.1
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# django-stubs
# ipdb
# mypy
Expand All @@ -189,31 +189,31 @@ types-pytz==2024.1.0.20240203
types-pyyaml==6.0.12.12
# via django-stubs
types-requests==2.32.0.20240622
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
typing-extensions==4.8.0
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# asgiref
# django-stubs
# django-stubs-ext
# ipython
# mypy
urllib3==2.2.2
# via
# -c requirements.txt
# -c test-requirements.txt
# -c requirements/requirements.txt
# -c requirements/test-requirements.txt
# requests
# types-requests
virtualenv==20.25.1
# via pre-commit
wcwidth==0.2.13
# via prompt-toolkit
werkzeug==3.0.3
# via -r dev-requirements.in
# via -r requirements/dev-requirements.in
zipp==3.17.0
# via
# -c requirements.txt
# -c requirements/requirements.txt
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
62 changes: 31 additions & 31 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pip-compile requirements/requirements.in
#
argon2-cffi==23.1.0
# via -r requirements.in
# via -r requirements/requirements.in
argon2-cffi-bindings==21.2.0
# via argon2-cffi
asgiref==3.7.2
Expand All @@ -24,7 +24,7 @@ cachetools==5.3.2
# via google-auth
certifi==2023.11.17
# via
# -r requirements.in
# -r requirements/requirements.in
# requests
cffi==1.16.0
# via
Expand All @@ -38,15 +38,15 @@ click==8.1.3
# via pip-tools
crispy-bootstrap5==2024.2
# via
# -r requirements.in
# -r requirements/requirements.in
# django-anvil-consortium-manager
cryptography==42.0.5
# via pyjwt
defusedxml==0.7.1
# via python3-openid
django==4.2.14
# via
# -r requirements.in
# -r requirements/requirements.in
# crispy-bootstrap5
# django-allauth
# django-anvil-consortium-manager
Expand All @@ -61,48 +61,48 @@ django==4.2.14
# django-simple-history
# django-tables2
django-allauth==0.54.0
# via -r requirements.in
# via -r requirements/requirements.in
django-anvil-consortium-manager @ git+https://github.com/UW-GAC/[email protected]
# via -r requirements.in
# via -r requirements/requirements.in
django-autocomplete-light==3.11.0
# via django-anvil-consortium-manager
django-constance==3.1.0
# via -r requirements.in
# via -r requirements/requirements.in
django-crispy-forms==2.2
# via
# -r requirements.in
# -r requirements/requirements.in
# crispy-bootstrap5
# django-anvil-consortium-manager
django-dbbackup==4.1.0
# via -r requirements.in
# via -r requirements/requirements.in
django-environ==0.10.0
# via -r requirements.in
# via -r requirements/requirements.in
django-extensions==3.2.3
# via
# -r requirements.in
# -r requirements/requirements.in
# django-anvil-consortium-manager
django-filter==23.5
# via django-anvil-consortium-manager
django-htmx==1.18.0
# via -r requirements.in
# via -r requirements/requirements.in
django-login-required-middleware==0.9.0
# via -r requirements.in
# via -r requirements/requirements.in
django-maintenance-mode==0.21.1
# via -r requirements.in
# via -r requirements/requirements.in
django-model-utils==4.5.1
# via -r requirements.in
# via -r requirements/requirements.in
django-picklefield==3.2
# via
# -r requirements.in
# -r requirements/requirements.in
# django-constance
django-simple-history==3.7.0
# via
# -r requirements.in
# -r requirements/requirements.in
# django-anvil-consortium-manager
django-tables2==2.7.0
# via django-anvil-consortium-manager
django-tree-queries==0.19.0
# via -r requirements.in
# via -r requirements/requirements.in
fastobo==0.12.3
# via pronto
fontawesomefree==6.5.1
Expand All @@ -111,7 +111,7 @@ google-auth==2.28.1
# via django-anvil-consortium-manager
idna==3.7
# via
# -r requirements.in
# -r requirements/requirements.in
# requests
importlib-metadata==7.0.0
# via build
Expand All @@ -120,13 +120,13 @@ importlib-resources==6.1.1
# jsonschema
# jsonschema-specifications
jsonapi-requests==0.7.0
# via -r requirements.in
# via -r requirements/requirements.in
jsonschema==4.22.0
# via -r requirements.in
# via -r requirements/requirements.in
jsonschema-specifications==2023.12.1
# via jsonschema
mysqlclient==2.2.4
# via -r requirements.in
# via -r requirements/requirements.in
networkx==3.1
# via
# django-anvil-consortium-manager
Expand All @@ -137,22 +137,22 @@ numpy==1.24.4
# pandas
oauthlib==3.2.2
# via
# -r requirements.in
# -r requirements/requirements.in
# requests-oauthlib
packaging==21.3
# via
# build
# plotly
pandas==2.0.3
# via -r requirements.in
# via -r requirements/requirements.in
pip-tools==7.4.1
# via -r requirements.in
# via -r requirements/requirements.in
pkgutil-resolve-name==1.3.10
# via jsonschema
plotly==5.19.0
# via django-anvil-consortium-manager
pronto==2.5.7
# via -r requirements.in
# via -r requirements/requirements.in
pyasn1==0.5.1
# via
# pyasn1-modules
Expand Down Expand Up @@ -188,7 +188,7 @@ referencing==0.33.0
# jsonschema-specifications
requests==2.32.3
# via
# -r requirements.in
# -r requirements/requirements.in
# django-allauth
# django-anvil-consortium-manager
# jsonapi-requests
Expand All @@ -205,10 +205,10 @@ six==1.16.0
# via python-dateutil
sqlparse==0.5.0
# via
# -r requirements.in
# -r requirements/requirements.in
# django
tablib==3.6.1
# via -r requirements.in
# via -r requirements/requirements.in
tenacity==8.2.3
# via
# jsonapi-requests
Expand All @@ -224,12 +224,12 @@ tzdata==2023.4
# via pandas
urllib3==2.2.2
# via
# -r requirements.in
# -r requirements/requirements.in
# requests
wheel==0.42.0
# via pip-tools
whitenoise==6.7.0
# via -r requirements.in
# via -r requirements/requirements.in
zipp==3.17.0
# via
# importlib-metadata
Expand Down

0 comments on commit 52713e9

Please sign in to comment.