Skip to content

Commit

Permalink
pip-audit 2.6.0 requires --disable-pip or it chokes on editable dep…
Browse files Browse the repository at this point in the history
…endencies
  • Loading branch information
jace committed Jul 23, 2023
1 parent eec1ae0 commit edd1857
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 36 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ repos:
hooks:
- id: pip-audit
args: [
'--disable-pip',
'--no-deps',
'--skip-editable',
'-r',
Expand All @@ -46,7 +47,7 @@ repos:
]
files: ^requirements/.*\.txt$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.278
rev: v0.0.280
hooks:
- id: ruff
args: ['--fix', '--exit-non-zero-on-fix']
Expand Down
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ toml
tweepy
twilio
typing-extensions
urllib3[socks] # Not required here, but the [socks] extra shows up in test.txt
user-agents
werkzeug
whitenoise
Expand Down
15 changes: 9 additions & 6 deletions requirements/base.py37.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:2d92258ba7951d85a229036d73ae5835e50f0b5c
# SHA1:5413ec7fabb7788a7e93e2cc0ed7b97ce62aa936
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand Down Expand Up @@ -68,9 +68,9 @@ blinker==1.6.2
# -r requirements/base.in
# baseframe
# coaster
boto3==1.28.8
boto3==1.28.9
# via -r requirements/base.in
botocore==1.31.8
botocore==1.31.9
# via
# boto3
# s3transfer
Expand All @@ -80,7 +80,7 @@ cachelib==0.9.0
# via flask-caching
cachetools==5.3.1
# via premailer
certifi==2023.5.7
certifi==2023.7.22
# via
# httpcore
# httpx
Expand Down Expand Up @@ -233,7 +233,7 @@ idna==3.4
# requests
# tldextract
# yarl
ijson==3.2.2
ijson==3.2.3
# via -r requirements/base.in
importlib-metadata==6.7.0
# via
Expand Down Expand Up @@ -366,6 +366,8 @@ pyparsing==3.1.0
# via httplib2
pypng==0.20220715.0
# via qrcode
pysocks==1.7.1
# via urllib3
python-dateutil==2.8.2
# via
# -r requirements/base.in
Expand Down Expand Up @@ -531,8 +533,9 @@ uc-micro-py==1.0.2
# via linkify-it-py
unidecode==1.3.6
# via coaster
urllib3==1.26.16
urllib3[socks]==1.26.16
# via
# -r requirements/base.in
# botocore
# requests
# sentry-sdk
Expand Down
15 changes: 9 additions & 6 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:2d92258ba7951d85a229036d73ae5835e50f0b5c
# SHA1:5413ec7fabb7788a7e93e2cc0ed7b97ce62aa936
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand Down Expand Up @@ -63,9 +63,9 @@ blinker==1.6.2
# baseframe
# coaster
# flask
boto3==1.28.8
boto3==1.28.9
# via -r requirements/base.in
botocore==1.31.8
botocore==1.31.9
# via
# boto3
# s3transfer
Expand All @@ -75,7 +75,7 @@ cachelib==0.9.0
# via flask-caching
cachetools==5.3.1
# via premailer
certifi==2023.5.7
certifi==2023.7.22
# via
# httpcore
# httpx
Expand Down Expand Up @@ -228,7 +228,7 @@ idna==3.4
# requests
# tldextract
# yarl
ijson==3.2.2
ijson==3.2.3
# via -r requirements/base.in
importlib-metadata==6.8.0
# via
Expand Down Expand Up @@ -350,6 +350,8 @@ pyparsing==3.1.0
# via httplib2
pypng==0.20220715.0
# via qrcode
pysocks==1.7.1
# via urllib3
python-dateutil==2.8.2
# via
# -r requirements/base.in
Expand Down Expand Up @@ -503,8 +505,9 @@ uc-micro-py==1.0.2
# via linkify-it-py
unidecode==1.3.6
# via coaster
urllib3==1.26.16
urllib3[socks]==1.26.16
# via
# -r requirements/base.in
# botocore
# requests
# sentry-sdk
Expand Down
6 changes: 3 additions & 3 deletions requirements/dev.py37.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cattrs==22.1.0
# via reformat-gherkin
cfgv==3.3.1
# via pre-commit
dill==0.3.6
dill==0.3.7
# via pylint
distlib==0.3.7
# via virtualenv
Expand Down Expand Up @@ -131,7 +131,7 @@ pyupgrade==3.3.2
# via -r requirements/dev.in
reformat-gherkin==3.0.1
# via -r requirements/dev.in
ruff==0.0.278
ruff==0.0.280
# via -r requirements/dev.in
smmap==5.0.0
# via gitdb
Expand Down Expand Up @@ -175,7 +175,7 @@ virtualenv==20.24.1
# via pre-commit
wcwidth==0.2.6
# via reformat-gherkin
wheel==0.40.0
wheel==0.41.0
# via pip-tools
wrapt==1.15.0
# via astroid
Expand Down
8 changes: 4 additions & 4 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cattrs==22.1.0
# via reformat-gherkin
cfgv==3.3.1
# via pre-commit
dill==0.3.6
dill==0.3.7
# via pylint
distlib==0.3.7
# via virtualenv
Expand Down Expand Up @@ -75,7 +75,7 @@ gitdb==4.0.10
# via gitpython
gitpython==3.1.32
# via bandit
identify==2.5.25
identify==2.5.26
# via pre-commit
isort==5.12.0
# via
Expand Down Expand Up @@ -131,7 +131,7 @@ pyupgrade==3.9.0
# via -r requirements/dev.in
reformat-gherkin==3.0.1
# via -r requirements/dev.in
ruff==0.0.278
ruff==0.0.280
# via -r requirements/dev.in
smmap==5.0.0
# via gitdb
Expand Down Expand Up @@ -169,7 +169,7 @@ virtualenv==20.24.1
# via pre-commit
wcwidth==0.2.6
# via reformat-gherkin
wheel==0.40.0
wheel==0.41.0
# via pip-tools
wrapt==1.15.0
# via astroid
Expand Down
8 changes: 0 additions & 8 deletions requirements/test.py37.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ pluggy==1.2.0
# via pytest
py==1.11.0
# via pytest-html
pysocks==1.7.1
# via urllib3
pytest==7.4.0
# via
# -r requirements/test.in
Expand Down Expand Up @@ -112,12 +110,6 @@ trio-websocket==0.10.3
# via selenium
typeguard==4.0.0
# via -r requirements/test.in
urllib3[socks]==1.26.16
# via
# botocore
# requests
# selenium
# sentry-sdk
wsproto==1.2.0
# via trio-websocket

Expand Down
8 changes: 0 additions & 8 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ pluggy==1.2.0
# via pytest
py==1.11.0
# via pytest-html
pysocks==1.7.1
# via urllib3
pytest==7.4.0
# via
# -r requirements/test.in
Expand Down Expand Up @@ -110,12 +108,6 @@ trio-websocket==0.10.3
# via selenium
typeguard==4.0.0
# via -r requirements/test.in
urllib3[socks]==1.26.16
# via
# botocore
# requests
# selenium
# sentry-sdk
wsproto==1.2.0
# via trio-websocket

Expand Down

0 comments on commit edd1857

Please sign in to comment.