Skip to content

Commit

Permalink
Merge pull request #310 from openedx/jenkins/upgrade-python-requireme…
Browse files Browse the repository at this point in the history
…nts-c70cc62

Python Requirements Update
  • Loading branch information
macdiesel authored Nov 1, 2023
2 parents c70cc62 + 8a2db34 commit f745a57
Show file tree
Hide file tree
Showing 10 changed files with 171 additions and 183 deletions.
7 changes: 5 additions & 2 deletions enterprise_access/apps/subsidy_access_policy/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,11 @@ def __new__(cls, *args, **kwargs):
policy_type = args[policy_name_field_index]
# get proxy class, by name, from current module
proxy_class = getattr(sys.modules[__name__], policy_type)
finally:
return super().__new__(proxy_class) # pylint: disable=lost-exception

except Exception: # pylint: disable=broad-except
pass

return super().__new__(proxy_class) # pylint: disable=lost-exception

def subsidy_record(self):
"""
Expand Down
27 changes: 14 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cffi==1.16.0
# via
# cryptography
# pynacl
charset-normalizer==3.3.0
charset-normalizer==3.3.1
# via requests
click==8.1.7
# via
Expand All @@ -52,15 +52,15 @@ click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
confluent-kafka==2.2.0
confluent-kafka==2.3.0
# via -r requirements/base.in
coreapi==2.3.3
# via
# django-rest-swagger
# openapi-codec
coreschema==0.0.4
# via coreapi
cryptography==41.0.4
cryptography==41.0.5
# via
# pyjwt
# social-auth-core
Expand Down Expand Up @@ -156,7 +156,7 @@ edx-django-utils==5.7.0
# -r requirements/base.in
# edx-drf-extensions
# edx-rest-api-client
edx-drf-extensions==8.11.1
edx-drf-extensions==8.13.0
# via
# -r requirements/base.in
# edx-rbac
Expand All @@ -172,7 +172,7 @@ edx-rest-api-client==5.6.1
# via
# -r requirements/base.in
# edx-enterprise-subsidy-client
fastavro==1.8.4
fastavro==1.9.0
# via
# -r requirements/base.in
# openedx-events
Expand All @@ -194,7 +194,7 @@ jsonfield==3.1.0
# via edx-celeryutils
jsonfield2==4.0.0.post0
# via -r requirements/base.in
jsonschema==4.19.1
jsonschema==4.19.2
# via drf-spectacular
jsonschema-specifications==2023.7.1
# via jsonschema
Expand All @@ -206,15 +206,15 @@ monotonic==1.6
# via analytics-python
mysqlclient==2.2.0
# via -r requirements/base.in
newrelic==9.1.0
newrelic==9.1.1
# via edx-django-utils
oauthlib==3.2.2
# via
# requests-oauthlib
# social-auth-core
openapi-codec==1.3.2
# via django-rest-swagger
openedx-events==9.0.0
openedx-events==9.0.1
# via -r requirements/base.in
packaging==23.2
# via drf-yasg
Expand All @@ -226,7 +226,7 @@ ply==3.11
# via djangoql
prompt-toolkit==3.0.39
# via click-repl
psutil==5.9.5
psutil==5.9.6
# via edx-django-utils
pycparser==2.21
# via cffi
Expand All @@ -236,6 +236,7 @@ pyjwt[crypto]==2.8.0
# edx-auth-backends
# edx-drf-extensions
# edx-rest-api-client
# pyjwt
# social-auth-core
pymemcache==4.0.0
# via -r requirements/base.in
Expand Down Expand Up @@ -295,9 +296,9 @@ six==1.16.0
# python-dateutil
slumber==0.7.1
# via edx-rest-api-client
social-auth-app-django==5.3.0
social-auth-app-django==5.4.0
# via edx-auth-backends
social-auth-core==4.4.2
social-auth-core==4.5.0
# via
# edx-auth-backends
# social-auth-app-django
Expand All @@ -321,14 +322,14 @@ uritemplate==4.1.1
# coreapi
# drf-spectacular
# drf-yasg
urllib3==2.0.6
urllib3==2.0.7
# via requests
vine==5.0.0
# via
# amqp
# celery
# kombu
wcwidth==0.2.8
wcwidth==0.2.9
# via prompt-toolkit
zipp==3.17.0
# via importlib-resources
58 changes: 27 additions & 31 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ asgiref==3.7.2
# via
# -r requirements/validation.txt
# django
astroid==2.15.8
astroid==3.0.1
# via
# -r requirements/validation.txt
# pylint
Expand All @@ -36,6 +36,7 @@ backoff==1.10.0
backports-zoneinfo[tzdata]==0.2.1
# via
# -r requirements/validation.txt
# backports-zoneinfo
# celery
# django
# kombu
Expand Down Expand Up @@ -63,7 +64,7 @@ cffi==1.16.0
# pynacl
chardet==5.2.0
# via diff-cover
charset-normalizer==3.3.0
charset-normalizer==3.3.1
# via
# -r requirements/validation.txt
# requests
Expand Down Expand Up @@ -100,7 +101,7 @@ code-annotations==1.5.0
# via
# -r requirements/validation.txt
# edx-lint
confluent-kafka==2.2.0
confluent-kafka==2.3.0
# via -r requirements/validation.txt
coreapi==2.3.3
# via
Expand All @@ -114,8 +115,9 @@ coreschema==0.0.4
coverage[toml]==7.3.2
# via
# -r requirements/validation.txt
# coverage
# pytest-cov
cryptography==41.0.4
cryptography==41.0.5
# via
# -r requirements/validation.txt
# pyjwt
Expand Down Expand Up @@ -239,20 +241,21 @@ edx-django-utils==5.7.0
# -r requirements/validation.txt
# edx-drf-extensions
# edx-rest-api-client
edx-drf-extensions==8.11.1
edx-drf-extensions==8.13.0
# via
# -r requirements/validation.txt
# edx-rbac
edx-enterprise-subsidy-client==0.3.7
# via -r requirements/validation.txt
edx-i18n-tools==1.3.0
# via -r requirements/dev.in
edx-lint==5.3.4
edx-lint==5.3.6
# via -r requirements/validation.txt
edx-opaque-keys[django]==2.5.1
# via
# -r requirements/validation.txt
# edx-drf-extensions
# edx-opaque-keys
# openedx-events
edx-rbac==1.8.0
# via -r requirements/validation.txt
Expand All @@ -266,15 +269,15 @@ exceptiongroup==1.1.3
# pytest
factory-boy==3.3.0
# via -r requirements/validation.txt
faker==19.10.0
faker==19.12.1
# via
# -r requirements/validation.txt
# factory-boy
fastavro==1.8.4
fastavro==1.9.0
# via
# -r requirements/validation.txt
# openedx-events
filelock==3.12.4
filelock==3.13.1
# via
# -r requirements/validation.txt
# tox
Expand Down Expand Up @@ -334,7 +337,7 @@ jsonfield==3.1.0
# edx-celeryutils
jsonfield2==4.0.0.post0
# via -r requirements/validation.txt
jsonschema==4.19.1
jsonschema==4.19.2
# via
# -r requirements/validation.txt
# drf-spectacular
Expand All @@ -350,10 +353,6 @@ kombu==5.3.2
# via
# -r requirements/validation.txt
# celery
lazy-object-proxy==1.9.0
# via
# -r requirements/validation.txt
# astroid
lxml==4.9.3
# via edx-i18n-tools
markdown-it-py==3.0.0
Expand Down Expand Up @@ -382,7 +381,7 @@ more-itertools==10.1.0
# jaraco-classes
mysqlclient==2.2.0
# via -r requirements/validation.txt
newrelic==9.1.0
newrelic==9.1.1
# via
# -r requirements/validation.txt
# edx-django-utils
Expand All @@ -399,7 +398,7 @@ openapi-codec==1.3.2
# via
# -r requirements/validation.txt
# django-rest-swagger
openedx-events==9.0.0
openedx-events==9.0.1
# via -r requirements/validation.txt
packaging==23.2
# via
Expand Down Expand Up @@ -446,7 +445,7 @@ prompt-toolkit==3.0.39
# via
# -r requirements/validation.txt
# click-repl
psutil==5.9.5
psutil==5.9.6
# via
# -r requirements/validation.txt
# edx-django-utils
Expand Down Expand Up @@ -475,8 +474,9 @@ pyjwt[crypto]==2.8.0
# edx-auth-backends
# edx-drf-extensions
# edx-rest-api-client
# pyjwt
# social-auth-core
pylint==2.17.7
pylint==3.0.2
# via
# -r requirements/validation.txt
# edx-lint
Expand All @@ -487,7 +487,7 @@ pylint-celery==0.3
# via
# -r requirements/validation.txt
# edx-lint
pylint-django==2.5.3
pylint-django==2.5.5
# via
# -r requirements/validation.txt
# edx-lint
Expand All @@ -510,14 +510,14 @@ pyproject-hooks==1.0.0
# via
# -r requirements/pip-tools.txt
# build
pytest==7.4.2
pytest==7.4.3
# via
# -r requirements/validation.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
# via -r requirements/validation.txt
pytest-django==4.5.2
pytest-django==4.6.0
# via -r requirements/validation.txt
python-dateutil==2.8.2
# via
Expand Down Expand Up @@ -622,11 +622,11 @@ snowballstemmer==2.2.0
# via
# -r requirements/validation.txt
# pydocstyle
social-auth-app-django==5.3.0
social-auth-app-django==5.4.0
# via
# -r requirements/validation.txt
# edx-auth-backends
social-auth-core==4.4.2
social-auth-core==4.5.0
# via
# -r requirements/validation.txt
# edx-auth-backends
Expand Down Expand Up @@ -686,7 +686,7 @@ uritemplate==4.1.1
# coreapi
# drf-spectacular
# drf-yasg
urllib3==2.0.6
urllib3==2.0.7
# via
# -r requirements/validation.txt
# requests
Expand All @@ -697,22 +697,18 @@ vine==5.0.0
# amqp
# celery
# kombu
virtualenv==20.24.5
virtualenv==20.24.6
# via
# -r requirements/validation.txt
# tox
wcwidth==0.2.8
wcwidth==0.2.9
# via
# -r requirements/validation.txt
# prompt-toolkit
wheel==0.41.2
wheel==0.41.3
# via
# -r requirements/pip-tools.txt
# pip-tools
wrapt==1.15.0
# via
# -r requirements/validation.txt
# astroid
zipp==3.17.0
# via
# -r requirements/pip-tools.txt
Expand Down
Loading

0 comments on commit f745a57

Please sign in to comment.