From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-trio/
Date: Sun, 29 Mar 2020 13:21:34 +0000 (UTC) [thread overview]
Message-ID: <1585485339.be0208ec654fa3530ae5a848feaf10fe33125c39.andrewammerlaan@gentoo> (raw)
Message-ID: <20200329132134.SYY7nXUi2gGDKSFYlPxkhZDASTnOussA1uUaL4LZ8cc@z> (raw)
commit: be0208ec654fa3530ae5a848feaf10fe33125c39
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 29 12:35:39 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 29 12:35:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be0208ec
dev-python/pytest-trio: made some progress with the tests
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/pytest-trio/pytest-trio-0.5.2.ebuild | 21 ++++++++++++++++++++-
1 file changed, 20 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 b35afa2..8232fa5 100644
--- a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
+++ b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
@@ -3,7 +3,9 @@
EAPI="7"
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -18,6 +20,9 @@ LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+# lots of different errors
+RESTRICT="test"
+
RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
dev-python/outcome[${PYTHON_USEDEP}]
@@ -35,3 +40,17 @@ DEPEND="
distutils_enable_tests pytest
distutils_enable_sphinx docs/source
+
+python_prepare_all() {
+ # AttributeError("module 'pytest' has no attribute 'RemovedInPytest4Warning'",)
+ rm pytest_trio/_tests/conftest.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # has to be run in source dir
+ PYTHONPATH="${S}"
+ cd "${S}" || die
+ pytest -vv || die "Tests fail with ${EPYTHON}"
+}
next reply other threads:[~2020-03-29 13:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-29 13:21 Andrew Ammerlaan [this message]
2020-03-29 13:21 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-trio/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-05-05 7:32 [gentoo-commits] repo/proj/guru:dev " Alessandro Barbieri
2021-04-13 13:22 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-13 12:27 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-28 9:55 Andrew Ammerlaan
2021-02-17 17:59 Andrew Ammerlaan
2020-12-06 9:40 Alessandro Barbieri
2020-08-29 14:14 Andrew Ammerlaan
2020-06-15 11:34 Andrew Ammerlaan
2020-05-24 19:03 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-05-24 8:35 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-31 17:07 Andrew Ammerlaan
2020-03-31 16:44 Alessandro Barbieri
2020-03-29 9:29 Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1585485339.be0208ec654fa3530ae5a848feaf10fe33125c39.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox