unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Xinglu Chen <public@yoctocell.xyz>
To: Greg Hogan <code@greghogan.com>, 45698@debbugs.gnu.org
Subject: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Sun, 14 Mar 2021 22:04:25 +0100	[thread overview]
Message-ID: <87ft0xcuqu.fsf@yoctocell.xyz> (raw)
In-Reply-To: <CA+3U0Zmwmhkuq5VfL_uu9dL5Hd12v4jrktmK6v6_Ho+5dqC8rQ@mail.gmail.com>

On Sun, Mar 14 2021, Greg Hogan wrote:

> * gnu/packages/python-xyz.scm (python-numpy): Update to 1.20.1.
> [native-inputs]: Add python-hypothesis.

Great, Numpy builds for me, but when I try to build Scipy which is often
used with Numpy, one test for Matplolib is failing.  Any ideas?

--8<---------------cut here---------------start------------->8---
=================================== FAILURES ===================================
___________________________________ test_gca ___________________________________

    def test_gca():
        fig = plt.figure()
    
        ax1 = fig.add_axes([0, 0, 1, 1])
        assert fig.gca(projection='rectilinear') is ax1
        assert fig.gca() is ax1
    
        ax2 = fig.add_subplot(121, projection='polar')
        assert fig.gca() is ax2
        assert fig.gca(polar=True) is ax2
    
        ax3 = fig.add_subplot(122)
        assert fig.gca() is ax3
    
        # the final request for a polar axes will end up creating one
        # with a spec of 111.
        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter('always')
            # Changing the projection will throw a warning
            assert fig.gca(polar=True) is not ax3
>           assert len(w) == 1
E           assert 2 == 1
E             -2
E             +1

/gnu/store/s3i6ps5fmyb5ld0rx37g23s7w8rzghl7-python-matplotlib-3.1.2/lib/python3.8/site-packages/matplotlib/tests/test_figure.py:168: AssertionError

[...]

-- Docs: https://docs.pytest.org/en/latest/warnings.html
= 1 failed, 5014 passed, 2139 skipped, 2 deselected, 9 xfailed, 8 xpassed, 36 warnings in 107.78s (0:01:47) =
command "python" "tests.py" "-v" "-m" "not network and not webagg" failed with status 1
builder for `/gnu/store/6kmizr8498mxiv7spsavznirva76yphh-python-matplotlib-3.1.2.drv' failed with exit code 1
build of /gnu/store/6kmizr8498mxiv7spsavznirva76yphh-python-matplotlib-3.1.2.drv failed
View build log at '/var/log/guix/drvs/6k/mizr8498mxiv7spsavznirva76yphh-python-matplotlib-3.1.2.drv.bz2'.
cannot build derivation `/gnu/store/hd6zbcgdf7sa9bj63rsw5ayyhrrlfndw-python-scipy-1.6.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/hd6zbcgdf7sa9bj63rsw5ayyhrrlfndw-python-scipy-1.6.0.drv' failed
--8<---------------cut here---------------end--------------->8---




  reply	other threads:[~2021-03-14 21:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 18:46 [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4 Greg Hogan
2021-03-14 16:03 ` Greg Hogan
2021-03-14 21:04   ` Xinglu Chen [this message]
2021-03-15  8:34     ` zimoun
2021-03-26  9:17 ` zimoun
2021-03-26 13:30   ` Greg Hogan
2021-03-27  0:44     ` zimoun
2021-06-09 21:50       ` zimoun
2021-06-10  7:31         ` Xinglu Chen
2021-06-10  8:32           ` bug#45698: " zimoun

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft0xcuqu.fsf@yoctocell.xyz \
    --to=public@yoctocell.xyz \
    --cc=45698@debbugs.gnu.org \
    --cc=code@greghogan.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).