Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sentry-sdk for 
openSUSE:Factory checked in at 2026-08-01 18:30:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sentry-sdk (Old)
 and      /work/SRC/openSUSE:Factory/.python-sentry-sdk.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sentry-sdk"

Sat Aug  1 18:30:23 2026 rev:45 rq:1368544 version:2.66.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sentry-sdk/python-sentry-sdk.changes      
2026-06-19 17:21:57.423273323 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sentry-sdk.new.16738/python-sentry-sdk.changes
   2026-08-01 18:31:47.196870518 +0200
@@ -1,0 +2,54 @@
+Sun Jul 26 23:45:23 UTC 2026 - Matej Cepl <[email protected]>
+
+- Update to 2.66.1:
+  - Bug Fixes 
+  - Tracing
+    - Handle exceptions raised within traces_sampler and other
+      callbacks
+- Update to 2.66.0:
+  - New Features 
+    - (tracing) Promote trace_lifecycle and ignore_spans to
+      top-level options
+  - Tracing
+    - Skip child span creation in streaming path when no current
+      span
+- Update to 2.65.0:
+  - Huey
+    - Set messaging.destination.name on consumer spans
+    - Set messaging.destination.name on producer spans
+  - Other
+    - (arq) Set messaging.destination.name on consumer spans
+    - (dramatiq) Set messaging.destination.name on consumer spans
+    - (rq) Set messaging.destination.name on consumer spans
+  - Tracing
+    - Take first sentry-trace header in case multiple are
+      supplied
+  - Other
+    - (django) Avoid ValueError in async middleware process_*
+      hooks
+    - (scope) Drop None user attribute values in set_user
+    - (starlette) Don't overwrite user set during request in
+      AuthenticationMiddleware
+- Update to 2.64.0:
+  - The SDK now extracts all gen_ai spans out of a transaction
+    and sends them as v2 envelope items gen_ai spans from being
+    dropped when the transaction payload exceeds size limits.
+    Because they are no longer constrained truncated. To keep the
+    previous behavior, set stream_gen_ai_spans=False.
+  - Self-hosted Sentry users should opt out with
+    stream_gen_ai_spans=False, since streamed gen_ai spans may
+    not be ingested
+  - Documentation 
+    - Add light/dark logos
+    - Fix typos
+  - Other
+    - (test): exclude django 6.1 alphas and betas from tox
+    - (test): need to include the alpha tag for mcp package
+      inclusion
+- Add fix-flaky-test-sessions-aggregates.patch:
+  - Freeze datetime inside test_sessions.py to prevent flaky
+    minute-boundary failure (assert 2 == 1 on len(aggregates))
+- Exclude %arm32 and %ix86 architectures (32bit doesn’t seem to
+  be supported)
+
+-------------------------------------------------------------------

Old:
----
  sentry-python-2.63.0.tar.gz

New:
----
  fix-flaky-test-sessions-aggregates.patch
  sentry-python-2.66.1.tar.gz

----------(New B)----------
  New:      inclusion
- Add fix-flaky-test-sessions-aggregates.patch:
  - Freeze datetime inside test_sessions.py to prevent flaky
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sentry-sdk.spec ++++++
--- /var/tmp/diff_new_pack.ckjhtW/_old  2026-08-01 18:31:49.076934616 +0200
+++ /var/tmp/diff_new_pack.ckjhtW/_new  2026-08-01 18:31:49.088935041 +0200
@@ -19,7 +19,7 @@
 # nothing provides python2-venusian >= 1.0 needed by python2-pyramid
 %{?sle15_python_module_pythons}
 Name:           python-sentry-sdk
-Version:        2.63.0
+Version:        2.66.1
 Release:        0
 Summary:        Python SDK for Sentry.io
 License:        BSD-2-Clause
@@ -31,6 +31,9 @@
 # PATCH-FIX-OPENSUSE build-pytest.patch [email protected]
 # switch off test coverage
 Patch1:         build-pytest.patch
