|
| 1 | +# This is a temporary solution to override the real common_constraints.txt |
| 2 | +# In edx-lint, until the pyjwt constraint in edx-lint has been removed. |
| 3 | +# See BOM-2721 for more details. |
| 4 | +# Below is the copied and edited version of common_constraints |
| 5 | + |
| 6 | +# A central location for most common version constraints |
| 7 | +# (across edx repos) for pip-installation. |
| 8 | +# |
| 9 | +# Similar to other constraint files this file doesn't install any packages. |
| 10 | +# It specifies version constraints that will be applied if a package is needed. |
| 11 | +# When pinning something here, please provide an explanation of why it is a good |
| 12 | +# idea to pin this package across all edx repos, Ideally, link to other information |
| 13 | +# that will help people in the future to remove the pin when possible. |
| 14 | +# Writing an issue against the offending project and linking to it here is good. |
| 15 | +# |
| 16 | +# Note: Changes to this file will automatically be used by other repos, referencing |
| 17 | +# this file from Github directly. It does not require packaging in edx-lint. |
| 18 | + |
| 19 | + |
| 20 | +# using LTS django version |
| 21 | +Django<5.0 |
| 22 | + |
| 23 | +# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process. |
| 24 | +# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html |
| 25 | +elasticsearch<7.14.0 |
| 26 | + |
| 27 | +# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected |
| 28 | +django-simple-history==3.0.0 |
| 29 | + |
| 30 | +# opentelemetry requires version 6.x at the moment: |
| 31 | +# https://github.com/open-telemetry/opentelemetry-python/issues/3570 |
| 32 | +# Normally this could be added as a constraint in edx-django-utils, where we're |
| 33 | +# adding the opentelemetry dependency. However, when we compile pip-tools.txt, |
| 34 | +# that uses version 7.x, and then there's no undoing that when compiling base.txt. |
| 35 | +# So we need to pin it globally, for now. |
| 36 | +# Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407 |
| 37 | +importlib-metadata<7 |
0 commit comments