Accepting request 1220113 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1220113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2024-11-01 22:03:26 +00:00 committed by Git OBS Bridge
commit 460b03eca5
4 changed files with 63 additions and 6 deletions

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Fri Nov 1 15:10:38 UTC 2024 - ecsos <ecsos@opensuse.org>
- Update to 2.17.0
* Various fixes & improvements
- Add support for async calls in Anthropic and OpenAI
integration (#3497) by @vetyy
- Allow custom transaction names in ASGI (#3664)
by @sl0thentr0py
- Langchain: Handle case when parent span wasn't traced (#3656)
by @rbasoalto
- Fix Anthropic integration when using tool calls (#3615)
by @kwnath
- More defensive Django Spotlight middleware injection (#3665)
by @BYK
- Remove ensure_integration_enabled_async (#3632) by @sentrivana
- Test with newer Falcon version (#3644, #3653, #3662)
by @sentrivana
- Fix mypy (#3657) by @sentrivana
- Fix flaky transport test (#3666) by @sentrivana
- Remove pin on sphinx (#3650) by @sentrivana
- Bump actions/checkout from 4.2.0 to 4.2.1 (#3651) by @dependabot
- Changes from 2.16.0
* Integrations
- Bottle: Add failed_request_status_codes (#3618)
by @szokeasaurusrex
- Bottle: Delete never-reached code (#3605) by @szokeasaurusrex
- Redis: Remove flaky test (#3626) by @sentrivana
- Django: Improve getting psycopg3 connection info (#3580)
by @nijel
- Django: Add SpotlightMiddleware when Spotlight is enabled
(#3600) by @BYK
- Django: Open relevant error when SpotlightMiddleware is on
(#3614) by @BYK
- Django: Support http_methods_to_capture in ASGI Django
(#3607) by @sentrivana
* Miscellaneous
- Add 3.13 to setup.py (#3574) by @sentrivana
- Add 3.13 to basepython (#3589) by @sentrivana
- Fix type of sample_rate in DSC (and add explanatory tests)
(#3603) by @antonpirker
- Add httpcore based HTTP2Transport (#3588) by @BYK
- Add opportunistic Brotli compression (#3612) by @BYK
- Add __notes__ support (#3620) by @szokeasaurusrex
- Remove useless makefile targets (#3604) by @antonpirker
- Simplify tox version spec (#3609) by @sentrivana
- Consolidate contributing docs (#3606) by @antonpirker
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#3617)
by @dependabot
-------------------------------------------------------------------
Tue Oct 8 06:08:53 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -19,7 +19,7 @@
# nothing provides python2-venusian >= 1.0 needed by python2-pyramid
%{?sle15_python_module_pythons}
Name: python-sentry-sdk
Version: 2.15.0
Version: 2.17.0
Release: 0
Summary: Python SDK for Sentry.io
License: BSD-2-Clause
@ -52,8 +52,9 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module Werkzeug}
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}
@ -146,6 +147,11 @@ https://sentry.io/for/python/
%install
%pyproject_install
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
find . -name '*.pyc' -exec rm -f '{}' ';'
python%python_bin_suffix -m compileall *.py ';'
popd
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -158,12 +164,13 @@ IGNORED_CHECKS="(test_default_release and test_utils)"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_new_scopes_compat_event"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_transport_works"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_auto_enabling_integrations_catches_import_error"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_socks_proxy or test_utils"
# https://github.com/getsentry/sentry-python/issues/3624
IGNORED_CHECKS="${IGNORED_CHECKS} or test_redis_disabled_when_not_installed"
%pytest -rs -k "not (${IGNORED_CHECKS})"
%files %{python_files}
%doc README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTING-aws-lambda.md
%doc README.md CHANGELOG.md CONTRIBUTING.md
%license LICENSE
%{python_sitelib}/sentry_sdk
%{python_sitelib}/sentry_sdk-%{version}.dist-info

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d8385700a21f16ca930954674ff3a119b24344c142a26bf08b4fb2766a3937a
size 560317

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38c1e40bc4a1ee9a5ac9cb649a501e1f4a459fe5be0b4a4542d3eb17f1e8ab78
size 574475