Skip to content

Commit

Permalink
chore: python requirements update (#4212)
Browse files Browse the repository at this point in the history
* chore: python requirements update

* test: pin pytest-xdist to avoid flakiness introduced by loadscope dist changes

---------

Co-authored-by: DawoudSheraz <[email protected]>
  • Loading branch information
edx-requirements-bot and DawoudSheraz authored Dec 28, 2023
1 parent 4495f4b commit 23c1121
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 126 deletions.
5 changes: 0 additions & 5 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,3 @@ elasticsearch<7.14.0

# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected


# virtualenv latest version requires platformdirs<4.0 which conflicts with tox>4.0 version
# This constraint can be removed once the issue
# https://github.com/pypa/virtualenv/issues/2666 gets resolved
platformdirs<4.0
8 changes: 8 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,11 @@ selenium==4.12.0

# Open AI version 1.0.0 dropped support for openai.ChatCompletion which is currently in use in enterprise.
openai<=0.28.1

# Version 3.5.0 is causing some tests (learner_pathway models, test_add_provisioning_data, etc.) to fail
# all of a sudden. The v3.5.0 introduces some ordering changes in `loadscope` dist and that is causing an existing test(s)
# that do not clean up properly to cause failures. Pinning the version to unblock requirements upgrade.
# This is happening on some other open source repositories as well.
# https://github.com/PrefectHQ/prefect/pull/11229/files
# https://github.com/hyperspy/hyperspy/pull/3274
pytest-xdist < 3.5.0
2 changes: 1 addition & 1 deletion requirements/django.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
django==4.2.7
django==4.2.8
12 changes: 6 additions & 6 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ accessible-pygments==0.0.4
# via pydata-sphinx-theme
alabaster==0.7.13
# via sphinx
babel==2.13.1
babel==2.14.0
# via
# pydata-sphinx-theme
# sphinx
Expand All @@ -35,11 +35,11 @@ elasticsearch-dsl==7.4.1
# via
# -c requirements/constraints.txt
# django-elasticsearch-dsl
idna==3.4
idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==6.8.0
importlib-metadata==7.0.1
# via sphinx
jinja2==3.1.2
# via sphinx
Expand All @@ -49,9 +49,9 @@ packaging==23.2
# via
# pydata-sphinx-theme
# sphinx
pydata-sphinx-theme==0.14.3
pydata-sphinx-theme==0.14.4
# via sphinx-book-theme
pygments==2.17.1
pygments==2.17.2
# via
# accessible-pygments
# pydata-sphinx-theme
Expand Down Expand Up @@ -91,7 +91,7 @@ sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
typing-extensions==4.8.0
typing-extensions==4.9.0
# via pydata-sphinx-theme
urllib3==1.26.18
# via
Expand Down
Loading

0 comments on commit 23c1121

Please sign in to comment.