Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Python Requirements Update #592

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion registrar/apps/api/v1/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def setUpClass(cls):
# Suppress egregious boto/moto DEBUG logging.
for logger_name in ['boto3', 'botocore', 's3transfer']:
logging.getLogger(logger_name).setLevel(logging.INFO)
cls._s3_mock = moto.mock_s3()
cls._s3_mock = moto.mock_aws()
cls._s3_mock.start()
bucket_region = 'us-west-1'
conn = boto3.resource('s3', region_name=bucket_region)
Expand Down
2 changes: 1 addition & 1 deletion registrar/apps/core/tests/test_filestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def setUp(self):
# it here, but moto seems to have a bug/"feature" where it only works
# in modules that explicitly import it.
super().setUp()
self._s3_mock = moto.mock_s3()
self._s3_mock = moto.mock_aws()
self._s3_mock.start()
conn = boto3.resource('s3')
conn.create_bucket(Bucket=self.test_bucket_1)
Expand Down
2 changes: 1 addition & 1 deletion registrar/apps/enrollments/tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def setUpClass(cls):
# it here, but moto seems to have a bug/"feature" where it only works
# in modules that explicitly import it.
super().setUpClass()
cls._s3_mock = moto.mock_s3()
cls._s3_mock = moto.mock_aws()
cls._s3_mock.start()
conn = boto3.resource('s3')
conn.create_bucket(Bucket=settings.REGISTRAR_BUCKET)
Expand Down
8 changes: 4 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ charset-normalizer==3.3.2
# via requests
click==8.1.7
# via edx-django-utils
cryptography==42.0.0
cryptography==42.0.1
# via
# pyjwt
# social-auth-core
Expand Down Expand Up @@ -118,7 +118,7 @@ edx-django-utils==5.10.1
# via
# edx-drf-extensions
# edx-rest-api-client
edx-drf-extensions==9.1.2
edx-drf-extensions==10.1.0
# via -r requirements/base.in
edx-opaque-keys==2.5.1
# via edx-drf-extensions
Expand Down Expand Up @@ -164,7 +164,7 @@ python-dateutil==2.8.2
# via analytics-python
python3-openid==3.2.0
# via social-auth-core
pytz==2023.3.post1
pytz==2023.4
# via
# -r requirements/base.in
# celery
Expand Down Expand Up @@ -200,7 +200,7 @@ social-auth-app-django==5.4.0
# via
# -r requirements/base.in
# edx-auth-backends
social-auth-core==4.5.1
social-auth-core==4.5.2
# via
# edx-auth-backends
# social-auth-app-django
Expand Down
26 changes: 13 additions & 13 deletions requirements/devstack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ billiard==3.6.4.0
# via
# -r requirements/local.txt
# celery
boto3==1.34.25
boto3==1.34.30
# via
# -c requirements/constraints.txt
# -r requirements/local.txt
# moto
botocore==1.34.25
botocore==1.34.30
# via
# -r requirements/local.txt
# boto3
Expand Down Expand Up @@ -114,12 +114,12 @@ configobj==5.0.8
# via
# -r requirements/local.txt
# ruamel-yaml-cmd
coverage[toml]==7.4.0
coverage[toml]==7.4.1
# via
# -r requirements/local.txt
# coverage
# pytest-cov
cryptography==42.0.0
cryptography==42.0.1
# via
# -r requirements/local.txt
# moto
Expand All @@ -132,7 +132,7 @@ defusedxml==0.8.0rc2
# -r requirements/local.txt
# python3-openid
# social-auth-core
dill==0.3.7
dill==0.3.8
# via
# -r requirements/local.txt
# pylint
Expand Down Expand Up @@ -232,7 +232,7 @@ edx-django-utils==5.10.1
# -r requirements/local.txt
# edx-drf-extensions
# edx-rest-api-client
edx-drf-extensions==9.1.2
edx-drf-extensions==10.1.0
# via -r requirements/local.txt
edx-i18n-tools==1.3.0
# via -r requirements/local.txt
Expand All @@ -250,7 +250,7 @@ exceptiongroup==1.2.0
# pytest
factory-boy==3.3.0
# via -r requirements/local.txt
faker==22.5.0
faker==22.6.0
# via
# -r requirements/local.txt
# factory-boy
Expand Down Expand Up @@ -322,7 +322,7 @@ monotonic==1.6
# via
# -r requirements/local.txt
# analytics-python
moto==4.2.13
moto==5.0.0
# via -r requirements/local.txt
mysqlclient==2.2.1
# via -r requirements/nonlocal.txt
Expand Down Expand Up @@ -363,7 +363,7 @@ platformdirs==4.1.0
# pylint
# tox
# virtualenv
pluggy==1.3.0
pluggy==1.4.0
# via
# -r requirements/local.txt
# pytest
Expand Down Expand Up @@ -435,14 +435,14 @@ pyproject-api==1.6.1
# via
# -r requirements/local.txt
# tox
pytest==7.4.4
pytest==8.0.0
# via
# -r requirements/local.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
# via -r requirements/local.txt
pytest-django==4.7.0
pytest-django==4.8.0
# via -r requirements/local.txt
python-dateutil==2.8.2
# via
Expand All @@ -464,7 +464,7 @@ python3-openid==3.2.0
# via
# -r requirements/local.txt
# social-auth-core
pytz==2023.3.post1
pytz==2023.4
# via
# -r requirements/local.txt
# babel
Expand Down Expand Up @@ -554,7 +554,7 @@ social-auth-app-django==5.4.0
# via
# -r requirements/local.txt
# edx-auth-backends
social-auth-core==4.5.1
social-auth-core==4.5.2
# via
# -r requirements/local.txt
# edx-auth-backends
Expand Down
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pygments==2.17.2
# accessible-pygments
# pydata-sphinx-theme
# sphinx
pytz==2023.3.post1
pytz==2023.4
# via babel
requests==2.31.0
# via sphinx
Expand Down
26 changes: 13 additions & 13 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ billiard==3.6.4.0
# via
# -r requirements/test.txt
# celery
boto3==1.34.25
boto3==1.34.30
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# moto
botocore==1.34.25
botocore==1.34.30
# via
# -r requirements/test.txt
# boto3
Expand Down Expand Up @@ -114,12 +114,12 @@ colorama==0.4.6
# tox
configobj==5.0.8
# via ruamel-yaml-cmd
coverage[toml]==7.4.0
coverage[toml]==7.4.1
# via
# -r requirements/test.txt
# coverage
# pytest-cov
cryptography==42.0.0
cryptography==42.0.1
# via
# -r requirements/test.txt
# moto
Expand All @@ -132,7 +132,7 @@ defusedxml==0.8.0rc2
# -r requirements/test.txt
# python3-openid
# social-auth-core
dill==0.3.7
dill==0.3.8
# via
# -r requirements/test.txt
# pylint
Expand Down Expand Up @@ -232,7 +232,7 @@ edx-django-utils==5.10.1
# -r requirements/test.txt
# edx-drf-extensions
# edx-rest-api-client
edx-drf-extensions==9.1.2
edx-drf-extensions==10.1.0
# via -r requirements/test.txt
edx-i18n-tools==1.3.0
# via -r requirements/local.in
Expand All @@ -250,7 +250,7 @@ exceptiongroup==1.2.0
# pytest
factory-boy==3.3.0
# via -r requirements/test.txt
faker==22.5.0
faker==22.6.0
# via
# -r requirements/test.txt
# factory-boy
Expand Down Expand Up @@ -321,7 +321,7 @@ monotonic==1.6
# via
# -r requirements/test.txt
# analytics-python
moto==4.2.13
moto==5.0.0
# via -r requirements/test.txt
newrelic==5.24.0.153
# via
Expand Down Expand Up @@ -359,7 +359,7 @@ platformdirs==4.1.0
# pylint
# tox
# virtualenv
pluggy==1.3.0
pluggy==1.4.0
# via
# -r requirements/test.txt
# pytest
Expand Down Expand Up @@ -427,14 +427,14 @@ pyproject-api==1.6.1
# via
# -r requirements/test.txt
# tox
pytest==7.4.4
pytest==8.0.0
# via
# -r requirements/test.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
# via -r requirements/test.txt
pytest-django==4.7.0
pytest-django==4.8.0
# via -r requirements/test.txt
python-dateutil==2.8.2
# via
Expand All @@ -454,7 +454,7 @@ python3-openid==3.2.0
# via
# -r requirements/test.txt
# social-auth-core
pytz==2023.3.post1
pytz==2023.4
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand Down Expand Up @@ -539,7 +539,7 @@ social-auth-app-django==5.4.0
# via
# -r requirements/test.txt
# edx-auth-backends
social-auth-core==4.5.1
social-auth-core==4.5.2
# via
# -r requirements/test.txt
# edx-auth-backends
Expand Down
Loading
Loading