From 352527f72929155c9b17502d351609f320d414ebb300feccac25368a4f690519 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 21 Aug 2024 03:59:59 +0000 Subject: [PATCH] - Update to 2.13.0: * New integration: Ray * New integration: Litestar * Profiling: Add client SDK info to profile chunk (#3386) * Serialize vars early to avoid living references (#3409) * Deprecate hub-based `sessions.py` logic (#3419) * Deprecate `is_auto_session_tracking_enabled` (#3428) * API: `push_scope` deprecation warning (#3355) (#3355) * API: Replace `push_scope` (#3353, #3354) * OTel: Remove experimental autoinstrumentation (#3239) * Graphene: Add span for grapqhl operation (#2788) * AI: Add async support for `ai_track` decorator (#3376) * CI: Workaround bug preventing Django test runs (#3371) * CI: Remove Django setuptools pin (#3378) * Tests: Test with Django 5.1 RC (#3370) * Broaden `add_attachment` type (#3342) * Add span data to the transactions trace context (#3374) * Gracefully fail attachment path not found case (#3337) * Document attachment parameters (#3342) * Add `disabled_integrations` (#3328) * Use operation name as transaction name in Strawberry (#3294) * WSGI integrations respect `SCRIPT_NAME` env variable (#2622) * Make Django DB spans have origin `auto.db.django` (#3319) * Sort breadcrumbs by time before sending (#3307) * Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278) * Set MongoDB tags directly on span data (#3290) * Lower logger level for some messages (#3305) * Emit deprecation warnings from `Hub` API (#3280) * Clarify that `instrumenter` is internal-only (#3299) * Support Django 5.1 (#3207) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=77 --- python-sentry-sdk.changes | 46 +++++++++++++++++++++++++++++++++++++ python-sentry-sdk.spec | 13 ++++++----- sentry-python-2.10.0.tar.gz | 3 --- sentry-python-2.13.0.tar.gz | 3 +++ 4 files changed, 56 insertions(+), 9 deletions(-) delete mode 100644 sentry-python-2.10.0.tar.gz create mode 100644 sentry-python-2.13.0.tar.gz diff --git a/python-sentry-sdk.changes b/python-sentry-sdk.changes index f6a3b3c..237b356 100644 --- a/python-sentry-sdk.changes +++ b/python-sentry-sdk.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Wed Aug 21 03:59:32 UTC 2024 - Steve Kowalik + +- Update to 2.13.0: + * New integration: Ray + * New integration: Litestar + * Profiling: Add client SDK info to profile chunk (#3386) + * Serialize vars early to avoid living references (#3409) + * Deprecate hub-based `sessions.py` logic (#3419) + * Deprecate `is_auto_session_tracking_enabled` (#3428) + * API: `push_scope` deprecation warning (#3355) (#3355) + * API: Replace `push_scope` (#3353, #3354) + * OTel: Remove experimental autoinstrumentation (#3239) + * Graphene: Add span for grapqhl operation (#2788) + * AI: Add async support for `ai_track` decorator (#3376) + * CI: Workaround bug preventing Django test runs (#3371) + * CI: Remove Django setuptools pin (#3378) + * Tests: Test with Django 5.1 RC (#3370) + * Broaden `add_attachment` type (#3342) + * Add span data to the transactions trace context (#3374) + * Gracefully fail attachment path not found case (#3337) + * Document attachment parameters (#3342) + * Add `disabled_integrations` (#3328) + * Use operation name as transaction name in Strawberry (#3294) + * WSGI integrations respect `SCRIPT_NAME` env variable (#2622) + * Make Django DB spans have origin `auto.db.django` (#3319) + * Sort breadcrumbs by time before sending (#3307) + * Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278) + * Set MongoDB tags directly on span data (#3290) + * Lower logger level for some messages (#3305) + * Emit deprecation warnings from `Hub` API (#3280) + * Clarify that `instrumenter` is internal-only (#3299) + * Support Django 5.1 (#3207) + * Remove apparently unnecessary `if` (#3298) + * Preliminary support for Python 3.13 (#3200) + * Move `sentry_sdk.init` out of `hub.py` (#3276) + * Unhardcode integration list (#3240) + * Allow passing of PostgreSQL port in tests (#3281) + * Add tests for `@ai_track` decorator (#3325) + * Do not include type checking code in coverage report (#3327) + * Fix test_installed_modules (#3309) + * Fix typos and grammar in a comment (#3293) + * Fixed failed tests setup (#3303) + * Only assert warnings we are interested in (#3314) +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Jul 17 13:51:46 UTC 2024 - Markéta Machová diff --git a/python-sentry-sdk.spec b/python-sentry-sdk.spec index 34325f2..86e8bf8 100644 --- a/python-sentry-sdk.spec +++ b/python-sentry-sdk.spec @@ -19,11 +19,10 @@ # nothing provides python2-venusian >= 1.0 needed by python2-pyramid %{?sle15_python_module_pythons} Name: python-sentry-sdk -Version: 2.10.0 +Version: 2.13.0 Release: 0 Summary: Python SDK for Sentry.io License: BSD-2-Clause -Group: Development/Languages/Python URL: https://github.com/getsentry/sentry-python Source0: https://github.com/getsentry/sentry-python/archive/%{version}/sentry-python-%{version}.tar.gz BuildRequires: %{python_module Django >= 2.0} @@ -42,12 +41,14 @@ BuildRequires: %{python_module falcon >= 1.4} BuildRequires: %{python_module grpcio >= 1.39} BuildRequires: %{python_module httpx >= 0.16.0} BuildRequires: %{python_module loguru >= 0.5} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pymongo >= 3.1} BuildRequires: %{python_module rq >= 0.6} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module starlette >= 0.19.1} BuildRequires: %{python_module tornado >= 6} BuildRequires: %{python_module urllib3 >= 1.26.11} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements @@ -141,14 +142,13 @@ https://sentry.io/for/python/ %autosetup -p1 -n sentry-python-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONDONTWRITEBYTECODE=1 export PYTEST_ADDOPTS="-W ignore::DeprecationWarning" export DJANGO_SETTINGS_MODULE=tests.conftest # do not test integration (many package are missing at SUSE): @@ -159,6 +159,7 @@ rm -r tests/integrations %files %{python_files} %doc README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTING-aws-lambda.md %license LICENSE -%{python_sitelib}/sentry*/ +%{python_sitelib}/sentry_sdk +%{python_sitelib}/sentry_sdk-%{version}.dist-info %changelog diff --git a/sentry-python-2.10.0.tar.gz b/sentry-python-2.10.0.tar.gz deleted file mode 100644 index 0ba72dd..0000000 --- a/sentry-python-2.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fced0770c57d48319f6f8cd60d09f56bf10ba9f4e57825e139534fb0d863252a -size 534265 diff --git a/sentry-python-2.13.0.tar.gz b/sentry-python-2.13.0.tar.gz new file mode 100644 index 0000000..5ea738c --- /dev/null +++ b/sentry-python-2.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60aafb137b34117b2950b54e78bac5037794617d25936bdb633695fab53b17eb +size 549156