Skip to content

Commit fbc27db

Browse files
Merge pull request #1935 from getsentry/craft-release-639ea81afd128b01092bccdd95d5f1247f97a641
update sentry_arroyo==2.38.2
2 parents 86de571 + 51cbe39 commit fbc27db

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ repos:
2121
hooks:
2222
- id: pyupgrade
2323
args: [--py311-plus]
24+
language_version: python3.11
2425
- repo: https://github.com/PyCQA/flake8
2526
rev: 7.0.0
2627
hooks:

packages.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ apt_requires =
306306
wget
307307
brew_requires = wget
308308
custom_prebuild = prebuild/librdkafka v2.8.0
309-
python_versions = <3.14
310309
[confluent-kafka==2.12.2]
311310
apt_requires =
312311
patch
@@ -2111,6 +2110,7 @@ python_versions = <3.14
21112110
[sentry-arroyo==2.37.1]
21122111
[sentry-arroyo==2.38.0]
21132112
[sentry-arroyo==2.38.1]
2113+
[sentry-arroyo==2.38.2]
21142114

21152115
[sentry-cli==2.14.3]
21162116
[sentry-cli==2.14.4]

prebuild/librdkafka

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ from __future__ import annotations
44
import argparse
55
import os
66
import subprocess
7+
import sys
78
import tempfile
89

910

@@ -34,15 +35,19 @@ def main() -> int:
3435

3536
# https://github.com/confluentinc/confluent-kafka-python/blob/cdc5f3b6b5d32c4b9f97ee4f648ad64857fb8223/tools/bootstrap-librdkafka.sh#L42
3637
print("configuring...")
37-
subprocess.check_call(
38-
(
39-
"./configure",
40-
"--enable-static",
41-
"--install-deps",
42-
f"--prefix={args.prefix}",
43-
),
44-
cwd=tmpdir,
45-
)
38+
configure_args = [
39+
"./configure",
40+
"--enable-static",
41+
"--install-deps",
42+
]
43+
# on Linux, use only bundled source deps to avoid picking up system
44+
# GSSAPI/Kerberos which auditwheel won't bundle (undefined symbol at
45+
# import time). on macOS, system deps are fine: GSSAPI is always
46+
# available as a system framework, and bundled deps fail with Xcode 16.
47+
if sys.platform == "linux":
48+
configure_args.append("--source-deps-only")
49+
configure_args.append(f"--prefix={args.prefix}")
50+
subprocess.check_call(configure_args, cwd=tmpdir)
4651

4752
print("building...")
4853
subprocess.check_call(("make", "-j", "-C", "src"), cwd=tmpdir)

0 commit comments

Comments
 (0)