public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzmq/
Date: Thu, 16 Nov 2023 16:35:24 +0000 (UTC)	[thread overview]
Message-ID: <1700152519.a48229cb338fedf2e5a076d30c9c81d1955eeaca.mgorny@gentoo> (raw)

commit:     a48229cb338fedf2e5a076d30c9c81d1955eeaca
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 16:26:13 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 16:35:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48229cb

dev-python/pyzmq: Enable pypy3

Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyzmq/pyzmq-25.1.1.ebuild | 48 +++++++++++++++++++-----------------
 1 file changed, 26 insertions(+), 22 deletions(-)

diff --git a/dev-python/pyzmq/pyzmq-25.1.1.ebuild b/dev-python/pyzmq/pyzmq-25.1.1.ebuild
index b7c58ef257cf..7a6aa2779167 100644
--- a/dev-python/pyzmq/pyzmq-25.1.1.ebuild
+++ b/dev-python/pyzmq/pyzmq-25.1.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
@@ -31,11 +31,8 @@ DEPEND="
 	>=net-libs/zeromq-4.2.2-r2:=[drafts=]
 "
 # It uses cffi backend for pypy, cython backend for cpython
-RDEPEND="${DEPEND}
-	$(python_gen_cond_dep '
-		dev-python/py[${PYTHON_USEDEP}]
-		dev-python/cffi:=[${PYTHON_USEDEP}]
-	' pypy3)
+RDEPEND="
+	${DEPEND}
 "
 BDEPEND="
 	$(python_gen_cond_dep '
@@ -52,22 +49,6 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-23.2.0-libdir.patch
 )
 
-EPYTEST_DESELECT=(
-	# TODO
-	zmq/tests/test_auth.py
-	zmq/tests/test_cython.py
-	zmq/tests/test_zmqstream.py
-
-	# swap thrashing on low-mem hosts, per Debian:
-	# https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send
-	zmq/tests/test_socket.py::TestSocket::test_large_send
-)
-
-EPYTEST_IGNORE=(
-	# Avoid dependency on mypy
-	zmq/tests/test_mypy.py
-)
-
 distutils_enable_tests pytest
 # TODO: Package enum_tools
 # distutils_enable_sphinx docs/source \
@@ -82,6 +63,29 @@ python_prepare_all() {
 }
 
 python_test() {
+	local EPYTEST_DESELECT=(
+		# TODO
+		zmq/tests/test_auth.py
+		zmq/tests/test_cython.py
+		zmq/tests/test_zmqstream.py
+
+		# swap thrashing on low-mem hosts, per Debian:
+		# https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send
+		zmq/tests/test_socket.py::TestSocket::test_large_send
+	)
+	local EPYTEST_IGNORE=(
+		# Avoid dependency on mypy
+		zmq/tests/test_mypy.py
+	)
+
+	case ${EPYTHON} in
+		pypy3)
+			EPYTEST_DESELECT+=(
+				# not implemented in cffi variant?
+				zmq/tests/test_draft.py::TestDraftSockets
+			)
+	esac
+
 	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
 	cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
 	epytest -p asyncio -p rerunfailures


             reply	other threads:[~2023-11-16 16:35 UTC|newest]

Thread overview: 198+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-16 16:35 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-13  7:20 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzmq/ Michał Górny
2025-03-12  8:31 Michał Górny
2025-03-12  8:00 Sam James
2025-02-22 17:05 Arthur Zamarin
2025-02-20 17:09 Michał Górny
2025-02-16  4:15 Sam James
2025-02-15 19:39 Jakov Smolić
2025-02-15  9:48 Arthur Zamarin
2025-02-15  8:41 Arthur Zamarin
2025-02-15  8:38 Arthur Zamarin
2025-02-15  8:04 Arthur Zamarin
2025-01-31  5:40 Michał Górny
2025-01-13 18:41 Michał Górny
2025-01-13 14:07 Michał Górny
2024-11-13  1:57 Sam James
2024-10-30 20:48 Sam James
2024-09-13  2:15 Sam James
2024-09-12 16:56 Arthur Zamarin
2024-09-09 20:44 Arthur Zamarin
2024-09-07 15:01 Arthur Zamarin
2024-09-07 13:21 Jakov Smolić
2024-09-07 13:21 Jakov Smolić
2024-08-25 12:04 Andreas K. Hüttel
2024-08-23  4:57 Michał Górny
2024-08-20  1:29 Michał Górny
2024-08-05 11:48 Michał Górny
2024-07-11 16:37 Michał Górny
2024-06-08  7:12 Sam James
2024-05-28  5:15 Sam James
2024-05-17 14:59 Arthur Zamarin
2024-05-17 13:05 Sam James
2024-05-17 13:05 Sam James
2024-05-02  1:37 Michał Górny
2024-05-02  1:37 Michał Górny
2024-05-01  5:28 Joonas Niilola
2024-04-20  4:29 Michał Górny
2024-04-19 19:17 Arthur Zamarin
2024-04-19 18:46 Michał Górny
2024-04-16 10:22 Michał Górny
2023-12-20 16:48 Michał Górny
2023-12-20 16:26 Michał Górny
2023-12-20 16:26 Michał Górny
2023-12-20 16:08 Michał Górny
2023-12-20 16:08 Michał Górny
2023-12-20 16:08 Michał Górny
2023-12-20 16:00 Michał Górny
2023-12-20 15:51 Michał Górny
2023-12-20 15:49 Michał Górny
2023-12-05 14:32 Michał Górny
2023-11-10  5:47 Viorel Munteanu
2023-11-07 20:35 Sam James
2023-09-11 15:18 Arthur Zamarin
2023-09-11 15:18 Arthur Zamarin
2023-09-11 15:18 Arthur Zamarin
2023-09-11 15:17 Arthur Zamarin
2023-09-11 12:45 Arthur Zamarin
2023-09-11 12:33 Arthur Zamarin
2023-09-11 12:25 Arthur Zamarin
2023-09-11 12:25 Arthur Zamarin
2023-08-11  6:35 Michał Górny
2023-07-15  6:08 Sam James
2023-06-27 18:53 Sam James
2023-06-27 10:56 Sam James
2023-06-27  8:06 Jakov Smolić
2023-06-27  7:54 Sam James
2023-06-27  7:14 Sam James
2023-06-27  7:14 Sam James
2023-05-27  5:33 Michał Górny
2023-05-27  5:32 Michał Górny
2023-05-04 16:56 Michał Górny
2023-04-05 15:58 Michał Górny
2023-04-05 12:53 Arthur Zamarin
2023-04-05  9:30 Arthur Zamarin
2023-04-05  8:36 Arthur Zamarin
2023-04-05  8:32 Arthur Zamarin
2023-04-05  7:59 Jakov Smolić
2023-04-05  7:49 Arthur Zamarin
2023-04-05  7:37 Arthur Zamarin
2023-04-05  7:28 Arthur Zamarin
2023-03-21 20:06 Michał Górny
2023-03-14  6:11 Michał Górny
2023-02-23  9:27 Andrew Ammerlaan
2022-11-18 11:26 Michał Górny
2022-11-18 10:58 Arthur Zamarin
2022-11-04  8:55 Agostino Sarubbo
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 22:04 Sam James
2022-11-03 21:01 Arthur Zamarin
2022-11-03 20:44 Arthur Zamarin
2022-11-03 19:44 Arthur Zamarin
2022-11-03 19:36 Arthur Zamarin
2022-09-26  7:31 Michał Górny
2022-09-22 10:55 Andrew Ammerlaan
2022-09-20  8:08 Michał Górny
2022-09-20  7:43 Jakov Smolić
2022-09-19 20:33 Arthur Zamarin
2022-09-19 20:26 Arthur Zamarin
2022-09-19 20:24 Arthur Zamarin
2022-09-19 20:22 Arthur Zamarin
2022-09-19 20:14 Jakov Smolić
2022-09-19 20:10 Jakov Smolić
2022-09-19 20:04 Arthur Zamarin
2022-08-18 19:14 Michał Górny
2022-08-18 16:45 Arthur Zamarin
2022-08-18  7:01 Agostino Sarubbo
2022-08-17 21:13 Sam James
2022-08-17 19:31 Arthur Zamarin
2022-08-17 18:54 Arthur Zamarin
2022-08-17 18:52 Sam James
2022-08-17 18:49 Arthur Zamarin
2022-08-17 18:48 Arthur Zamarin
2022-08-12 11:23 Arthur Zamarin
2022-07-11 17:45 Michał Górny
2022-07-11 16:32 Arthur Zamarin
2022-07-11  8:12 Agostino Sarubbo
2022-07-10 18:51 Arthur Zamarin
2022-07-10 18:41 Arthur Zamarin
2022-07-10 18:14 Arthur Zamarin
2022-07-10 18:04 Arthur Zamarin
2022-07-10 16:58 Sam James
2022-07-10 16:56 Sam James
2022-06-27  4:40 Michał Górny
2022-06-26 19:20 Arthur Zamarin
2022-06-23  8:34 Agostino Sarubbo
2022-06-22 18:37 Sam James
2022-06-22 10:16 Agostino Sarubbo
2022-06-22 10:12 Agostino Sarubbo
2022-06-22  6:55 Agostino Sarubbo
2022-06-22  5:49 Agostino Sarubbo
2022-06-22  5:48 Agostino Sarubbo
2022-06-20 17:20 Arthur Zamarin
2022-06-10  9:44 Andrew Ammerlaan
2022-05-22 11:50 Andrew Ammerlaan
2022-05-22 11:50 Andrew Ammerlaan
2022-01-29 22:13 James Le Cuirot
2021-11-14 20:35 Sam James
2021-11-14  3:43 Sam James
2021-09-12  9:29 Michał Górny
2021-09-12  9:13 Sam James
2021-09-12  8:33 Sam James
2021-09-12  8:16 Sam James
2021-09-07 17:45 Sam James
2021-09-06  0:18 Sam James
2021-08-27 20:06 Sam James
2021-08-19  1:25 Agostino Sarubbo
2021-08-18 12:58 Agostino Sarubbo
2021-08-11  0:20 Sam James
2021-08-04 21:12 Marek Szuba
2021-06-30 21:19 Michał Górny
2021-06-30 21:19 Michał Górny
2021-03-04  8:57 Michał Górny
2021-03-04  6:09 Sam James
2021-03-03 21:20 Sam James
2021-03-02  8:42 Sam James
2021-03-02  7:39 Sam James
2021-03-02  4:37 Sam James
2020-12-11 12:58 Michał Górny
2020-11-19 11:17 Agostino Sarubbo
2020-11-14  8:50 Michał Górny
2020-11-02  9:47 Sam James
2020-10-20  8:22 Sam James
2020-10-18 23:55 Sam James
2020-10-18 18:51 Thomas Deutschmann
2020-09-11  9:31 Michał Górny
2020-08-05 16:17 Sam James
2020-08-05 14:04 Agostino Sarubbo
2020-08-03  3:11 Sam James
2020-07-31  2:12 Sam James
2020-06-09 16:07 Michał Górny
2020-05-13 17:14 Agostino Sarubbo
2020-05-04 13:34 Agostino Sarubbo
2020-05-04 11:49 Michał Górny
2020-05-03 12:28 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-03-25  9:39 Michał Górny
2020-03-25  9:39 Michał Górny
2020-02-25 18:44 Rick Farina
2020-01-28 22:05 Michał Górny
2019-12-15 14:50 Agostino Sarubbo
2018-02-25 21:52 Sergei Trofimovich
2017-08-04  4:31 Markus Meier
2017-06-21 12:17 Agostino Sarubbo
2017-06-17 17:24 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2017-06-03 18:18 Mike Gilbert
2017-06-03 18:16 Mike Gilbert
2017-05-02 11:58 Michał Górny
2017-03-12 12:31 Zac Medico
2017-02-02 18:43 David Seifert
2016-02-28  6:43 Matt Thode
2016-02-09 14:31 Justin Lecher
2016-01-14  9:53 Justin Lecher
2015-11-28  9:28 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-11-06 10:44 Justin Lecher
2015-10-21 13:41 Justin Lecher
2015-09-11  3:23 Mike Frysinger

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=1700152519.a48229cb338fedf2e5a076d30c9c81d1955eeaca.mgorny@gentoo \
    --to=mgorny@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