public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Runge <mrunge@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pint] rpmlint-etc: FTBFS and update to 0.16.1
Date: Sat, 12 Sep 2026 10:21:40 GMT	[thread overview]
Message-ID: <178920850090.1.4351996655455309451.rpms-python-pint-f1b5b2ff9d56@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pint
Branch : rpmlint-etc
Commit : f1b5b2ff9d567e503e410326100f582894f4b281
Author : Matthias Runge <mrunge@redhat.com>
Date   : 2021-01-25T08:30:20+01:00
Stats  : +16/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pint/c/f1b5b2ff9d567e503e410326100f582894f4b281?branch=rpmlint-etc

Log:
FTBFS and update to 0.16.1

---
diff --git a/python-pint.spec b/python-pint.spec
index c23fa87..1eb4889 100644
--- a/python-pint.spec
+++ b/python-pint.spec
@@ -1,9 +1,9 @@
 %global pypi_name Pint
-%bcond_without bootstrap
+%bcond_with docs
 
 Name:           python-pint
-Version:        0.16
-Release:        1%{?dist}
+Version:        0.16.1
+Release:        2%{?dist}
 Summary:        Physical quantities module
 
 License:        BSD
@@ -38,7 +38,7 @@ to different units.
 It is distributed with a comprehensive list of physical units, prefixes
 and constants.
 
-%if %{without bootstrap}
+%if %{with docs}
 %package -n python3-pint-doc
 Summary:        Documentation for the pint module
 %{?python_provide:%python_provide python3-pint-doc}
@@ -49,6 +49,9 @@ BuildRequires:  python3-ipykernel
 BuildRequires:  python3-jupyter-client
 BuildRequires:  python3-matplotlib
 BuildRequires:  python3-nbsphinx
+BuildRequires:  python3-pandas
+BuildRequires:  python3-dask
+BuildRequires:  python3-pygments
 BuildRequires:  python3-sphinx
 BuildRequires:  python3-xarray
 
@@ -59,13 +62,16 @@ Documentation for the pint module
 %prep
 %setup -q -n %{pypi_name}-%{version}
 
+# drop numpy version requirement
+sed -i '/@helpers.requires_numpy_at_least("1.16")/d' pint/testsuite/test_quantity.py
+
 %generate_buildrequires
 %pyproject_buildrequires -x test
 
 %build
 %pyproject_wheel
 
-%if %{without bootstrap}
+%if %{with docs}
 export PYTHONPATH="$( pwd ):$PYTHONPATH"
 sphinx-build-3 docs html
 # remove the sphinx-build leftovers
@@ -85,13 +91,17 @@ rm -rf html/.{doctrees,buildinfo}
 %{python3_sitelib}/pint
 %{python3_sitelib}/Pint-%{version}.*
 
-%if %{without bootstrap}
+%if %{with docs}
 %files -n python3-pint-doc
 %doc html
 %license docs/_themes/LICENSE
 %endif
 
 %changelog
+* Sun Jan 24 2021 Matthias Runge <mrunge@redhat.com> - 0.16.1-2
+- rebuild without bootstrap
+- fix FTBFS (rhbz#1914333)
+
 * Mon Sep 21 2020 Lumír Balhar <lbalhar@redhat.com> - 0.13-3
 - Fix test dependencies and execution
 

                 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=178920850090.1.4351996655455309451.rpms-python-pint-f1b5b2ff9d56@fedoraproject.org \
    --to=mrunge@redhat.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