Skip to content

Commit

Permalink
Python Requirements Update (#33737)
Browse files Browse the repository at this point in the history
* chore: Updating Python Requirements
* fix: fix test failure occurring due to faker upgrade
---------

Co-authored-by: UsamaSadiq <[email protected]>
  • Loading branch information
edx-requirements-bot and UsamaSadiq authored Nov 17, 2023
1 parent 104d42c commit c240fd8
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 92 deletions.
4 changes: 3 additions & 1 deletion openedx/core/djangoapps/catalog/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ def generate_zulu_datetime():
The catalog returns UTC datetimes formatted using Z, the zone designator
for the zero UTC offset, not the +00:00 offset. For more, see
https://en.wikipedia.org/wiki/ISO_8601#UTC.
Faker.date_time() now returns time with sub-seconds in %S.%f format
but we don't need the sub_seconds precision, only the whole seconds
"""
return fake.date_time().isoformat() + 'Z'
return fake.date_time().isoformat().split('.')[0] + 'Z'


def generate_price_ranges():
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx-sandbox/py38.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cryptography==38.0.4
# -r requirements/edx-sandbox/py38.in
cycler==0.12.1
# via matplotlib
fonttools==4.44.0
fonttools==4.44.3
# via matplotlib
importlib-resources==6.1.1
# via matplotlib
Expand Down
39 changes: 20 additions & 19 deletions requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ appdirs==1.4.4
asgiref==3.7.2
# via
# django
# django-cors-headers
# django-countries
asn1crypto==1.5.1
# via snowflake-connector-python
Expand Down Expand Up @@ -81,13 +82,13 @@ boto==2.39.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/kernel.in
boto3==1.28.83
boto3==1.29.2
# via
# -r requirements/edx/kernel.in
# django-ses
# fs-s3fs
# ora2
botocore==1.31.83
botocore==1.32.2
# via
# -r requirements/edx/kernel.in
# boto3
Expand Down Expand Up @@ -271,7 +272,7 @@ django-config-models==2.5.1
# edx-enterprise
# edx-name-affirmation
# lti-consumer-xblock
django-cors-headers==4.3.0
django-cors-headers==4.3.1
# via -r requirements/edx/kernel.in
django-countries==7.5.1
# via
Expand Down Expand Up @@ -664,17 +665,17 @@ jsonfield==3.1.0
# edx-submissions
# lti-consumer-xblock
# ora2
jsonschema==4.19.2
jsonschema==4.20.0
# via
# drf-spectacular
# optimizely-sdk
jsonschema-specifications==2023.7.1
jsonschema-specifications==2023.11.1
# via jsonschema
jwcrypto==1.5.0
# via
# django-oauth-toolkit
# pylti1p3
kombu==5.3.3
kombu==5.3.4
# via celery
laboratory==1.0.2
# via -r requirements/edx/kernel.in
Expand Down Expand Up @@ -754,7 +755,7 @@ mysqlclient==2.2.0
# via
# -r requirements/edx/kernel.in
# openedx-blockstore
newrelic==9.1.1
newrelic==9.2.0
# via
# -r requirements/edx/bundled.in
# edx-django-utils
Expand All @@ -777,7 +778,7 @@ oauthlib==3.2.2
# social-auth-core
olxcleaner==0.2.1
# via -r requirements/edx/kernel.in
openai==1.2.2
openai==1.3.2
# via edx-enterprise
openedx-atlas==0.5.0
# via -r requirements/edx/kernel.in
Expand All @@ -793,7 +794,7 @@ openedx-django-require==2.1.0
# via -r requirements/edx/kernel.in
openedx-django-wiki==2.0.3
# via -r requirements/edx/kernel.in
openedx-events==9.0.1
openedx-events==9.1.0
# via
# -r requirements/edx/kernel.in
# edx-event-bus-kafka
Expand All @@ -810,7 +811,7 @@ openedx-mongodbproxy==0.2.0
# via -r requirements/edx/kernel.in
optimizely-sdk==4.1.1
# via -r requirements/edx/bundled.in
ora2==6.0.2
ora2==6.0.3
# via -r requirements/edx/bundled.in
packaging==23.2
# via
Expand Down Expand Up @@ -856,7 +857,7 @@ platformdirs==3.11.0
# snowflake-connector-python
polib==1.2.0
# via edx-i18n-tools
prompt-toolkit==3.0.40
prompt-toolkit==3.0.41
# via click-repl
psutil==5.9.6
# via
Expand All @@ -878,9 +879,9 @@ pycryptodomex==3.19.0
# edx-proctoring
# lti-consumer-xblock
# pyjwkest
pydantic==2.4.2
pydantic==2.5.1
# via openai
pydantic-core==2.10.1
pydantic-core==2.14.3
# via pydantic
pygments==2.16.1
# via
Expand Down Expand Up @@ -1002,7 +1003,7 @@ redis==5.0.1
# via
# -r requirements/edx/kernel.in
# walrus
referencing==0.30.2
referencing==0.31.0
# via
# jsonschema
# jsonschema-specifications
Expand Down Expand Up @@ -1034,7 +1035,7 @@ requests-oauthlib==1.3.1
# via
# -r requirements/edx/kernel.in
# social-auth-core
rpds-py==0.12.0
rpds-py==0.13.0
# via
# jsonschema
# referencing
Expand Down Expand Up @@ -1107,7 +1108,7 @@ sniffio==1.3.0
# via
# anyio
# httpx
snowflake-connector-python==3.4.1
snowflake-connector-python==3.5.0
# via edx-enterprise
social-auth-app-django==5.0.0
# via
Expand Down Expand Up @@ -1156,7 +1157,7 @@ text-unidecode==1.3
# via python-slugify
tinycss2==1.2.1
# via bleach
tomlkit==0.12.2
tomlkit==0.12.3
# via snowflake-connector-python
tqdm==4.66.1
# via
Expand Down Expand Up @@ -1204,13 +1205,13 @@ vine==5.1.0
# amqp
# celery
# kombu
voluptuous==0.13.1
voluptuous==0.14.1
# via ora2
walrus==0.9.3
# via edx-event-bus-redis
watchdog==3.0.0
# via -r requirements/edx/paver.txt
wcwidth==0.2.9
wcwidth==0.2.10
# via prompt-toolkit
web-fragments==2.1.0
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ chardet==5.2.0
# via diff-cover
coverage==7.3.2
# via -r requirements/edx/coverage.in
diff-cover==8.0.0
diff-cover==8.0.1
# via -r requirements/edx/coverage.in
jinja2==3.1.2
# via diff-cover
Expand Down
45 changes: 23 additions & 22 deletions requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ asgiref==3.7.2
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# django
# django-cors-headers
# django-countries
asn1crypto==1.5.1
# via
Expand Down Expand Up @@ -150,14 +151,14 @@ boto==2.39.0
# -c requirements/edx/../constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
boto3==1.28.83
boto3==1.29.2
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# django-ses
# fs-s3fs
# ora2
botocore==1.31.83
botocore==1.32.2
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -340,7 +341,7 @@ deprecated==1.2.14
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# jwcrypto
diff-cover==8.0.0
diff-cover==8.0.1
# via -r requirements/edx/testing.txt
dill==0.3.7
# via
Expand Down Expand Up @@ -456,7 +457,7 @@ django-config-models==2.5.1
# edx-enterprise
# edx-name-affirmation
# lti-consumer-xblock
django-cors-headers==4.3.0
django-cors-headers==4.3.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -912,7 +913,7 @@ execnet==2.0.2
# pytest-xdist
factory-boy==3.3.0
# via -r requirements/edx/testing.txt
faker==19.13.0
faker==20.0.3
# via
# -r requirements/edx/testing.txt
# factory-boy
Expand Down Expand Up @@ -1108,14 +1109,14 @@ jsonfield==3.1.0
# edx-submissions
# lti-consumer-xblock
# ora2
jsonschema==4.19.2
jsonschema==4.20.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# drf-spectacular
# optimizely-sdk
# sphinxcontrib-openapi
jsonschema-specifications==2023.7.1
jsonschema-specifications==2023.11.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand All @@ -1126,7 +1127,7 @@ jwcrypto==1.5.0
# -r requirements/edx/testing.txt
# django-oauth-toolkit
# pylti1p3
kombu==5.3.3
kombu==5.3.4
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1262,7 +1263,7 @@ mysqlclient==2.2.0
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# openedx-blockstore
newrelic==9.1.1
newrelic==9.2.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1297,7 +1298,7 @@ olxcleaner==0.2.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
openai==1.2.2
openai==1.3.2
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1328,7 +1329,7 @@ openedx-django-wiki==2.0.3
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
openedx-events==9.0.1
openedx-events==9.1.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand All @@ -1352,7 +1353,7 @@ optimizely-sdk==4.1.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
ora2==6.0.2
ora2==6.0.3
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1448,7 +1449,7 @@ polib==1.2.0
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# edx-i18n-tools
prompt-toolkit==3.0.40
prompt-toolkit==3.0.41
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1492,13 +1493,13 @@ pycryptodomex==3.19.0
# edx-proctoring
# lti-consumer-xblock
# pyjwkest
pydantic==2.4.2
pydantic==2.5.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# fastapi
# openai
pydantic-core==2.10.1
pydantic-core==2.14.3
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1649,7 +1650,7 @@ pytest-metadata==1.8.0
# pytest-json-report
pytest-randomly==3.15.0
# via -r requirements/edx/testing.txt
pytest-xdist[psutil]==3.3.1
pytest-xdist[psutil]==3.4.0
# via
# -r requirements/edx/testing.txt
# pytest-xdist
Expand Down Expand Up @@ -1745,7 +1746,7 @@ redis==5.0.1
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# walrus
referencing==0.30.2
referencing==0.31.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1787,7 +1788,7 @@ requests-oauthlib==1.3.1
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# social-auth-core
rpds-py==0.12.0
rpds-py==0.13.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -1901,7 +1902,7 @@ snowballstemmer==2.2.0
# via
# -r requirements/edx/doc.txt
# sphinx
snowflake-connector-python==3.4.1
snowflake-connector-python==3.5.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -2054,7 +2055,7 @@ tomli==2.0.1
# pyproject-hooks
# pytest
# tox
tomlkit==0.12.2
tomlkit==0.12.3
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down Expand Up @@ -2154,7 +2155,7 @@ virtualenv==20.24.6
# via
# -r requirements/edx/testing.txt
# tox
voluptuous==0.13.1
voluptuous==0.14.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand All @@ -2171,7 +2172,7 @@ watchdog==3.0.0
# -r requirements/edx/development.in
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
wcwidth==0.2.9
wcwidth==0.2.10
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down
Loading

0 comments on commit c240fd8

Please sign in to comment.