Github messages for voidlinux
 help / color / mirror / Atom feed
From: olafmersmann <olafmersmann@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: qhull: update to 2020.2
Date: Mon, 14 Dec 2020 15:28:59 +0100	[thread overview]
Message-ID: <20201214142859.fQelPeQ0LChhmrcbYwdSBt0HJQGuHzDWfOfa7ScoPDo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27082@inbox.vuxu.org>

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

New comment by olafmersmann on void-packages repository

https://github.com/void-linux/void-packages/pull/27082#issuecomment-744477200

Comment:
> Try adding `python3-pytest` to `checkdepends` for it.

I tried that in `master`:
```
❯ git diff
diff --git a/srcpkgs/python3-matplotlib/template b/srcpkgs/python3-matplotlib/template
index 3940b55d0f..c6acaf5861 100644
--- a/srcpkgs/python3-matplotlib/template
+++ b/srcpkgs/python3-matplotlib/template
@@ -9,6 +9,7 @@ hostmakedepends="pkg-config python3-setuptools python3-certifi python3-numpy"
 makedepends="python3-devel freetype-devel libpng-devel libqhull-devel"
 depends="python3-certifi python3-cycler python3-kiwisolver
  python3-numpy python3-Pillow python3-parsing python3-dateutil"
+checkdepends="$depends python3-pytest>=3.6"
 short_desc="Python3 2D/3D plotting library"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="custom:matplotlib, BSD-3-Clause, MIT"
```
but still get
```
❯ ./xbps-src check -f python3-matplotlib
*snip*
lib/matplotlib/__init__.py:174: in <module>
    _check_versions()
lib/matplotlib/__init__.py:159: in _check_versions
    from . import ft2font
E   ImportError: cannot import name 'ft2font' from partially initialized module 'matplotlib' (most likely due to a circular import) (/builddir
/matplotlib-3.3.3/lib/matplotlib/__init__.py)
=========================== short test summary info ============================
ERROR  - ImportError: cannot import name 'ft2font' from partially initialized...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.30s ===============================
=> ERROR: python3-matplotlib-3.3.3_1: do_check: 'python3 -m pytest ${make_check_args} ${make_check_target}' exited with 2
=> ERROR:   in do_check() at common/build-style/python3-module.sh:28
```

I'll investigate further. If I find a solution, it would go into a separate merge request, right?

  parent reply	other threads:[~2020-12-14 14:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 19:34 [PR PATCH] " olafmersmann
2020-12-10 19:38 ` [PR PATCH] [Updated] " olafmersmann
2020-12-10 21:25 ` olafmersmann
2020-12-10 21:29 ` olafmersmann
2020-12-14 12:12 ` olafmersmann
2020-12-14 12:15 ` olafmersmann
2020-12-14 14:22 ` olafmersmann
2020-12-14 14:22 ` olafmersmann
2020-12-14 14:24 ` ericonr
2020-12-14 14:28 ` olafmersmann [this message]
2020-12-14 14:37 ` ericonr
2020-12-14 21:31 ` [PR PATCH] [Updated] " olafmersmann
2020-12-16 21:18 ` [PR REVIEW] " ahesford
2020-12-16 21:18 ` ahesford
2020-12-16 21:18 ` ahesford
2020-12-17  7:49 ` [PR PATCH] [Updated] " olafmersmann
2020-12-17  7:51 ` [PR REVIEW] " olafmersmann
2020-12-17  7:52 ` olafmersmann
2020-12-17  7:53 ` olafmersmann
2021-01-06 16:34 ` ahesford
2021-01-06 17:26 ` [PR PATCH] [Closed]: " 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=20201214142859.fQelPeQ0LChhmrcbYwdSBt0HJQGuHzDWfOfa7ScoPDo@z \
    --to=olafmersmann@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).