Skip to content

Commit abe4f90

Browse files
authored
chore: hardcode httpx to less than 0.28.0 for asgi (#14516)
While looking over the riotfile with @brettlangdon , we found that the httpx library changed how "app" is handled in the newer version so this pins the httpx version in the asgi version to less than 0.28.0. It looks like the appsec test already does this in the riotfile: https://github.com/DataDog/dd-trace-py/blob/01e267e5da4ffcc27b57a8b5148d78af088371fe/riotfile.py#L261 ## Checklist - [x] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [ ] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
1 parent fb9e2cf commit abe4f90

34 files changed

+533
-512
lines changed

.riot/requirements/10d379e.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/10d379e.in
6+
#
7+
anyio==4.10.0
8+
asgiref==3.9.1
9+
attrs==25.3.0
10+
certifi==2025.8.3
11+
coverage[toml]==7.10.6
12+
h11==0.16.0
13+
httpcore==1.0.9
14+
httpx==0.27.2
15+
hypothesis==6.45.0
16+
idna==3.10
17+
iniconfig==2.1.0
18+
mock==5.2.0
19+
opentracing==2.4.0
20+
packaging==25.0
21+
pluggy==1.6.0
22+
pygments==2.19.2
23+
pytest==8.4.2
24+
pytest-asyncio==0.21.1
25+
pytest-cov==6.2.1
26+
pytest-mock==3.15.0
27+
pytest-randomly==3.16.0
28+
sniffio==1.3.1
29+
sortedcontainers==2.4.0
30+
typing-extensions==4.15.0

.riot/requirements/1147178.txt

Lines changed: 0 additions & 34 deletions
This file was deleted.

.riot/requirements/1295cc0.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

.riot/requirements/15222a6.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

.riot/requirements/162efb6.txt

Lines changed: 0 additions & 34 deletions
This file was deleted.

.riot/requirements/3b804dc.txt renamed to .riot/requirements/166d447.txt

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,28 @@
22
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/3b804dc.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/166d447.in
66
#
7-
anyio==4.6.0
8-
asgiref==3.8.1
9-
attrs==24.2.0
10-
certifi==2024.8.30
11-
coverage[toml]==7.6.1
12-
h11==0.14.0
13-
httpcore==1.0.6
7+
anyio==4.10.0
8+
asgiref==3.9.1
9+
attrs==25.3.0
10+
certifi==2025.8.3
11+
coverage[toml]==7.10.6
12+
h11==0.16.0
13+
httpcore==1.0.9
1414
httpx==0.27.2
1515
hypothesis==6.45.0
1616
idna==3.10
17-
iniconfig==2.0.0
18-
mock==5.1.0
17+
iniconfig==2.1.0
18+
mock==5.2.0
1919
opentracing==2.4.0
20-
packaging==24.1
21-
pluggy==1.5.0
22-
pytest==8.3.3
20+
packaging==25.0
21+
pluggy==1.6.0
22+
pygments==2.19.2
23+
pytest==8.4.2
2324
pytest-asyncio==0.21.1
24-
pytest-cov==5.0.0
25-
pytest-mock==3.14.0
26-
pytest-randomly==3.15.0
25+
pytest-cov==6.2.1
26+
pytest-mock==3.15.0
27+
pytest-randomly==3.16.0
2728
sniffio==1.3.1
2829
sortedcontainers==2.4.0

.riot/requirements/19aeb31.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.8
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/19aeb31.in
6+
#
7+
anyio==4.5.2
8+
asgiref==3.0.0
9+
async-timeout==3.0.1
10+
attrs==25.3.0
11+
certifi==2025.8.3
12+
coverage[toml]==7.6.1
13+
exceptiongroup==1.3.0
14+
h11==0.16.0
15+
httpcore==1.0.9
16+
httpx==0.27.2
17+
hypothesis==6.45.0
18+
idna==3.10
19+
importlib-metadata==8.5.0
20+
iniconfig==2.1.0
21+
mock==5.2.0
22+
opentracing==2.4.0
23+
packaging==25.0
24+
pluggy==1.5.0
25+
pytest==8.3.5
26+
pytest-asyncio==0.21.1
27+
pytest-cov==5.0.0
28+
pytest-mock==3.14.1
29+
pytest-randomly==3.15.0
30+
sniffio==1.3.1
31+
sortedcontainers==2.4.0
32+
tomli==2.2.1
33+
typing-extensions==4.13.2
34+
zipp==3.20.2

.riot/requirements/1afa2b3.txt

Lines changed: 0 additions & 33 deletions
This file was deleted.

.riot/requirements/1b09fc5.txt

Lines changed: 0 additions & 33 deletions
This file was deleted.

.riot/requirements/1b5d143.txt

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)