Skip to content

Commit

Permalink
chore: compile requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Apr 1, 2024
1 parent 620516c commit 900fad0
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 3 deletions.
11 changes: 10 additions & 1 deletion requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,19 @@


# using LTS django version

Django<5.0

# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html
elasticsearch<7.14.0

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

# opentelemetry requires version 6.x at the moment:
# https://github.com/open-telemetry/opentelemetry-python/issues/3570
# Normally this could be added as a constraint in edx-django-utils, where we're
# adding the opentelemetry dependency. However, when we compile pip-tools.txt,
# that uses version 7.x, and then there's no undoing that when compiling base.txt.
# So we need to pin it globally, for now.
# Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407
importlib-metadata<7
5 changes: 4 additions & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ deprecated==1.2.14
# via jwcrypto
django==4.2.11
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/kernel.in
# django-appconf
# django-celery-results
Expand Down Expand Up @@ -610,7 +611,9 @@ idna==3.4
# snowflake-connector-python
# yarl
importlib-metadata==6.8.0
# via markdown
# via
# -c requirements/edx/../common_constraints.txt
# markdown
importlib-resources==6.1.0
# via
# jsonschema
Expand Down
2 changes: 2 additions & 0 deletions requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ distlib==0.3.7
# virtualenv
django==4.2.11
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
# django-appconf
Expand Down Expand Up @@ -1011,6 +1012,7 @@ import-linter==1.12.0
# via -r requirements/edx/testing.txt
importlib-metadata==6.8.0
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/../pip-tools.txt
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down
2 changes: 2 additions & 0 deletions requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ deprecated==1.2.14
# jwcrypto
django==4.2.11
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/base.txt
# django-appconf
# django-celery-results
Expand Down Expand Up @@ -711,6 +712,7 @@ imagesize==1.4.1
# via sphinx
importlib-metadata==6.8.0
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/base.txt
# markdown
# sphinx
Expand Down
2 changes: 2 additions & 0 deletions requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ distlib==0.3.7
# via virtualenv
django==4.2.11
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/base.txt
# django-appconf
# django-celery-results
Expand Down Expand Up @@ -767,6 +768,7 @@ import-linter==1.12.0
# via -r requirements/edx/testing.in
importlib-metadata==6.8.0
# via
# -c requirements/edx/../common_constraints.txt
# -r requirements/edx/base.txt
# markdown
# pytest-randomly
Expand Down
4 changes: 3 additions & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ click==8.1.6
# -c requirements/constraints.txt
# pip-tools
importlib-metadata==6.8.0
# via build
# via
# -c requirements/common_constraints.txt
# build
packaging==23.2
# via build
pip-tools==7.3.0
Expand Down

0 comments on commit 900fad0

Please sign in to comment.