Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-ipyparallel: enable check
Date: Mon, 25 Sep 2023 03:30:10 +0200	[thread overview]
Message-ID: <20230925013010.z-WikfPqogCe16cvwYkscLdusq1VmLBUPbIF9StoyvI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46209@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages ipyparallel
https://github.com/void-linux/void-packages/pull/46209

python3-ipyparallel: enable check
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**



<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46209.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ipyparallel-46209.patch --]
[-- Type: text/x-diff, Size: 1636 bytes --]

From 0d58a25b86e00ccce95acdececb39bc537849cd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 23 May 2023 23:14:55 -0300
Subject: [PATCH] python3-ipyparallel: enable check

---
 srcpkgs/python3-ipyparallel/template | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-ipyparallel/template b/srcpkgs/python3-ipyparallel/template
index 9c86bba760a04..53d51b3ba26b2 100644
--- a/srcpkgs/python3-ipyparallel/template
+++ b/srcpkgs/python3-ipyparallel/template
@@ -7,6 +7,9 @@ hostmakedepends="hatchling"
 depends="python3-entrypoints python3-decorator python3-pyzmq python3-traitlets
  python3-ipython python3-jupyter_client python3-ipython_ipykernel
  python3-tornado python3-psutil python3-dateutil python3-tqdm"
+checkdepends="$depends python3-pytest python3-pytest-asyncio
+ python3-testpath python3-matplotlib python3-joblib python3-numpy
+ python3-pandas"
 short_desc="Interactive parallel computing in Python"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="BSD-3-Clause"
@@ -14,8 +17,14 @@ homepage="https://ipyparallel.readthedocs.io/"
 changelog="https://ipyparallel.readthedocs.io/en/latest/changelog.html"
 distfiles="${PYPI_SITE}/i/ipyparallel/ipyparallel-${version}.tar.gz"
 checksum=a39aa5ef9560170bf0e9afedca9ff045e1b9c1832c49303377edcc91cea9fb77
-# Too many tests fail with a "local" cluster type
-make_check=no
+
+# Seems broken in musl
+[[ "$XBPS_TARGET_MACHINE" = *-musl ]] && make_check=no
+
+pre_check() {
+	# having HOME=/tmp confuses a few tests
+	HOME=/home
+}
 
 post_install() {
 	vlicense COPYING.md

  parent reply	other threads:[~2023-09-25  1:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46209@inbox.vuxu.org>
2023-09-24 23:09 ` tornaria
2023-09-24 23:23 ` tornaria
2023-09-25  1:30 ` tornaria [this message]
2023-09-25  1:43 ` tornaria
2023-09-25  1:57 ` [PR REVIEW] " ahesford
2023-09-25  1:57 ` ahesford
2023-09-25 23:19 ` [PR PATCH] [Updated] " tornaria
2023-09-26  1:21 ` [PR PATCH] [Merged]: " ahesford

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=20230925013010.z-WikfPqogCe16cvwYkscLdusq1VmLBUPbIF9StoyvI@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).