Skip to content

Commit a63c825

Browse files
authored
Merge branch 'master' into fix/wrong-return-type
2 parents fd631d1 + 41ff92e commit a63c825

22 files changed

Lines changed: 1715 additions & 73 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
run: |
6060
set -x # print commands that are executed
6161
./scripts/runtox.sh "py${{ matrix.python-version }}-httpx"
62+
- name: Test httpx2
63+
run: |
64+
set -x # print commands that are executed
65+
./scripts/runtox.sh "py${{ matrix.python-version }}-httpx2"
6266
- name: Test pyreqwest
6367
run: |
6468
set -x # print commands that are executed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 2.61.1
4+
5+
### Internal Changes 🔧
6+
7+
#### Rq
8+
9+
- Pin `fakeredis<2.36.0` in tests by @alexander-alderman-webb in [#6454](https://github.com/getsentry/sentry-python/pull/6454)
10+
- Unpin `redis` and `fakeredis` for tests by @alexander-alderman-webb in [#6443](https://github.com/getsentry/sentry-python/pull/6443)
11+
12+
#### Other
13+
14+
- (aiohttp) Unfurl spans explicitly instead of using pop() by @sentrivana in [#6435](https://github.com/getsentry/sentry-python/pull/6435)
15+
- (tox) Migrate from pip to uv via tox-uv by @sentry-junior in [#6390](https://github.com/getsentry/sentry-python/pull/6390)
16+
- Pin redis<8 for rq by @sl0thentr0py in [#6438](https://github.com/getsentry/sentry-python/pull/6438)
17+
318
## 2.61.0
419

520
### New Features ✨

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
3232
author = "Sentry Team and Contributors"
3333

34-
release = "2.61.0"
34+
release = "2.61.1"
3535
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3636

3737

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ typing = [
6464
"typer",
6565
"strawberry-graphql",
6666
"httpx",
67+
"httpx2",
6768
"botocore-stubs",
6869
"werkzeug",
6970
]

scripts/populate_tox/config.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@
3535
"arq": {
3636
"package": "arq",
3737
"deps": {
38-
"*": ["async-timeout", "pytest-asyncio", "fakeredis>=2.2.0,<2.8"],
38+
"*": ["async-timeout", "pytest-asyncio", "fakeredis"],
3939
"<=0.23": ["pydantic<2"],
40+
# https://github.com/cunla/fakeredis-py/issues/490
41+
"py3.6,py3.7,py3.8": ["fakeredis<2.36.0"],
4042
},
4143
"num_versions": 2,
4244
},
@@ -200,6 +202,13 @@
200202
">=0.28": ">=3.9",
201203
},
202204
},
205+
"httpx2": {
206+
"package": "httpx2",
207+
"deps": {
208+
"*": ["anyio>=3,<5", "httpx2-pytest==1.0.1"],
209+
},
210+
"python": ">=3.10",
211+
},
203212
"huey": {
204213
"package": "huey",
205214
"num_versions": 2,
@@ -393,6 +402,11 @@
393402
# https://github.com/jamesls/fakeredis/issues/245
394403
# https://github.com/cunla/fakeredis-py/issues/341
395404
"*": ["fakeredis"],
405+
# RQ commit https://github.com/rq/rq/commit/64cb1a27b9d1f2fd52bbbb5c1e4518c024f74685
406+
# introduced unguarded access to "addr" from the CLIENT LIST command.
407+
# The default "addr" value was removed in https://github.com/cunla/fakeredis-py/commit/0441288fb22c8c191fc716b561e0001cf512abe5.
408+
# from fakeredis.
409+
">=1.1.14": ["fakeredis<2.36.0"],
396410
"<0.9": ["fakeredis<1.0", "redis<3.2.2"],
397411
">=0.9,<0.14": ["fakeredis>=1.0,<1.7.4"],
398412
"py3.6,py3.7": ["fakeredis!=2.26.0"],

scripts/populate_tox/package_dependencies.jsonl

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/populate_tox/releases.jsonl

Lines changed: 17 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/split_tox_gh_actions/split_tox_gh_actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"Network": [
125125
"grpc",
126126
"httpx",
127+
"httpx2",
127128
"pyreqwest",
128129
"requests",
129130
],

sentry_sdk/client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,14 @@ def _setup_instrumentation(
507507
for function in functions_to_trace:
508508
class_name = None
509509
function_qualname = function["qualified_name"]
510+
511+
if "." not in function_qualname:
512+
logger.warning(
513+
"Can not enable tracing for '%s'. Please provide the fully qualified name including the module (e.g. 'mymodule.my_function').",
514+
function_qualname,
515+
)
516+
continue
517+
510518
module_name, function_name = function_qualname.rsplit(".", 1)
511519

512520
try:

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,4 +1745,4 @@ def _get_default_options() -> "dict[str, Any]":
17451745
del _get_default_options
17461746

17471747

1748-
VERSION = "2.61.0"
1748+
VERSION = "2.61.1"

0 commit comments

Comments
 (0)