commit: e0d5b38166015cc1c8eb29ee0799c642c1a915b2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Tue Mar 31 16:43:22 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Tue Mar 31 16:43:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0d5b381
dev-python/pytest-trio: more deps, more drama Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/pytest-trio/pytest-trio-0.5.2.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild index 8232fa5..aba3ec7 100644 --- a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild +++ b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild @@ -34,14 +34,20 @@ DEPEND=" >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] !~dev-python/pytest-3.7.0[${PYTHON_USEDEP}] !~dev-python/pytest-3.7.1[${PYTHON_USEDEP}] + >=dev-python/pytest-4.3[${PYTHON_USEDEP}] dev-python/trio-asyncio[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest -distutils_enable_sphinx docs/source +distutils_enable_sphinx docs/source \ + ">=dev-python/attrs-17.4.0" \ + ">=dev-python/sphinx-1.6.1" \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinxcontrib-trio python_prepare_all() { + #fix for https://github.com/python-trio/pytest-trio/issues/90 # AttributeError("module 'pytest' has no attribute 'RemovedInPytest4Warning'",) rm pytest_trio/_tests/conftest.py || die @@ -50,6 +56,10 @@ python_prepare_all() { python_test() { # has to be run in source dir + #even upstream doesn't know how to run their tests + #https://github.com/python-trio/pytest-trio/issues/84 + #"Our CI is still passing AFAIK" + PYTHONPATH="${S}" cd "${S}" || die pytest -vv || die "Tests fail with ${EPYTHON}"