From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/uncertainties/
Date: Sun, 19 May 2024 11:47:22 +0000 (UTC) [thread overview]
Message-ID: <1716119234.a603a7c799137c6bfbf86be7b65dc339e42ad052.mgorny@gentoo> (raw)
commit: a603a7c799137c6bfbf86be7b65dc339e42ad052
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 19 08:00:20 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 19 11:47:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a603a7c7
dev-python/uncertainties: Fix tests with numpy-2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild b/dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild
index 5c1abc030534..09df84db552d 100644
--- a/dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild
+++ b/dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,6 +31,10 @@ distutils_enable_sphinx doc --no-autodoc
src_prepare() {
# not used in py3, see https://github.com/lebigot/uncertainties/pull/168
sed -i -e '/future/d' setup.py || die
+ # fix tests with numpy-2
+ # https://github.com/lmfit/uncertainties/pull/225
+ sed -e "/assert not hasattr(numpy, 'acos')/d" \
+ -i uncertainties/unumpy/test_unumpy.py || die
distutils-r1_src_prepare
}
next reply other threads:[~2024-05-19 11:47 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-19 11:47 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-08 4:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/uncertainties/ Michał Górny
2024-07-08 4:41 Michał Górny
2024-06-09 3:17 Michał Górny
2024-06-09 3:17 Michał Górny
2024-05-19 11:47 Michał Górny
2023-11-04 18:03 Michał Górny
2023-03-16 4:13 Michał Górny
2022-12-31 15:27 Michał Górny
2022-12-31 15:27 Michał Górny
2022-11-14 5:07 Michał Górny
2022-10-19 9:16 Andrew Ammerlaan
2022-06-19 18:08 Arthur Zamarin
2022-06-05 5:53 Michał Górny
2021-10-17 9:41 Michał Górny
2021-08-25 18:12 Arthur Zamarin
2021-08-25 18:12 Arthur Zamarin
2021-08-25 18:12 Arthur Zamarin
2021-07-12 9:11 Michał Górny
2020-11-11 21:26 Patrice Clement
2020-07-12 16:57 Michał Górny
2020-06-07 10:45 Pacho Ramos
2019-12-28 16:16 David Seifert
2019-07-15 15:03 Michał Górny
2017-06-28 18:21 Sebastien Fabbro
2016-12-06 0:43 Sebastien Fabbro
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=1716119234.a603a7c799137c6bfbf86be7b65dc339e42ad052.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