+# PATCH-FIX-UPSTREAM fix-flaky-test-sessions-aggregates.patch [email protected]
+# freeze datetime in test_sessions.py to avoid flaky minute-boundary failure
+Patch2:         fix-flaky-test-sessions-aggregates.patch
 BuildRequires:  %{python_module Flask >= 1.0}
 BuildRequires:  %{python_module MarkupSafe}
 BuildRequires:  %{python_module SQLAlchemy >= 1.2}
@@ -142,6 +145,7 @@
 #Requires:       python-fastapi >= 0.79.0}
 # /SECTION
 BuildArch:      noarch
+ExcludeArch:    %arm32 %ix86
 %python_subpackages
 
 %description

++++++ build-pytest.patch ++++++
--- /var/tmp/diff_new_pack.ckjhtW/_old  2026-08-01 18:31:49.296942395 +0200
+++ /var/tmp/diff_new_pack.ckjhtW/_new  2026-08-01 18:31:49.324943386 +0200
@@ -2,11 +2,11 @@
  pyproject.toml |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: sentry-python-2.63.0/pyproject.toml
+Index: sentry-python-2.66.1/pyproject.toml
 ===================================================================
---- sentry-python-2.63.0.orig/pyproject.toml
-+++ sentry-python-2.63.0/pyproject.toml
-@@ -102,7 +102,7 @@ exclude_also = [
+--- sentry-python-2.66.1.orig/pyproject.toml   2026-07-27 01:34:53.763076712 
+0200
++++ sentry-python-2.66.1/pyproject.toml        2026-07-27 01:34:58.740805441 
+0200
+@@ -111,7 +111,7 @@
  #
  
  [tool.pytest.ini_options]

++++++ dont-walk-iterate.patch ++++++
--- /var/tmp/diff_new_pack.ckjhtW/_old  2026-08-01 18:31:49.424946922 +0200
+++ /var/tmp/diff_new_pack.ckjhtW/_new  2026-08-01 18:31:49.428947062 +0200
@@ -2,11 +2,11 @@
  tests/test_shadowed_module.py |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: sentry-python-2.60.0/tests/test_shadowed_module.py
+Index: sentry-python-2.66.1/tests/test_shadowed_module.py
 ===================================================================
---- sentry-python-2.60.0.orig/tests/test_shadowed_module.py    2026-05-13 
15:19:14.000000000 +0200
-+++ sentry-python-2.60.0/tests/test_shadowed_module.py 2026-05-27 
11:59:07.078442898 +0200
-@@ -20,7 +20,7 @@
+--- sentry-python-2.66.1.orig/tests/test_shadowed_module.py    2026-07-27 
01:34:53.808077562 +0200
++++ sentry-python-2.66.1/tests/test_shadowed_module.py 2026-07-27 
01:34:56.489405081 +0200
+@@ -21,7 +21,7 @@
      if "integration_submodule_name" in metafunc.fixturenames:
          submodule_names = {
              submodule_name

++++++ fix-flaky-test-sessions-aggregates.patch ++++++
Index: sentry-python-2.66.1/tests/test_sessions.py
===================================================================
--- sentry-python-2.66.1.orig/tests/test_sessions.py    2026-07-22 
14:00:48.000000000 +0200
+++ sentry-python-2.66.1/tests/test_sessions.py 2026-07-27 01:43:09.031441923 
+0200
@@ -1,9 +1,22 @@
+from datetime import datetime, timezone
 from unittest import mock
 
+import pytest
+
 import sentry_sdk
 from sentry_sdk.sessions import auto_session_tracking, track_session
 
 
[email protected](autouse=True)
+def freeze_session_time():
+    frozen_time = datetime(2026, 7, 26, 17, 43, 0, tzinfo=timezone.utc)
+    with mock.patch("sentry_sdk.session.datetime") as mock_datetime:
+        mock_datetime.now.return_value = frozen_time
+        mock_datetime.side_effect = lambda *args, **kw: datetime(*args, **kw)
+        mock_datetime.timezone = timezone
+        yield
+
+
 def sorted_aggregates(item):
     aggregates = item["aggregates"]
     aggregates.sort(key=lambda item: (item["started"], item.get("did", "")))

++++++ sentry-python-2.63.0.tar.gz -> sentry-python-2.66.1.tar.gz ++++++
++++ 54724 lines of diff (skipped)

Reply via email to