public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/
Date: Tue, 15 Jun 2021 08:03:38 +0000 (UTC)	[thread overview]
Message-ID: <1623744215.334a8bb141ba3c6ddd2735589193671e517cc12b.andrewammerlaan@gentoo> (raw)

commit:     334a8bb141ba3c6ddd2735589193671e517cc12b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 15 08:02:23 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 08:03:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334a8bb1

dev-python/anyio: unrestrict test phase

skip tests for trio since this is not (yet) packaged

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/anyio/anyio-3.1.0.ebuild | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/dev-python/anyio/anyio-3.1.0.ebuild b/dev-python/anyio/anyio-3.1.0.ebuild
index 53b2893ab60..d4d7d1e4690 100644
--- a/dev-python/anyio/anyio-3.1.0.ebuild
+++ b/dev-python/anyio/anyio-3.1.0.ebuild
@@ -18,10 +18,6 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-# This will pull in dev-python/trio and a whole bunch of other new things
-# And trio does not yet have a release compatible with python3.9.
-RESTRICT="test"
-
 RDEPEND="
 	>=dev-python/idna-2.8[${PYTHON_USEDEP}]
 	>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
@@ -40,3 +36,19 @@ distutils_enable_tests --install pytest
 distutils_enable_sphinx docs \
 	dev-python/sphinx_rtd_theme \
 	dev-python/sphinx-autodoc-typehints
+
+python_prepare_all() {
+	# This will pull in dev-python/trio and a whole bunch of other new things
+	# And trio does not yet have a release compatible with python3.9.
+	rm tests/test_taskgroups.py || die
+	sed -i -e '/trio/d' tests/conftest.py || die
+	sed -i -e 's/test_cancel_scope_in_asyncgen_fixture/_&/' \
+		-e 's/test_autouse_async_fixture/_&/' \
+		-e 's/test_plugin/_&/' \
+		tests/test_pytest_plugin.py || die
+
+	# skip network test
+	sed -i -e 's/test_getaddrinfo/_&/' tests/test_sockets.py || die
+
+	distutils-r1_python_prepare_all
+}


             reply	other threads:[~2021-06-15  8:03 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15  8:03 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08  8:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/ Michał Górny
2025-02-16 19:58 Michał Górny
2025-01-25  9:50 Michał Górny
2025-01-25  8:54 Sam James
2025-01-06 11:46 Michał Górny
2025-01-06  9:30 Sam James
2025-01-06  9:30 Sam James
2025-01-06  6:42 Michał Górny
2025-01-06  3:47 WANG Xuerui
2024-12-21 11:35 Michał Górny
2024-12-21 11:31 Michał Górny
2024-12-21 11:31 Michał Górny
2024-12-06  4:09 Michał Górny
2024-11-09 11:13 Sam James
2024-11-09 10:47 Arthur Zamarin
2024-11-09 10:26 Arthur Zamarin
2024-11-09 10:03 Arthur Zamarin
2024-10-25 11:51 Arthur Zamarin
2024-10-25 11:51 Arthur Zamarin
2024-10-15  7:00 Michał Górny
2024-10-14  4:11 Michał Górny
2024-10-12  7:04 Michał Górny
2024-10-09  5:46 Sam James
2024-10-05 21:47 Jakov Smolić
2024-10-05 14:47 Arthur Zamarin
2024-10-05 10:05 Sam James
2024-09-22  3:02 Michał Górny
2024-09-20  5:18 Michał Górny
2024-06-29  7:57 Arthur Zamarin
2024-06-12  7:42 Michał Górny
2024-06-12  6:51 Sam James
2024-06-01  8:09 Michał Górny
2024-06-01  7:25 Arthur Zamarin
2024-05-27  4:17 Michał Górny
2024-05-14 16:16 Michał Górny
2024-05-05 19:50 Sam James
2024-03-07 16:19 Michał Górny
2024-03-07 16:17 Michał Górny
2024-02-24 15:00 Michał Górny
2024-02-19 15:51 Michał Górny
2024-01-06  9:59 Michał Górny
2024-01-06  9:54 Michał Górny
2023-12-17  6:55 Michał Górny
2023-12-09 14:30 Michał Górny
2023-12-09 14:22 Michał Górny
2023-11-23  4:19 Michał Górny
2023-10-23  3:05 Michał Górny
2023-10-06 14:29 Sam James
2023-08-31 13:22 Michał Górny
2023-08-05 15:21 Michał Górny
2023-08-05 15:11 Arthur Zamarin
2023-07-06  3:31 Michał Górny
2023-07-05  8:03 Michał Górny
2023-07-05  5:56 Arthur Zamarin
2023-05-30 16:18 Michał Górny
2023-05-28  3:14 Michał Górny
2023-03-16  3:44 Michał Górny
2023-02-13  3:22 Matt Turner
2022-06-16  8:59 Jakov Smolić
2022-06-04 17:39 Michał Górny
2022-05-15  7:29 Michał Górny
2022-05-14  7:28 Michał Górny
2022-05-11 12:56 Jakov Smolić
2022-05-01  1:52 WANG Xuerui
2022-04-07  9:14 Michał Górny
2022-04-07  7:53 Michał Górny
2022-04-06 19:41 Michał Górny
2022-03-16 11:19 Jakov Smolić
2022-02-17 20:24 Arthur Zamarin
2022-02-07 22:29 Sam James
2022-02-07  9:35 Sam James
2022-02-07  5:12 Sam James
2022-01-11  9:59 Michał Górny
2021-12-25  8:24 Agostino Sarubbo
2021-12-17  9:15 Michał Górny
2021-12-04  8:54 Arthur Zamarin
2021-11-24 23:59 Sam James
2021-11-19 11:39 Arthur Zamarin
2021-11-19  7:59 Arthur Zamarin
2021-11-18 10:50 Sam James
2021-11-15 16:29 Agostino Sarubbo
2021-10-17  7:33 Michał Górny
2021-10-17  6:31 Sam James
2021-09-20  6:25 Agostino Sarubbo
2021-09-11 15:30 Arthur Zamarin
2021-08-05 13:30 Sam James
2021-08-04 18:43 Louis Sautier
2021-07-28  1:08 Sam James
2021-07-26  2:27 Sam James
2021-07-12  0:58 Sam James
2021-07-08  7:11 Sergei Trofimovich
2021-07-08  7:09 Sergei Trofimovich
2021-06-10  9:58 Andrew Ammerlaan

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=1623744215.334a8bb141ba3c6ddd2735589193671e517cc12b.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --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