commit: d6a2bd6b0bc2cb622a5587da6fdd01f7e429624b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Dec 6 04:35:15 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Dec 6 04:36:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a2bd6b
dev-python/sentry-sdk: Remove last-rited pkg Bug: https://bugs.gentoo.org/937896 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/sentry-sdk/Manifest | 2 - .../files/sentry-sdk-1.21.0-ignore-warnings.patch | 12 -- dev-python/sentry-sdk/metadata.xml | 17 --- dev-python/sentry-sdk/sentry-sdk-1.45.1.ebuild | 155 --------------------- dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild | 129 ----------------- profiles/arch/arm/package.use.stable.mask | 1 - profiles/features/wd40/package.use.mask | 1 - profiles/package.deprecated | 7 - profiles/package.mask | 8 -- 9 files changed, 332 deletions(-) diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest deleted file mode 100644 index d46aab4bac78..000000000000 --- a/dev-python/sentry-sdk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST sentry-python-1.45.1.gh.tar.gz 474940 BLAKE2B ae3195bceee5beb79d36958b79992fc8433d5315052e7cb4dde2dad4a21482549b28325329a9bd6cc44376acff69ca41b1506e7341c17314318cc93360b5fbcd SHA512 15c42187ef1a9ec1515e23e4e49980e8aecec4bd1f63866bc793bbaf75d9663a636d34c1fcc46faec839685d50366e0a2c9a2e735780d8a1f47f5986bf9fc6a6 -DIST sentry-python-2.13.0.gh.tar.gz 549156 BLAKE2B 2d9a009b53c0ada24c84a1deaf442c25a573d3e7df031bab143ab650937ce7e9f6e4e75f9427b50f2e0ddf196c816b89e81cd67cacbc6c301f854f92d59ba5ac SHA512 4dd48d8acd1a132d93e08bb44028b7ec88b75bb821acbc3376391527e113c38abd74b4bc535b9a1f79fa3647bbafb22de85a6a553dc2c61fbd6095ffb39c6f32 diff --git a/dev-python/sentry-sdk/files/sentry-sdk-1.21.0-ignore-warnings.patch b/dev-python/sentry-sdk/files/sentry-sdk-1.21.0-ignore-warnings.patch deleted file mode 100644 index bb7154472b7e..000000000000 --- a/dev-python/sentry-sdk/files/sentry-sdk-1.21.0-ignore-warnings.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/tests/conftest.py b/tests/conftest.py -index af1a40c..e32e214 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -87,6 +87,7 @@ def _capture_internal_warnings(): - - _warning_recorder_mgr.__exit__(None, None, None) - recorder = _warning_recorder -+ return - - for warning in recorder: - try: diff --git a/dev-python/sentry-sdk/metadata.xml b/dev-python/sentry-sdk/metadata.xml deleted file mode 100644 index 28985f426a14..000000000000 --- a/dev-python/sentry-sdk/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>ale...@gentoo.org</email> - <name>Alexey Shvetsov</name> - </maintainer> - <maintainer type="project"> - <email>pyt...@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="github">getsentry/sentry-python</remote-id> - <remote-id type="pypi">sentry-sdk</remote-id> - </upstream> - <stabilize-allarches/> -</pkgmetadata> diff --git a/dev-python/sentry-sdk/sentry-sdk-1.45.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.45.1.ebuild deleted file mode 100644 index 4cdc0f653f3e..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.45.1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - <dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py - # TODO - tests/integrations/bottle - # TODO: causes breakage in other tests - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - # TODO: require opentelemetry (with py3.10) - tests/integrations/opentelemetry - ) - - local EPYTEST_DESELECT=( - # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # TODO - tests/test_utils.py::test_default_release - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO - tests/utils/test_contextvars.py::test_leaks - # broken teardown? - tests/test_client.py::test_uwsgi_warnings - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild deleted file mode 100644 index 2b6f2c07a5f2..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-2.13.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - <dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - <dev-python/pytest-asyncio-0.24[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # TODO - tests/integrations/bottle - # TODO: most of them hang - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - # TODO: require opentelemetry (with py3.10) - tests/integrations/opentelemetry - # broken (incompatible rq version?) - tests/integrations/rq - ) - - local EPYTEST_DESELECT=( - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # broken teardown? - tests/test_client.py::test_uwsgi_warnings - # too many dependencies installed, sigh - tests/test_new_scopes_compat_event.py - # Internet - tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers - tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk - tests/integrations/aiohttp/test_aiohttp.py::test_span_origin - tests/integrations/stdlib/test_httplib.py::test_span_origin - tests/integrations/stdlib/test_subprocess.py::test_subprocess_span_origin - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/integrations/django - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - tests/test_basics.py::test_auto_enabling_integrations_catches_import_error - tests/test_client.py::test_databag_breadth_stripping - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_utils.py::test_default_release - tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled - tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled - tests/utils/test_contextvars.py::test_leaks - # pointless, fragile to packages being installed in parallel - tests/test_utils.py::test_installed_modules - # TODO - tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_manual_stop - tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop - tests/profiler/test_transaction_profiler.py::test_minimum_unique_samples_required - tests/profiler/test_transaction_profiler.py::test_profile_captured - tests/profiler/test_transaction_profiler.py::test_profiles_sample_rate - tests/profiler/test_transaction_profiler.py::test_profiles_sampler - tests/new_scopes_compat/test_new_scopes_compat_event.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -o addopts= -} diff --git a/profiles/arch/arm/package.use.stable.mask b/profiles/arch/arm/package.use.stable.mask index 022ae0014eb1..4827e5ad8d3f 100644 --- a/profiles/arch/arm/package.use.stable.mask +++ b/profiles/arch/arm/package.use.stable.mask @@ -26,7 +26,6 @@ app-admin/syslog-ng grpc # almost one year to this this date. bug 915548#c6 dev-libs/hiredis test dev-python/redis test -dev-python/sentry-sdk test # Matt Turner <matts...@gentoo.org> (2023-10-30) # libei not stable yet diff --git a/profiles/features/wd40/package.use.mask b/profiles/features/wd40/package.use.mask index d3cabe26cd47..d1ca730c6f37 100644 --- a/profiles/features/wd40/package.use.mask +++ b/profiles/features/wd40/package.use.mask @@ -61,7 +61,6 @@ sys-kernel/installkernel efistub dev-python/botocore test dev-python/ipython nbconvert test dev-python/pip-run test -dev-python/sentry-sdk test dev-python/sphinx-autodoc-typehints test # Michał Górny <mgo...@gentoo.org> (2024-02-01) diff --git a/profiles/package.deprecated b/profiles/package.deprecated index 97652ea0ef13..ee6118c33d29 100644 --- a/profiles/package.deprecated +++ b/profiles/package.deprecated @@ -17,13 +17,6 @@ #--- END OF EXAMPLES --- -# Michał Górny <mgo...@gentoo.org> (2024-10-09) -# The package still does not support dev-python/pytest-8 (effectively -# blocking Python 3.13 support), suffers from tons of test failures -# we were never able to solve, and new releases frequently introduce -# regressions. Bug #937896. -dev-python/sentry-sdk - # Michał Górny <mgo...@gentoo.org> (2024-06-15) # Stop-gap compatibility package. Upstreams really need to move away # from the removed cgi module rather than rely on this. diff --git a/profiles/package.mask b/profiles/package.mask index 4fe97fbc0cb7..e165e8c75d82 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -404,14 +404,6 @@ app-emulation/virtualbox-kvm # Removal on 2024-11-17. Bug #941436. net-misc/electron-cash -# Michał Górny <mgo...@gentoo.org> (2024-10-18) -# Causing issues since forever. We are already deselecting a lot -# of tests because of cryptic failures. On top of that, upstream shows -# no interest in porting to >=dev-python/pytest-8. No (non-optional) -# revdeps left. -# Removal on 2024-11-17. Bug #937896. -dev-python/sentry-sdk - # Holger Hoffstätte <hol...@applied-asynchrony.com> (2024-10-11) # Vendors an unreleased libbpf version and generates ABI-breaking code. # Bug #941185. Removal on 2024-12-03.