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-05-29 18:11:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sentry-sdk (Old)
and /work/SRC/openSUSE:Factory/.python-sentry-sdk.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sentry-sdk"
Fri May 29 18:11:39 2026 rev:43 rq:1355845 version:2.60.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sentry-sdk/python-sentry-sdk.changes
2025-10-06 18:07:55.826773092 +0200
+++
/work/SRC/openSUSE:Factory/.python-sentry-sdk.new.1937/python-sentry-sdk.changes
2026-05-29 18:13:27.638267107 +0200
@@ -1,0 +2,23 @@
+Thu May 28 22:18:29 UTC 2026 - Matej Cepl <[email protected]>
+
+- Add dont-walk-iterate.patch to stop `test_shadowed_module.py`
+ from recursively walking subpackages. Currently,
+ `walk_packages()` descends into names like django.views,
+ redis.asyncio, celery.backends, etc. The test then invents
+ imports such as `sentry_sdk.integrations.django.views.static`,
+ which are not real Sentry SDK modules. We change it into
+ `iter_modules()` which only tests direct modules under
+ `sentry_sdk.integrations`, and that is what the test actually
+ needs.
+- Add build-pytest.patch - don't generate test coverage (save
+ memory).
+
+-------------------------------------------------------------------
+Tue May 26 22:55:34 UTC 2026 - Matej Cepl <[email protected]>
+
+- Update to 2.60.0:
+ - The list is too long … see patched CHANGELOG.md packaged.
+- Remove upstreamed release.patch.
+- Use %python_compileall macro instead.
+
+-------------------------------------------------------------------
Old:
----
release.patch
sentry-python-2.39.0.tar.gz
New:
----
build-pytest.patch
dont-walk-iterate.patch
sentry-python-2.60.0.tar.gz
----------(Old B)----------
Old: - The list is too long … see patched CHANGELOG.md packaged.
- Remove upstreamed release.patch.
- Use %python_compileall macro instead.
----------(Old E)----------
----------(New B)----------
New: needs.
- Add build-pytest.patch - don't generate test coverage (save
memory).
New:
- Add dont-walk-iterate.patch to stop `test_shadowed_module.py`
from recursively walking subpackages. Currently,
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sentry-sdk.spec ++++++
--- /var/tmp/diff_new_pack.OTPYQ6/_old 2026-05-29 18:13:29.910361591 +0200
+++ /var/tmp/diff_new_pack.OTPYQ6/_new 2026-05-29 18:13:29.914361756 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sentry-sdk
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,18 @@
# nothing provides python2-venusian >= 1.0 needed by python2-pyramid
%{?sle15_python_module_pythons}
Name: python-sentry-sdk
-Version: 2.39.0
+Version: 2.60.0
Release: 0
Summary: Python SDK for Sentry.io
License: BSD-2-Clause
URL: https://github.com/getsentry/sentry-python
Source0:
https://github.com/getsentry/sentry-python/archive/%{version}/sentry-python-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM https://github.com/getsentry/sentry-python/pull/4879
fix(tests): Don't assume release is set
-Patch: release.patch
-BuildRequires: %{python_module Django >= 2.0}
+# PATCH-FIX-UPSTREAM dont-walk-iterate.patch bugno [email protected]
+# stop test_shadowed_module.py from recursively walking subpackages
+Patch0: dont-walk-iterate.patch
+# PATCH-FIX-OPENSUSE build-pytest.patch [email protected]
+# switch off test coverage
+Patch1: build-pytest.patch
BuildRequires: %{python_module Flask >= 1.0}
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module SQLAlchemy >= 1.2}
@@ -55,10 +58,10 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
+BuildRequires: gdal
BuildRequires: %{python_module Brotli}
BuildRequires: %{python_module PySocks}
BuildRequires: %{python_module Werkzeug}
-BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module fastapi >= 0.79.0}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module greenlet}
@@ -67,14 +70,16 @@
BuildRequires: %{python_module jsonschema >= 3.2.0}
BuildRequires: %{python_module pyramid}
BuildRequires: %{python_module pyrsistent >= 0.16.0}
-BuildRequires: %{python_module pytest-asyncio}
-BuildRequires: %{python_module pytest-cov >= 2.8.1}
+BuildRequires: %{python_module pytest-asyncio >= 0.24.0}
BuildRequires: %{python_module pytest-forked >= 1.4.0}
BuildRequires: %{python_module pytest-localserver >= 0.5.1}
+BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module responses}
# /SECTION
# SECTION test requirements - which rise up buildtime error or missing in
openSUSE
+#BuildRequires: %%{python_module Django >= 2.0}
+#BuildRequires: %%{python_module eventlet}
#BuildRequires: %%{python_module pytest-watch >= 4.2.0}
# /SECTION
# SECTION extra requirements - which rise up buildtime error or missing in
openSUSE
@@ -118,6 +123,7 @@
Suggests: python-starlette >= 0.19.1
Suggests: python-tornado >= 6
Suggests: python-h2
+Suggests: gdal
# SECTION extra requirements - which rise up buildtime error or missing in
openSUSE
#Requires: python-sanic >= 0.8
#Requires: python-apache-beam >= 2.12
@@ -153,17 +159,19 @@
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
find . -name '*.pyc' -exec rm -f '{}' ';'
-python%python_bin_suffix -m compileall *.py ';'
+%python_compileall
popd
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTEST_ADDOPTS="-W ignore::DeprecationWarning"
-export DJANGO_SETTINGS_MODULE=tests.conftest
# do not test integration (many package are missing at SUSE):
rm -r tests/integrations
IGNORED_CHECKS="(test_default_release and test_utils)"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_socks_proxy or
test_datetime_from_isoformat"
+IGNORED_CHECKS="${IGNORED_CHECKS} or test_span_templates_ai_dicts"
+IGNORED_CHECKS="${IGNORED_CHECKS} or test_span_templates_ai_objects"
+IGNORED_CHECKS="${IGNORED_CHECKS} or test_default_attributes"
%pytest -rs -k "not (${IGNORED_CHECKS})"
%files %{python_files}
++++++ build-pytest.patch ++++++
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: sentry-python-2.60.0/pyproject.toml
===================================================================
--- sentry-python-2.60.0.orig/pyproject.toml 2026-05-13 15:19:14.000000000
+0200
+++ sentry-python-2.60.0/pyproject.toml 2026-05-29 02:14:36.404382321 +0200
@@ -21,7 +21,7 @@
#
[tool.pytest.ini_options]
-addopts = "-vvv -rfEs -s --durations=5 --cov=./sentry_sdk --cov-branch
--cov-report= --tb=short --junitxml=.junitxml"
+addopts = "-vvv -rfEs -s --durations=5 --tb=short"
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
markers = [
++++++ dont-walk-iterate.patch ++++++
---
tests/test_shadowed_module.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: sentry-python-2.60.0/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 @@
if "integration_submodule_name" in metafunc.fixturenames:
submodule_names = {
submodule_name
- for _, submodule_name, _ in
pkgutil.walk_packages(integrations.__path__)
+ for _, submodule_name, _ in
pkgutil.iter_modules(integrations.__path__)
}
metafunc.parametrize(
++++++ sentry-python-2.39.0.tar.gz -> sentry-python-2.60.0.tar.gz ++++++
++++ 136535 lines of diff (skipped)