Skip to content

Commit 09b1633

Browse files
Merge branch 'major/3.0' into webb/openai-agents/remove-transactions
2 parents ec91534 + 05de28f commit 09b1633

42 files changed

Lines changed: 8310 additions & 19872 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/test-integrations-network.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
run: |
4242
set -x # print commands that are executed
4343
./scripts/runtox.sh "py${{ matrix.python-version }}-grpc"
44-
- name: Test httpx
44+
- name: Test httpx0
4545
run: |
4646
set -x # print commands that are executed
47-
./scripts/runtox.sh "py${{ matrix.python-version }}-httpx"
47+
./scripts/runtox.sh "py${{ matrix.python-version }}-httpx0"
4848
- name: Test httpx2
4949
run: |
5050
set -x # print commands that are executed

‎pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ typing = [
7777
"anthropic>=1.2.0",
7878
"google-genai>=2.21.0",
7979
"openai>=3.7.0",
80+
"tiktoken>=0.14.0",
81+
"aiohttp>=3.14.3",
8082
]
8183
test = [
8284
"dataclasses ; python_full_version < '3.7'",

‎scripts/populate_tox/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ a Python version older than 3.9 if the HTTPX version is 0.28 or higher, you can
146146
say:
147147

148148
```python
149-
"httpx": {
149+
"httpx0": {
150150
"python": {
151151
# run the test suite for httpx v0.28+ on Python 3.9+ only
152152
">=0.28": ">=3.9",

‎scripts/populate_tox/config.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,9 @@
196196
],
197197
},
198198
},
199-
"httpx": {
199+
"httpx0": {
200200
"package": "httpx",
201+
"integration_name": "httpx",
201202
"deps": {
202203
"*": ["anyio>=3,<5", "pytest-asyncio"],
203204
"<0.24": ["anyio<4"],

‎scripts/split_tox_gh_actions/split_tox_gh_actions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
],
128128
"Network": [
129129
"grpc",
130-
"httpx",
130+
"httpx0",
131131
"httpx2",
132132
"pyreqwest",
133133
"requests",

‎sentry_sdk/integrations/aiohttp.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async def sentry_app_handle(
261261

262262
return response
263263

264-
Application._handle = sentry_app_handle
264+
Application._handle = sentry_app_handle # type: ignore[method-assign]
265265

266266
old_urldispatcher_resolve = UrlDispatcher.resolve
267267

@@ -301,7 +301,7 @@ async def sentry_urldispatcher_resolve(
301301

302302
return rv
303303

304-
UrlDispatcher.resolve = sentry_urldispatcher_resolve
304+
UrlDispatcher.resolve = sentry_urldispatcher_resolve # type: ignore[method-assign]
305305

306306
old_client_session_init = ClientSession.__init__
307307

@@ -314,7 +314,7 @@ def init(*args: "Any", **kwargs: "Any") -> None:
314314
kwargs["trace_configs"] = client_trace_configs
315315
return old_client_session_init(*args, **kwargs)
316316

317-
ClientSession.__init__ = init
317+
ClientSession.__init__ = init # type: ignore[method-assign]
318318

319319

320320
def create_trace_config() -> "TraceConfig":

0 commit comments

Comments
 (0)