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: Sun, 08 May 2022 08:47:38
Message-Id: 1651999631.e09b421cd6e829303c79415c260c762081bcffaa.mgorny@gentoo
1 commit: e09b421cd6e829303c79415c260c762081bcffaa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 08:33:50 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 08:47:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09b421c
7
8 dev-python/sentry-sdk: Remove py3.8 due to fakeredis losing it
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sentry-sdk/sentry-sdk-1.5.11-r1.ebuild | 85 +++++++++++++++++++++++
13 1 file changed, 85 insertions(+)
14
15 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.5.11-r1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.5.11-r1.ebuild
16 new file mode 100644
17 index 000000000000..d03693f79ae9
18 --- /dev/null
19 +++ b/dev-python/sentry-sdk/sentry-sdk-1.5.11-r1.ebuild
20 @@ -0,0 +1,85 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{9..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python client for Sentry"
32 +HOMEPAGE="https://sentry.io/ https://pypi.org/project/sentry-sdk/"
33 +SRC_URI="
34 + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
35 + -> ${P}.tar.gz
36 +"
37 +S="${WORKDIR}/sentry-python-${PV}"
38 +
39 +LICENSE="PSF-2"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
42 +
43 +RDEPEND="
44 + dev-python/urllib3[${PYTHON_USEDEP}]
45 + dev-python/certifi[${PYTHON_USEDEP}]
46 +"
47 +BDEPEND="
48 + test? (
49 + dev-python/asttokens[${PYTHON_USEDEP}]
50 + dev-python/django[${PYTHON_USEDEP}]
51 + dev-python/executing[${PYTHON_USEDEP}]
52 + dev-python/fakeredis[${PYTHON_USEDEP}]
53 + dev-python/flask-login[${PYTHON_USEDEP}]
54 + dev-python/gevent[${PYTHON_USEDEP}]
55 + dev-python/jsonschema[${PYTHON_USEDEP}]
56 + dev-python/pyrsistent[${PYTHON_USEDEP}]
57 + dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
58 + dev-python/pytest-django[${PYTHON_USEDEP}]
59 + dev-python/pytest-forked[${PYTHON_USEDEP}]
60 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
61 + dev-python/werkzeug[${PYTHON_USEDEP}]
62 + dev-python/zope-event[${PYTHON_USEDEP}]
63 + $(python_gen_cond_dep '
64 + dev-python/eventlet[${PYTHON_USEDEP}]
65 + ' python3_{8..9})
66 + )
67 +"
68 +
69 +distutils_enable_tests pytest
70 +
71 +EPYTEST_IGNORE=(
72 + # tests require Internet access
73 + tests/integrations/httpx/test_httpx.py
74 + tests/integrations/requests/test_requests.py
75 + tests/integrations/stdlib/test_httplib.py
76 + tests/integrations/flask/test_flask.py
77 + tests/integrations/django/test_basic.py
78 + # wtf is it supposed to do?!
79 + tests/integrations/gcp/test_gcp.py
80 + # broken by rq-1.10.1 (optional dep)
81 + tests/integrations/rq/test_rq.py
82 + # fastapi is not packaged
83 + tests/integrations/asgi/test_fastapi.py
84 +)
85 +
86 +EPYTEST_DESELECT=(
87 + # hangs
88 + 'tests/test_transport.py::test_transport_works'
89 + # TODO
90 + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
91 + tests/test_client.py::test_databag_depth_stripping
92 + tests/test_client.py::test_databag_string_stripping
93 + tests/test_client.py::test_databag_breadth_stripping
94 + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
95 + tests/integrations/asgi/test_asgi.py::test_websocket
96 + # incompatible version?
97 + tests/integrations/falcon/test_falcon.py
98 + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
99 + # test_circular_references: apparently fragile
100 + 'tests/integrations/threading/test_threading.py::test_circular_references'
101 + # test for new feature, fails with IndexError
102 + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
103 + # TODO
104 + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
105 +)