public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pint] rpmlint-etc: Drop obsolete patches
Date: Sat, 12 Sep 2026 10:21:51 GMT	[thread overview]
Message-ID: <178920851110.1.10062354215292395531.rpms-python-pint-11bba046ebca@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pint
Branch : rpmlint-etc
Commit : 11bba046ebca33721c28a88bc413b04d8e1e2cd1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2023-10-30T07:16:59-04:00
Stats  : +0/-19 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pint/c/11bba046ebca33721c28a88bc413b04d8e1e2cd1?branch=rpmlint-etc

Log:
Drop obsolete patches

---
diff --git a/python-pint.spec b/python-pint.spec
index 68d0ee1..c40f80d 100644
--- a/python-pint.spec
+++ b/python-pint.spec
@@ -39,25 +39,6 @@ Provides:       bundled(python3dist(flexcache)) = 0.2
 %prep
 %autosetup -n Pint-%{version}
 
-# numpy 1.24.x removes np.float np.alen and so on
-# These are already fixed upstream
-grep -rl "dtype=np\.float" . | xargs sed -i -e 's|dtype=np\.float|dtype=float|'
-sed -i pint/testsuite/test_numpy.py \
-	-e 's|dtype=float32|dtype=np.float32|' \
-	-e 's|dtype=float64|dtype=np.float64|' \
-	-e 's|np\.alen|len|' \
-	%{nil}
-
-# Workaround for https://github.com/hgrecco/pint/issues/1818
-sed -i pint/testsuite/__init__.py -e '115s|except TypeError:|except (TypeError, ValueError):|'
-
-# python 3.12 removes deprecated unittest.assertEquals
-# This is already fixed upstream
-sed -i pint/testsuite/test_contexts.py -e 's|self.assertEquals|self.assertEqual|'
-
-# drop numpy version requirement
-sed -i '/@helpers.requires_numpy_at_least("1.16")/d' pint/testsuite/test_quantity.py
-
 # We are not sure where this was bundled from, but we are pretty sure it was
 # bundled from somewhere! We are not building HTML documentation, so we do not
 # need it.

                 reply	other threads:[~2026-09-12 10:21 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=178920851110.1.10062354215292395531.rpms-python-pint-11bba046ebca@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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