Skip to content

Commit

Permalink
chore: Upgrade cryptography and pyopenssl
Browse files Browse the repository at this point in the history
Ran 'make upgrade-package package="cryptography --upgrade-package pyopenssl"`
  • Loading branch information
feanil committed May 8, 2024
1 parent 460dad4 commit 6f45093
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 33 deletions.
8 changes: 0 additions & 8 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ markdown<3.4.0
# Constraint can be removed once the issue https://github.com/PyCQA/pycodestyle/issues/1090 is fixed.
pycodestyle<2.9.0

# pyopenssl>22.0.0 requires cryptography>=38.0 && conflicts with snowflak-connector-python requires cryptography<37
# which causes the requirements upgrade job to fail due to constraint conflict
# This constraint can be removed once https://github.com/snowflakedb/snowflake-connector-python/issues/1259 is resolved
# and snowflake-connector-python>2.8.0 is released.
pyopenssl==22.0.0

cryptography==38.0.4 # greater version has some issues with openssl.

pylint<2.16.0 # greater version failing quality test. Fix them in seperate ticket.

# adding these constraints to minimize boto3 and botocore changeset
Expand Down
6 changes: 2 additions & 4 deletions requirements/edx-sandbox/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ codejail-includes==1.0.0
# via -r requirements/edx-sandbox/base.in
contourpy==1.1.1
# via matplotlib
cryptography==38.0.4
# via
# -c requirements/edx-sandbox/../constraints.txt
# -r requirements/edx-sandbox/base.in
cryptography==42.0.7
# via -r requirements/edx-sandbox/base.in
cycler==0.12.1
# via matplotlib
fonttools==4.49.0
Expand Down
6 changes: 2 additions & 4 deletions requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,8 @@ coreschema==0.0.4
# drf-yasg
crowdsourcehinter-xblock==0.7
# via -r requirements/edx/bundled.in
cryptography==38.0.4
cryptography==41.0.7
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
# django-fernet-fields-v2
# edx-enterprise
Expand Down Expand Up @@ -912,9 +911,8 @@ pynacl==1.5.0
# via edx-django-utils
pynliner==0.8.0
# via -r requirements/edx/kernel.in
pyopenssl==22.0.0
pyopenssl==23.3.0
# via
# -c requirements/edx/../constraints.txt
# optimizely-sdk
# snowflake-connector-python
pyparsing==3.1.1
Expand Down
6 changes: 2 additions & 4 deletions requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,8 @@ crowdsourcehinter-xblock==0.7
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
cryptography==38.0.4
cryptography==41.0.7
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# django-fernet-fields-v2
Expand Down Expand Up @@ -1564,9 +1563,8 @@ pynliner==0.8.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
pyopenssl==22.0.0
pyopenssl==23.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# optimizely-sdk
Expand Down
6 changes: 2 additions & 4 deletions requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,8 @@ coreschema==0.0.4
# drf-yasg
crowdsourcehinter-xblock==0.7
# via -r requirements/edx/base.txt
cryptography==38.0.4
cryptography==41.0.7
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# django-fernet-fields-v2
# edx-enterprise
Expand Down Expand Up @@ -1082,9 +1081,8 @@ pynacl==1.5.0
# edx-django-utils
pynliner==0.8.0
# via -r requirements/edx/base.txt
pyopenssl==22.0.0
pyopenssl==23.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# optimizely-sdk
# snowflake-connector-python
Expand Down
6 changes: 2 additions & 4 deletions requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,8 @@ coverage[toml]==7.4.1
# pytest-cov
crowdsourcehinter-xblock==0.7
# via -r requirements/edx/base.txt
cryptography==38.0.4
cryptography==41.0.7
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# django-fernet-fields-v2
# edx-enterprise
Expand Down Expand Up @@ -1171,9 +1170,8 @@ pynacl==1.5.0
# edx-django-utils
pynliner==0.8.0
# via -r requirements/edx/base.txt
pyopenssl==22.0.0
pyopenssl==23.3.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
# optimizely-sdk
# snowflake-connector-python
Expand Down
6 changes: 2 additions & 4 deletions scripts/user_retirement/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ click==8.1.6
# -c scripts/user_retirement/requirements/../../../requirements/constraints.txt
# -r scripts/user_retirement/requirements/base.in
# edx-django-utils
cryptography==38.0.4
# via
# -c scripts/user_retirement/requirements/../../../requirements/constraints.txt
# simple-salesforce
cryptography==42.0.7
# via simple-salesforce
django==4.2.9
# via
# -c scripts/user_retirement/requirements/../../../requirements/common_constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/user_retirement/requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ click==8.1.6
# via
# -r scripts/user_retirement/requirements/base.txt
# edx-django-utils
cryptography==38.0.4
cryptography==42.0.7
# via
# -r scripts/user_retirement/requirements/base.txt
# moto
Expand Down

0 comments on commit 6f45093

Please sign in to comment.