Skip to content

Commit

Permalink
feat: Pin importlib-metadata globally for opentelemetry (#406)
Browse files Browse the repository at this point in the history
This will be needed for openedx/edx-django-utils#389
  • Loading branch information
timmc-edx authored Mar 12, 2024
1 parent aed87f8 commit 9e5672c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions edx_lint/files/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ elasticsearch<7.14.0

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

# 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

0 comments on commit 9e5672c

Please sign in to comment.