-
Notifications
You must be signed in to change notification settings - Fork 701
ISSUE-3317: Remove maximum version constraint, increase minimum version on starlette by fixing unit tests #3456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
695c345
8135dc5
b6ac320
4d4e2de
b473e8e
08df2be
92ef8a0
82d860b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -17,31 +17,37 @@ | |||||
# opentelemetry-instrumentation-asgi | ||||||
# opentelemetry-instrumentation-starlette | ||||||
anyio==4.5.2 ; python_full_version < '3.9' | ||||||
# via httpx | ||||||
anyio==4.8.0 ; python_full_version >= '3.9' | ||||||
# via httpx | ||||||
asgiref==3.8.1 | ||||||
# via | ||||||
# httpx | ||||||
# starlette | ||||||
anyio==4.9.0 ; python_full_version >= '3.9' | ||||||
# via | ||||||
# httpx | ||||||
# starlette | ||||||
asgiref==3.0.0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you downgrading this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All changes to oldest.txt and latest.txt were obtained by running the 'uv pip compile' commands which were listed on top of the respective files. Should I manually adjust them or should the pip compile command be changed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What command did you run? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. using uv 0.6.14: Line 2 in 82d860b
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note that if a package version in oldest.txt was manually increased, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can for example see that here, 3.0 is the minimum allowed: opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-asgi/pyproject.toml Line 29 in 82d860b
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @aabmass, do you remember manually changing things after running the |
||||||
# via opentelemetry-instrumentation-asgi | ||||||
certifi==2025.1.31 | ||||||
async-timeout==3.0.1 | ||||||
# via asgiref | ||||||
certifi==2025.4.26 | ||||||
# via | ||||||
# httpcore | ||||||
# httpx | ||||||
# requests | ||||||
charset-normalizer==3.4.1 | ||||||
charset-normalizer==3.4.2 | ||||||
# via requests | ||||||
colorama==0.4.6 ; sys_platform == 'win32' | ||||||
# via pytest | ||||||
deprecated==1.2.14 | ||||||
deprecated==1.2.18 | ||||||
# via | ||||||
# opentelemetry-api | ||||||
# opentelemetry-semantic-conventions | ||||||
exceptiongroup==1.2.2 ; python_full_version < '3.11' | ||||||
# via | ||||||
# anyio | ||||||
# pytest | ||||||
h11==0.14.0 | ||||||
h11==0.16.0 | ||||||
# via httpcore | ||||||
httpcore==1.0.7 | ||||||
httpcore==1.0.9 | ||||||
# via httpx | ||||||
httpx==0.28.0 | ||||||
# via -r instrumentation/opentelemetry-instrumentation-starlette/test-requirements.in | ||||||
|
@@ -54,14 +60,18 @@ importlib-metadata==8.5.0 ; python_full_version < '3.9' | |||||
# via opentelemetry-api | ||||||
importlib-metadata==8.6.1 ; python_full_version >= '3.9' | ||||||
# via opentelemetry-api | ||||||
iniconfig==2.0.0 | ||||||
iniconfig==2.1.0 | ||||||
# via pytest | ||||||
packaging==24.0 | ||||||
packaging==18.0 | ||||||
# via | ||||||
# opentelemetry-instrumentation | ||||||
# pytest | ||||||
pluggy==1.5.0 | ||||||
# via pytest | ||||||
pyparsing==3.1.4 ; python_full_version < '3.9' | ||||||
# via packaging | ||||||
pyparsing==3.2.3 ; python_full_version >= '3.9' | ||||||
# via packaging | ||||||
pytest==7.4.4 | ||||||
# via | ||||||
# -c dev-requirements.txt | ||||||
|
@@ -70,21 +80,23 @@ requests==2.32.3 | |||||
# via | ||||||
# -c dev-requirements.txt | ||||||
# -r instrumentation/opentelemetry-instrumentation-starlette/test-requirements.in | ||||||
six==1.17.0 | ||||||
# via packaging | ||||||
sniffio==1.3.1 | ||||||
# via anyio | ||||||
starlette==0.13.8 | ||||||
starlette==0.37.2 | ||||||
# via opentelemetry-instrumentation-starlette | ||||||
tomli==2.2.1 ; python_full_version < '3.11' | ||||||
# via pytest | ||||||
typing-extensions==4.12.2 ; python_full_version < '3.13' | ||||||
typing-extensions==4.13.2 ; python_full_version < '3.13' | ||||||
# via | ||||||
# anyio | ||||||
# asgiref | ||||||
# starlette | ||||||
urllib3==2.2.3 ; python_full_version < '3.9' | ||||||
# via requests | ||||||
urllib3==2.3.0 ; python_full_version >= '3.9' | ||||||
urllib3==2.4.0 ; python_full_version >= '3.9' | ||||||
# via requests | ||||||
wrapt==1.16.0 | ||||||
wrapt==1.10.0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is strange There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was supposed to not work on this version and raise an error like: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is failing with that error (as was expected?). I got these new versions of oldest.txt and latest.txt by using the 'uv pip compile' commands in the respective files. Should these commands be updated, or should I update the '.in' file? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @emdneto did you manually change the version of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @MattiasDC could you please change the ".in" file to
and run uv pip compile command again? |
||||||
# via | ||||||
# deprecated | ||||||
# opentelemetry-instrumentation | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason we picked 0.37.2?