14
0

Accepting request 1220089 from home:ecsos:python

- 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

OBS-URL: https://build.opensuse.org/request/show/1220089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=81
This commit is contained in:
2024-11-01 21:14:56 +00:00
committed by Git OBS Bridge
parent 3014c38b1e
commit efcf556acb
4 changed files with 63 additions and 6 deletions

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