From 5ef47db015cbb9d95c77f346c19dcee2332c4f8e Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 18 Nov 2021 01:39:45 +0000 Subject: Adding metadata --- dev-python/astunparse/astunparse-1.6.3.ebuild | 2 +- dev-python/beniget/beniget-0.4.1.ebuild | 2 +- dev-python/fido2/Manifest | 2 +- dev-python/fido2/fido2-0.8.1.ebuild | 50 ------- dev-python/fido2/fido2-0.9.3.ebuild | 53 ++++++++ dev-python/gast/gast-0.5.2.ebuild | 2 +- dev-python/imageio/Manifest | 1 + dev-python/imageio/imageio-2.10.5.ebuild | 46 +++++++ .../jupyter_client/jupyter_client-7.0.6.ebuild | 2 +- dev-python/mako/Manifest | 1 + dev-python/mako/mako-1.1.6.ebuild | 37 ++++++ dev-python/markdown/Manifest | 2 +- dev-python/markdown/markdown-3.3.5.ebuild | 35 ----- dev-python/markdown/markdown-3.3.6.ebuild | 39 ++++++ dev-python/nest_asyncio/nest_asyncio-1.5.1.ebuild | 2 +- .../numpy-1.21.4-build-compiler-args-ceph.patch | 49 +++++++ dev-python/numpy/numpy-1.21.4-r1.ebuild | 144 +++++++++++++++++++++ dev-python/pyopencl/Manifest | 1 + dev-python/pyopencl/pyopencl-2021.2.9.ebuild | 56 ++++++++ dev-python/pythran/pythran-0.10.0.ebuild | 2 +- dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +- dev-python/sentry-sdk/Manifest | 1 + dev-python/sentry-sdk/sentry-sdk-1.5.0.ebuild | 76 +++++++++++ 23 files changed, 513 insertions(+), 94 deletions(-) delete mode 100644 dev-python/fido2/fido2-0.8.1.ebuild create mode 100644 dev-python/fido2/fido2-0.9.3.ebuild create mode 100644 dev-python/imageio/imageio-2.10.5.ebuild create mode 100644 dev-python/mako/mako-1.1.6.ebuild delete mode 100644 dev-python/markdown/markdown-3.3.5.ebuild create mode 100644 dev-python/markdown/markdown-3.3.6.ebuild create mode 100644 dev-python/numpy/files/numpy-1.21.4-build-compiler-args-ceph.patch create mode 100644 dev-python/numpy/numpy-1.21.4-r1.ebuild create mode 100644 dev-python/pyopencl/pyopencl-2021.2.9.ebuild create mode 100644 dev-python/sentry-sdk/sentry-sdk-1.5.0.ebuild (limited to 'dev-python') diff --git a/dev-python/astunparse/astunparse-1.6.3.ebuild b/dev-python/astunparse/astunparse-1.6.3.ebuild index 8941b8f37502..dd9b4ef73dbc 100644 --- a/dev-python/astunparse/astunparse-1.6.3.ebuild +++ b/dev-python/astunparse/astunparse-1.6.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" RDEPEND=" >=dev-python/six-1.6.1[${PYTHON_USEDEP}] diff --git a/dev-python/beniget/beniget-0.4.1.ebuild b/dev-python/beniget/beniget-0.4.1.ebuild index 60f4f6d86cbc..b2f90cf1a6eb 100644 --- a/dev-python/beniget/beniget-0.4.1.ebuild +++ b/dev-python/beniget/beniget-0.4.1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" RDEPEND="=dev-python/gast-0.5*[${PYTHON_USEDEP}]" diff --git a/dev-python/fido2/Manifest b/dev-python/fido2/Manifest index 3143d5edae8c..41ff30bdd4b8 100644 --- a/dev-python/fido2/Manifest +++ b/dev-python/fido2/Manifest @@ -1,2 +1,2 @@ -DIST fido2-0.8.1.tar.gz 201198 BLAKE2B 33411dd05d7f513445afa8a6fc4bb90f3989a655fa05d2ba9da411aa7eea3b30ffa253fae6586f76c416115e5bec90f6f120472a49a0acfbd91020d2cba8f74d SHA512 fc0753ea694f2170d529129764cd9f9c5439cd2f467e4f384d7a698266ee8391a5c9c7c6e51d2dc2a99b93fca1c7d5288d5236e302672a87b8ca7704f328c0b5 DIST fido2-0.9.1.tar.gz 206395 BLAKE2B 9a9b5d0dd808de896c91aa605540a1968aab7ae543336521d4a206f27bcf836c57e88aa6cdd0bacf71db8d16a0f94c2f9c16b16ca415363fd0b5e145a448ec18 SHA512 cde8c247fe0875129a890866ab76d40b2bd6feee86ff1ccb4b9ec5e6dc037e569fc8d969b51a456b5e66c6f7c67e18d14c3917375d5de85bbe7da5af3254f797 +DIST fido2-0.9.3.tar.gz 217894 BLAKE2B ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b SHA512 f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e diff --git a/dev-python/fido2/fido2-0.8.1.ebuild b/dev-python/fido2/fido2-0.8.1.ebuild deleted file mode 100644 index 2c25d2f70dff..000000000000 --- a/dev-python/fido2/fido2-0.8.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python based FIDO 2.0 library" -HOMEPAGE="https://github.com/Yubico/python-fido2" -SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pyscard[${PYTHON_USEDEP}] - examples? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pyfakefs-3.4[${PYTHON_USEDEP}] - ) -" - -python_test() { - esetup.py test -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - docinto examples - dodoc -r "${S}"/examples/. - docompress -x "/usr/share/doc/${PF}/examples" - fi -} diff --git a/dev-python/fido2/fido2-0.9.3.ebuild b/dev-python/fido2/fido2-0.9.3.ebuild new file mode 100644 index 000000000000..b6026aec16f0 --- /dev/null +++ b/dev-python/fido2/fido2-0.9.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python based FIDO 2.0 library" +HOMEPAGE="https://github.com/Yubico/python-fido2" +SRC_URI="https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0" +SLOT="0/0.9" # Bumped every time a backwards-incompatible version is released +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="examples" +RESTRICT="test" # Tests require +Date: Thu, 14 Oct 2021 14:58:52 +0900 +Subject: [PATCH] MAINT: Fix issue with C compiler args containing spaces + +Instead of doing a dumb string split, use shlex to make sure args +containing spaces are handled properly. +--- + numpy/distutils/unixccompiler.py | 13 +++++++------ + 1 file changed, 7 insertions(+), 6 deletions(-) + +diff --git a/numpy/distutils/unixccompiler.py b/numpy/distutils/unixccompiler.py +index 733a9fc5094..4884960fdf2 100644 +--- a/numpy/distutils/unixccompiler.py ++++ b/numpy/distutils/unixccompiler.py +@@ -5,6 +5,7 @@ + import os + import sys + import subprocess ++import shlex + + from distutils.errors import CompileError, DistutilsExecError, LibError + from distutils.unixccompiler import UnixCCompiler +@@ -30,15 +31,15 @@ def UnixCCompiler__compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts + if 'OPT' in os.environ: + # XXX who uses this? + from sysconfig import get_config_vars +- opt = " ".join(os.environ['OPT'].split()) +- gcv_opt = " ".join(get_config_vars('OPT')[0].split()) +- ccomp_s = " ".join(self.compiler_so) ++ opt = shlex.join(shlex.split(os.environ['OPT'])) ++ gcv_opt = shlex.join(shlex.split(get_config_vars('OPT')[0])) ++ ccomp_s = shlex.join(self.compiler_so) + if opt not in ccomp_s: + ccomp_s = ccomp_s.replace(gcv_opt, opt) +- self.compiler_so = ccomp_s.split() +- llink_s = " ".join(self.linker_so) ++ self.compiler_so = shlex.split(ccomp_s) ++ llink_s = shlex.join(self.linker_so) + if opt not in llink_s: +- self.linker_so = llink_s.split() + opt.split() ++ self.linker_so = self.linker_so + shlex.split(opt) + + display = '%s: %s' % (os.path.basename(self.compiler_so[0]), src) + diff --git a/dev-python/numpy/numpy-1.21.4-r1.ebuild b/dev-python/numpy/numpy-1.21.4-r1.ebuild new file mode 100644 index 000000000000..947dd8d58d12 --- /dev/null +++ b/dev-python/numpy/numpy-1.21.4-r1.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="threads(+)" + +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs + +DOC_PV=${PV} +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE="https://numpy.org/" +SRC_URI=" + mirror://pypi/${PN:0:1}/${PN}/${P}.zip + doc? ( + https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip + https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf + https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf + )" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + app-arch/unzip + >=dev-python/cython-0.29.24[${PYTHON_USEDEP}] + lapack? ( virtual/pkgconfig ) + test? ( + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch + "${FILESDIR}"/numpy-1.21.4-build-compiler-args-ceph.patch +) + +distutils_enable_tests pytest + +src_unpack() { + default + if use doc; then + unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die + fi +} + +python_prepare_all() { + if use lapack; then + local incdir="${EPREFIX}"/usr/include + local libdir="${EPREFIX}"/usr/$(get_libdir) + cat >> site.cfg <<-EOF || die + [blas] + include_dirs = ${incdir} + library_dirs = ${libdir} + blas_libs = cblas,blas + [lapack] + library_dirs = ${libdir} + lapack_libs = lapack + EOF + else + export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None + fi + + export CC="$(tc-getCC) ${CFLAGS}" + + append-flags -fno-strict-aliasing + + # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 + # with the subtle difference that we don't want to break Darwin where + # -shared is not a valid linker argument + if [[ ${CHOST} != *-darwin* ]]; then + append-ldflags -shared + fi + + # only one fortran to link with: + # linking with cblas and lapack library will force + # autodetecting and linking to all available fortran compilers + append-fflags -fPIC + if use lapack; then + NUMPY_FCONFIG="config_fc --noopt --noarch" + # workaround bug 335908 + [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" + fi + + # don't version f2py, we will handle it. + sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die + + # disable fuzzed tests + find numpy/*/tests -name '*.py' -exec sed -i \ + -e 's:def \(.*_fuzz\):def _\1:' {} + || die + # very memory- and disk-hungry + sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + export MAKEOPTS=-j1 #660754 + + distutils-r1_python_compile ${NUMPY_FCONFIG} +} + +python_test() { + local deselect=( + numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py] + ) + + distutils_install_for_testing --single-version-externally-managed \ + --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} + + cd "${TEST_DIR}/lib" || die + epytest ${deselect[@]/#/--deselect } +} + +python_install() { + # https://github.com/numpy/numpy/issues/16005 + local mydistutilsargs=( build_src ) + distutils-r1_python_install ${NUMPY_FCONFIG} + python_optimize +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + + if use doc; then + local HTML_DOCS=( "${WORKDIR}"/html/. ) + DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf ) + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 6cba7f1e930c..3ad6fec049a6 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1 +1,2 @@ DIST pyopencl-2021.2.6.tar.gz 450194 BLAKE2B be9d0bf653f77d33a4337deab9189a5a9031ff50526444283c6fb9f8625d0451cb211ff703b5eb86c18beebb973f8f7a7cc93da3efc6bb4e95cd533d633fde93 SHA512 b7bea4903a34104c538545c611554c1651ae7a94ee56d8c7129a88a9e547911fac085617b4238fac33534c9b981bcfdb9fabd716456a86fa428cfd42d9cb128c +DIST pyopencl-2021.2.9.tar.gz 451109 BLAKE2B a4b9b1ee1bd4f42742aa2de3acb3f5fe54771905f15dc002327a6669bf460c825c81729403df0b98537deb91ca9d0fa8dd30dd8d7e718fcc23a256b6a797484b SHA512 557bdf20df97090557f441f47b31d5b2878341fe670a4e64a563d8a464fdd5915ece651103ed17396248ab174b1895f4841e5b7ac803b8bf6286266e2c4366d6 diff --git a/dev-python/pyopencl/pyopencl-2021.2.9.ebuild b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild new file mode 100644 index 000000000000..7ff22c750a99 --- /dev/null +++ b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python wrapper for OpenCL" +HOMEPAGE="https://mathema.tician.de/software/pyopencl/ + https://pypi.org/project/pyopencl/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples opengl" + +DEPEND=">=virtual/opencl-2" +RDEPEND="${DEPEND} + >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" +# libglvnd is only needed for the headers +BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] + opengl? ( media-libs/libglvnd )" + +# The test suite fails if there are no OpenCL platforms available, and +# even if there is one (which requires the presence of both an OpenCL +# runtime *and* hardware supported by it - simply emerging any runtime +# is not enough) the vast majority of tests end up skipped because by +# default the portage user hasn't got sufficient privileges to talk +# to the GPU. +RESTRICT="test" + +python_configure_all() { + local myconf=() + if use opengl; then + myconf+=(--cl-enable-gl) + fi + + "${EPYTHON}" configure.py \ + "${myconf[@]}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pythran/pythran-0.10.0.ebuild b/dev-python/pythran/pythran-0.10.0.ebuild index a0702ff23959..037335581b21 100644 --- a/dev-python/pythran/pythran-0.10.0.ebuild +++ b/dev-python/pythran/pythran-0.10.0.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" RDEPEND=" =dev-python/beniget-0.4*[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild index 5c8d0b0be6c6..01048c34918c 100644 --- a/dev-python/scipy/scipy-1.7.1-r1.ebuild +++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD LGPL-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ia64 ~riscv ~s390 ~sparc x86" IUSE="doc +pythran sparse" DEPEND=" diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 8f4c650d3a1e..8d33acf62427 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1 +1,2 @@ DIST sentry-sdk-1.4.3.tar.gz 231054 BLAKE2B 39509b3f7b12e773e23881772cf2d3445374181f7bd23b3a7abe3cbdae012b03b43bcd4ce811a40cd2c7916cae378698ea5a53909b2f679d8b3f3598e675719e SHA512 bd5a1b75a437d28348f980cad0bad30cbcd2872fc9678e50d69bca73e0a08a8e663f0fd54607174122072dafad6055acc73db34c6ca92ec9d00efed41e5c1c97 +DIST sentry-sdk-1.5.0.tar.gz 233213 BLAKE2B f3debc106d1009eff09ae2acb1073d3a8244e39a746e063e869ee158a47a6542f485e8030515b1c633ca978950a4543c3a0ea4e2b1fb4408e478fde2d92bf33b SHA512 7cd9706749712ab55137b0eb05d100c42b9d644ffe76773ff97fc738ad3c1525b4381f8ea9168d8a87ee9932642837b542695bbe96bc2662a246a41368fd40d4 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.5.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.5.0.ebuild new file mode 100644 index 000000000000..eedfd8951a4c --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.5.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python client for Sentry" +HOMEPAGE="https://sentry.io/ https://pypi.org/project/sentry-sdk/" +SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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/eventlet[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${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/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +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 + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + ) + + 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 + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated + # 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 + ) + + # Prevent tests/integrations/modules/test_modules.py:test_basic failure + # Needs to detect sentry-sdk in the installed modules + distutils_install_for_testing + + epytest +} -- cgit v1.3.1