public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-numpoly] rawhide: drop unused patches
Date: Wed, 05 Aug 2026 23:28:00 GMT [thread overview]
Message-ID: <178597248061.1.12248570496446370624.rpms-python-numpoly-641fb44d70ad@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-numpoly
Branch : rawhide
Commit : 641fb44d70ad592fee62fbae844164bdfef0f3cc
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-02T01:05:43-03:00
Stats : +0/-42 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-numpoly/c/641fb44d70ad592fee62fbae844164bdfef0f3cc?branch=rawhide
Log:
drop unused patches
---
diff --git a/127.patch b/127.patch
deleted file mode 100644
index c2a6ee5..0000000
--- a/127.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 12fcca5a99c97886a75c383543c1be80d31abe10 Mon Sep 17 00:00:00 2001
-From: Sandro <devel@penguinpee.nl>
-Date: Thu, 25 Sep 2025 17:32:28 +0200
-Subject: [PATCH] Adapt tests for change in numpy.count_zero()
-
-As of NumPy 2.3.0 `numpy.count_zero` returns a NumPy scalar instead of a
-Python int.
----
- test/test_array_function.py | 11 +++++++++--
- 1 file changed, 9 insertions(+), 2 deletions(-)
-
-diff --git a/test/test_array_function.py b/test/test_array_function.py
-index 524f8ee..e539676 100644
---- a/test/test_array_function.py
-+++ b/test/test_array_function.py
-@@ -4,6 +4,7 @@
- import numpy
- from numpoly import polynomial
- import numpoly
-+from packaging.version import Version
-
- X, Y = numpoly.variable(2)
-
-@@ -357,10 +358,16 @@ def test_count_nonzero(func_interface):
- """Tests for numpoly.count_nonzero."""
- poly1 = polynomial([[0, Y], [X, 1]])
- poly2 = polynomial([[0, Y, X, 0, 0], [3, 0, 0, 2, 19]])
-- assert_equal(func_interface.count_nonzero(poly1), 3, type_=int)
- assert_equal(func_interface.count_nonzero(poly1, axis=0), [1, 2])
- assert_equal(func_interface.count_nonzero(poly2, axis=0), [1, 1, 1, 1, 1])
-- assert_equal(func_interface.count_nonzero(X), 1, type_=int)
-+ # As of NumPy 2.3.0 `count_nonzero` returns a scalar instead of int
-+ # https://github.com/jonathf/numpoly/issues/126
-+ if Version(numpy.__version__) >= Version("2.3.0"):
-+ assert_equal(func_interface.count_nonzero(poly1), 3, type_=numpy.intp)
-+ assert_equal(func_interface.count_nonzero(X), 1, type_=numpy.intp)
-+ else:
-+ assert_equal(func_interface.count_nonzero(poly1), 3, type_=int)
-+ assert_equal(func_interface.count_nonzero(X), 1, type_=int)
-
-
- def test_cumsum(interface):
reply other threads:[~2026-08-05 23:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178597248061.1.12248570496446370624.rpms-python-numpoly-641fb44d70ad@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.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