public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pint] rpmlint-etc: FTBFS and update to 0.16.1
@ 2026-09-12 10:21 Matthias Runge
  0 siblings, 0 replies; only message in thread
From: Matthias Runge @ 2026-09-12 10:21 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-12 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 10:21 [rpms/python-pint] rpmlint-etc: FTBFS and update to 0.16.1 Matthias Runge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox