Skip to content

Commit

Permalink
Upgrade "cryptography" to safe version
Browse files Browse the repository at this point in the history
.. add a requirements-file "forced-upgrades.txt" to easily be able to
upgrade a dependency's dependency without polluting "base.txt".

"cryptopgraphy" is a dependency of "python-social-auth".
  • Loading branch information
hmpf committed Mar 15, 2021
1 parent e765941 commit e8a50fb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions requirements-django30.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=requirements-django30.txt requirements/base.txt requirements/django30.txt
# pip-compile --output-file=requirements-django30.txt requirements/base.txt requirements/django30.txt requirements/forced-upgrade.txt
#
--index-url https://pypi.python.org/simple/

Expand Down Expand Up @@ -42,8 +42,9 @@ chardet==3.0.4
# via requests
constantly==15.1.0
# via twisted
cryptography==3.2.1
cryptography==3.4.6
# via
# -r requirements/forced-upgrade.txt
# autobahn
# pyopenssl
# service-identity
Expand Down Expand Up @@ -153,7 +154,6 @@ service-identity==18.1.0
six==1.15.0
# via
# automat
# cryptography
# jsonschema
# pyopenssl
# python-dateutil
Expand Down
6 changes: 3 additions & 3 deletions requirements-django31.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=requirements-django31.txt requirements/base.txt requirements/django31.txt
# pip-compile --output-file=requirements-django31.txt requirements/base.txt requirements/django31.txt requirements/forced-upgrade.txt
#
--index-url https://pypi.python.org/simple/

Expand Down Expand Up @@ -42,8 +42,9 @@ chardet==3.0.4
# via requests
constantly==15.1.0
# via twisted
cryptography==3.2.1
cryptography==3.4.6
# via
# -r requirements/forced-upgrade.txt
# autobahn
# pyopenssl
# service-identity
Expand Down Expand Up @@ -153,7 +154,6 @@ service-identity==18.1.0
six==1.15.0
# via
# automat
# cryptography
# jsonschema
# pyopenssl
# python-dateutil
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file=requirements.txt requirements/prod.txt
# pip-compile --output-file=requirements.txt requirements/forced-upgrade.txt requirements/prod.txt
#
--index-url https://pypi.python.org/simple/

Expand Down Expand Up @@ -42,8 +42,9 @@ chardet==3.0.4
# via requests
constantly==15.1.0
# via twisted
cryptography==3.2.1
cryptography==3.4.6
# via
# -r requirements/forced-upgrade.txt
# autobahn
# pyopenssl
# service-identity
Expand Down Expand Up @@ -153,7 +154,6 @@ service-identity==18.1.0
six==1.15.0
# via
# automat
# cryptography
# jsonschema
# pyopenssl
# python-dateutil
Expand Down
1 change: 1 addition & 0 deletions requirements/forced-upgrade.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cryptography>=3.3.2
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ deps =
pip-tools

commands =
pip-compile --output-file requirements.txt requirements/prod.txt
pip-compile --output-file requirements-django30.txt requirements/django30.txt requirements/base.txt
pip-compile --output-file requirements-django31.txt requirements/django31.txt requirements/base.txt
pip-compile --output-file requirements.txt requirements/prod.txt requirements/forced-upgrade.txt
pip-compile --output-file requirements-django30.txt requirements/django30.txt requirements/base.txt requirements/forced-upgrade.txt
pip-compile --output-file requirements-django31.txt requirements/django31.txt requirements/base.txt requirements/forced-upgrade.txt

[testenv:coverage-xml]
basepython = python3.8
Expand Down

0 comments on commit e8a50fb

Please sign in to comment.