diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-16 18:35:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-16 18:35:37 +0000 |
| commit | a210dbecf692b0ca24a4625a5292a4ea105280fe (patch) | |
| tree | a299fc2aa0a03dbbe69e2b36bb2add9d6eb9d986 /dev-python/executing | |
| parent | b94c36485ea1703f84a5423f6e5f43782eb39bf5 (diff) | |
| download | baldeagleos-repo-a210dbecf692b0ca24a4625a5292a4ea105280fe.tar.gz baldeagleos-repo-a210dbecf692b0ca24a4625a5292a4ea105280fe.tar.xz baldeagleos-repo-a210dbecf692b0ca24a4625a5292a4ea105280fe.zip | |
Adding metadata
Diffstat (limited to 'dev-python/executing')
| -rw-r--r-- | dev-python/executing/executing-2.0.1.ebuild | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/dev-python/executing/executing-2.0.1.ebuild b/dev-python/executing/executing-2.0.1.ebuild index dfec6c170126..e410c843e145 100644 --- a/dev-python/executing/executing-2.0.1.ebuild +++ b/dev-python/executing/executing-2.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 optfeature @@ -26,13 +26,14 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] dev-python/littleutils[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" +) distutils_enable_tests pytest @@ -41,6 +42,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { local EPYTEST_DESELECT=() case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + "tests/test_main.py::test_small_samples[46597f8f896f11c5d7f432236344cc7e5645c2a39836eb6abdd2437c0422f0f4.py]" + ) + ;; python3.10) EPYTEST_DESELECT+=( # crashes with infinite recursion (?) @@ -48,6 +54,11 @@ python_test() { ) ;; esac + if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_ipython.py + ) + fi local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest |
