Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

4 changed files with 10 additions and 209 deletions

View File

@ -1,186 +1,3 @@
-------------------------------------------------------------------
Sat Nov 23 16:34:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.19.0:
* New: introduce `rust_tracing` integration. See https://docs.s
entry.io/platforms/python/integrations/rust_tracing/ (#3717)
* Auto enable Litestar integration
* Deprecate `sentry_sdk.init` context manager
* feat(spotlight): Send PII to Spotlight when no DSN is set
* feat(spotlight): Add info logs when Sentry is enabled
* feat(spotlight): Inject Spotlight button on Django
* feat(spotlight): Auto enable cache_spans for Spotlight on
DEBUG
* fix(logging): Handle parameter `stack_info` for the
`LoggingIntegration`
* fix(pure-eval): Make sentry-sdk[pure-eval] installable with
pip==24.0
* fix(rust_tracing): include_tracing_fields arg to control
unvetted data in rust_tracing integration
* fix(aws) Fix aws lambda tests (by reducing event size)
* fix(arq): fix integration with Worker settings as a dict
* fix(httpx): Prevent Sentry baggage duplication
* fix(falcon): Don't exhaust request body stream
* fix(integrations): Check `retries_left` before capturing
exception
* fix(openai): Use name instead of description
* test(gcp): Only run GCP tests when they should
-------------------------------------------------------------------
Thu Nov 14 11:54:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 2.18.0:
* Various fixes & improvements
- Add LaunchDarkly and OpenFeature integration (#3648) by
@cmanallen
- Correct typo in a comment (#3726) by @szokeasaurusrex
- End http.client span on timeout (#3723) by @Zylphrex
- Check for h2 existence in HTTP/2 transport (#3690) by @BYK
- Use type() instead when extracting frames (#3716) by @Zylphrex
- Prefer python_multipart import over multipart (#3710) by
@musicinmybrain
- Update active thread for asgi (#3669) by @Zylphrex
- Only enable HTTP2 when DSN is HTTPS (#3678) by @BYK
- Prepare for upstream Strawberry extension removal (#3649) by
@DoctorJohn
- Enhance README with improved clarity and developer-friendly
examples (#3667) by @UTSAVS26
- Run license compliance action on all PRs (#3699) by
@szokeasaurusrex
- Run CodeQL action on all PRs (#3698) by @szokeasaurusrex
- Fix UTC assuming test (#3722) by @BYK
- Exclude fakeredis 2.26.0 on py3.6 and 3.7 (#3695) by
@szokeasaurusrex
- Unpin pytest for tornado-latest tests (#3714) by
@szokeasaurusrex
- Install pytest-asyncio for redis tests (Python 3.12-13) (#3706)
by @szokeasaurusrex
- Clarify that only pinned tests are required (#3713) by
@szokeasaurusrex
- Remove accidentally-committed print (#3712) by @szokeasaurusrex
- Disable broken RQ test in newly-released RQ 2.0 (#3708) by
@szokeasaurusrex
- Unpin pytest for celery tests (#3701) by @szokeasaurusrex
- Unpin pytest on Python 3.8+ gevent tests (#3700) by
@szokeasaurusrex
- Unpin pytest for Python 3.8+ common tests (#3697) by
@szokeasaurusrex
- Remove pytest pin in requirements-devenv.txt (#3696) by
@szokeasaurusrex
- Test with Falcon 4.0 (#3684) by @sentrivana
-------------------------------------------------------------------
Tue Nov 12 02:14:34 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Remove ipdb from BuildRequires, it should have been removed with 2.8.
-------------------------------------------------------------------
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>
- Update to 2.15.0:
* Integrations
Please see release notes for details
https://github.com/getsentry/sentry-python/releases/tag/2.15.0
* Miscellaneous
- Deprecate sentry_sdk.metrics (#3512) by @szokeasaurusrex
- Add name parameter to start_span() and deprecate description
parameter (#3524 & #3525) by @antonpirker
- Fix add_query_source with modules outside of project root
(#3313) by @rominf
- Test more integrations on 3.13 (#3578) by @sentrivana
- Fix trailing whitespace (#3579) by @sentrivana
- Improve get_integration typing (#3550) by @szokeasaurusrex
- Make import-related tests stable (#3548) by @BYK
- Fix breadcrumb sorting (#3511) by @sentrivana
- Fix breadcrumb timestamp casting and its tests (#3546) by
@BYK
- Don't use deprecated logger.warn (#3552) by @sentrivana
- Fix Cohere API change (#3549) by @BYK
- Fix deprecation message (#3536) by @antonpirker
- Remove experimental explain_plan feature. (#3534) by
@antonpirker
- X-fail one of the Lambda tests (#3592) by @antonpirker
- Update Codecov config (#3507) by @antonpirker
- Update actions/upload-artifact to v4 with merge (#3545) by
@joshuarli
- Bump actions/checkout from 4.1.7 to 4.2.0 (#3585) by
@dependabot
- Update to 2.14.0:
* New SysExitIntegration (#3401) by @szokeasaurusrex
* For more information, see the documentation for the
SysExitIntegration.
* Add SENTRY_SPOTLIGHT env variable support (#3443) by @BYK
* Support Strawberry 0.239.2 (#3491) by @szokeasaurusrex
* Add separate pii_denylist to EventScrubber and run it always
(#3463) by @sl0thentr0py
* Celery: Add wrapper for Celery().send_task to support behavior
as Task.apply_async (#2377) by @divaltor
* Django: SentryWrappingMiddleware.init fails if super() is
object (#2466) by @cameron-simpson
* Fix data_category for sessions envelope items (#3473) by
@sl0thentr0py
* Fix non-UTC timestamps (#3461) by @szokeasaurusrex
* Remove obsolete object as superclass (#3480) by @sentrivana
* Replace custom TYPE_CHECKING with stdlib typing.TYPE_CHECKING
(#3447) by @dev-satoshi
* Refactor tracing_utils.py (#3452) by @rominf
* Explicitly export symbol in subpackages instead of ignoring
(#3400) by @hartungstenio
* Better test coverage reports (#3498) by @antonpirker
* Fixed config for old coverage versions (#3504) by @antonpirker
* Fix AWS Lambda tests (#3495) by @antonpirker
* Remove broken Bottle tests (#3505) by @sentrivana
-------------------------------------------------------------------
Wed Aug 21 03:59:32 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

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.19.0
Version: 2.13.0
Release: 0
Summary: Python SDK for Sentry.io
License: BSD-2-Clause
@ -52,15 +52,14 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module Brotli}
BuildRequires: %{python_module PySocks}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module PySocks}
BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module fastapi >= 0.79.0}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module greenlet}
BuildRequires: %{python_module h2}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module ipdb}
BuildRequires: %{python_module jsonschema >= 3.2.0}
BuildRequires: %{python_module pyramid}
BuildRequires: %{python_module pyrsistent >= 0.16.0}
@ -70,6 +69,7 @@ BuildRequires: %{python_module pytest-forked >= 1.4.0}
BuildRequires: %{python_module pytest-localserver >= 0.5.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module tox >= 3.7.0}
# /SECTION
# SECTION test requirements - which rise up buildtime error or missing in openSUSE
#BuildRequires: %%{python_module pytest-watch >= 4.2.0}
@ -114,7 +114,6 @@ Suggests: python-pymongo >= 3.1
Suggests: python-rq >= 0.6
Suggests: python-starlette >= 0.19.1
Suggests: python-tornado >= 6
Suggests: python-h2
# SECTION extra requirements - which rise up buildtime error or missing in openSUSE
#Requires: python-sanic >= 0.8
#Requires: python-apache-beam >= 2.12
@ -147,11 +146,6 @@ 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
@ -160,20 +154,10 @@ export DJANGO_SETTINGS_MODULE=tests.conftest
# do not test integration (many package are missing at SUSE):
rm -r tests/integrations
# test_auto_enabling_integrations_catches_import_error asert False where False = ..., not sure
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"
# Related to this report gh#getsentry/sentry-python#576, looks like it
# freeze also with python 3.13
IGNORED_CHECKS="${IGNORED_CHECKS} or eventlet or greenlet"
%pytest -rs -k "not (${IGNORED_CHECKS})"
%pytest -rs -k 'not ((test_default_release and test_utils) or test_new_scopes_compat_event or test_transport_works or test_auto_enabling_integrations_catches_import_error)'
%files %{python_files}
%doc README.md CHANGELOG.md CONTRIBUTING.md
%doc README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTING-aws-lambda.md
%license LICENSE
%{python_sitelib}/sentry_sdk
%{python_sitelib}/sentry_sdk-%{version}.dist-info

View File

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

View File

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