Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sentry-sdk/
Date: Mon, 27 Feb 2023 18:02:31
Message-Id: 1677520400.46e4e545b1aecc2fe3c7cc36b54e70ca5b83cb33.mgorny@gentoo
1 commit: 46e4e545b1aecc2fe3c7cc36b54e70ca5b83cb33
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 17:53:20 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 17:53:20 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46e4e545
7
8 dev-python/sentry-sdk: Bump to 1.16.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sentry-sdk/Manifest | 1 +
13 dev-python/sentry-sdk/sentry-sdk-1.16.0.ebuild | 106 +++++++++++++++++++++++++
14 2 files changed, 107 insertions(+)
15
16 diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest
17 index 81d5d6d13ad6..da712e266f63 100644
18 --- a/dev-python/sentry-sdk/Manifest
19 +++ b/dev-python/sentry-sdk/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST sentry-python-1.16.0.gh.tar.gz 325763 BLAKE2B e53f6051a74065950c4f1ce9010a87071b4a715990643cb7e955411ffb784fabc7ca6f2ade3cc6c66eb0718c6fc4993c6035763a0937b8a1cd66289f3f026806 SHA512 7f46f6c66b0e4f97e7f64a0eba9c396fbb9ab95607ba8ecb4880bb117c4f3fff7881a6787ea814981bdfabd84ea2b172c878821877403852661e746b6fe666bb
22 DIST sentry-sdk-1.14.0.gh.tar.gz 312667 BLAKE2B 02772c3313a6cdb5f872df93274b291cdbae35db8387eab3816261b446bb438afd41610580cc642299877d8f03732a1d7bae4e6ad9824a92f4126677a4a3ca1a SHA512 cd0c4ca10d61825919721335fe0413f1050bd8d1f41a2f3f4a25b843c4bf83d35610382f55dc14fe86f70cca962e30a8d9d0708a07b10730783ae09b22f20e04
23 DIST sentry-sdk-1.15.0.gh.tar.gz 317804 BLAKE2B 65a45f0da5327057827f4533418d846d8d4dc4bdd2723fddd754e5391e12c50946bb2f3f7914c5ee03cfdac324d565e68158aaca8e6686dc4502a02813cd6442 SHA512 9ae477c3ddc90c4189f4cbcca8756d7b0bd2df0358afa553467b431a2a131f32c9a9df9ce0ca3cca4d98b5a14746222f21476c164bf6da09bc06d94ce7ed0afe
24
25 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.16.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.16.0.ebuild
26 new file mode 100644
27 index 000000000000..f02570ff1556
28 --- /dev/null
29 +++ b/dev-python/sentry-sdk/sentry-sdk-1.16.0.ebuild
30 @@ -0,0 +1,106 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{9..11} )
38 +
39 +inherit distutils-r1
40 +
41 +MY_P=sentry-python-${PV}
42 +DESCRIPTION="Python client for Sentry"
43 +HOMEPAGE="
44 + https://sentry.io/
45 + https://github.com/getsentry/sentry-python/
46 + https://pypi.org/project/sentry-sdk/
47 +"
48 +SRC_URI="
49 + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
50 + -> ${MY_P}.gh.tar.gz
51 +"
52 +S=${WORKDIR}/${MY_P}
53 +
54 +LICENSE="PSF-2"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
57 +
58 +RDEPEND="
59 + dev-python/urllib3[${PYTHON_USEDEP}]
60 + dev-python/certifi[${PYTHON_USEDEP}]
61 +"
62 +BDEPEND="
63 + test? (
64 + dev-python/asttokens[${PYTHON_USEDEP}]
65 + dev-python/django[${PYTHON_USEDEP}]
66 + dev-python/executing[${PYTHON_USEDEP}]
67 + dev-python/fakeredis[${PYTHON_USEDEP}]
68 + dev-python/flask-login[${PYTHON_USEDEP}]
69 + dev-python/jsonschema[${PYTHON_USEDEP}]
70 + dev-python/pyrsistent[${PYTHON_USEDEP}]
71 + dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
72 + dev-python/pytest-django[${PYTHON_USEDEP}]
73 + dev-python/pytest-forked[${PYTHON_USEDEP}]
74 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
75 + dev-python/responses[${PYTHON_USEDEP}]
76 + dev-python/werkzeug[${PYTHON_USEDEP}]
77 + dev-python/zope-event[${PYTHON_USEDEP}]
78 + )
79 +"
80 +
81 +distutils_enable_tests pytest
82 +
83 +EPYTEST_IGNORE=(
84 + # tests require Internet access
85 + tests/integrations/httpx/test_httpx.py
86 + tests/integrations/requests/test_requests.py
87 + tests/integrations/stdlib/test_httplib.py
88 + tests/integrations/flask/test_flask.py
89 + tests/integrations/django/test_basic.py
90 + # wtf is it supposed to do?!
91 + tests/integrations/gcp/test_gcp.py
92 + # broken by rq-1.10.1 (optional dep)
93 + tests/integrations/rq/test_rq.py
94 + # fastapi is not packaged
95 + tests/integrations/asgi/test_fastapi.py
96 + # TODO
97 + tests/integrations/bottle
98 + # TODO: causes breakage in other tests
99 + tests/integrations/starlette
100 + # TODO
101 + tests/integrations/tornado
102 + # requires mockupdb
103 + tests/integrations/pymongo
104 +)
105 +
106 +EPYTEST_DESELECT=(
107 + # hangs
108 + 'tests/test_transport.py::test_transport_works'
109 + # TODO
110 + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
111 + tests/test_client.py::test_databag_depth_stripping
112 + tests/test_client.py::test_databag_string_stripping
113 + tests/test_client.py::test_databag_breadth_stripping
114 + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
115 + tests/integrations/asgi/test_asgi.py::test_websocket
116 + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
117 + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
118 + # incompatible version?
119 + tests/integrations/falcon/test_falcon.py
120 + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
121 + # test_circular_references: apparently fragile
122 + 'tests/integrations/threading/test_threading.py::test_circular_references'
123 + # test for new feature, fails with IndexError
124 + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
125 + # TODO
126 + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
127 + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
128 + tests/test_profiler.py::test_sample_buffer
129 + tests/test_profiler.py::test_thread_scheduler_takes_first_samples
130 + tests/test_profiler.py::test_thread_scheduler_takes_more_samples
131 + tests/test_profiler.py::test_thread_scheduler_single_background_thread
132 + # broken with py3.11, *shrug*
133 + tests/test_profiler.py::test_extract_stack_with_max_depth
134 + # TODO
135 + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved
136 +)