public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cytoolz] rawhide: Update to 1.2.0
@ 2026-10-09 13:51 Orion Poplawski
0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-10-09 13:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cytoolz
Branch : rawhide
Commit : 7334f9a461e040be957f98474d310219dc28db3a
Author : Orion Poplawski <orion@nwra.com>
Date : 2026-10-08T21:29:24-06:00
Stats : +7/-7 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-cytoolz/c/7334f9a461e040be957f98474d310219dc28db3a?branch=rawhide
Log:
Update to 1.2.0
---
diff --git a/.gitignore b/.gitignore
index cf3d076..80cfd48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/cytoolz-0.12.2.tar.gz
/cytoolz-1.0.0.tar.gz
/cytoolz-1.0.1.tar.gz
+/cytoolz-1.2.0.tar.gz
diff --git a/python-cytoolz.spec b/python-cytoolz.spec
index e829d8a..b6bd0a9 100644
--- a/python-cytoolz.spec
+++ b/python-cytoolz.spec
@@ -3,7 +3,7 @@
%define py_setup_args --with-cython
Name: python-%{srcname}
-Version: 1.0.1
+Version: 1.2.0
Release: %autorelease
Summary: Cython implementation of the toolz package
@@ -11,9 +11,6 @@ Summary: Cython implementation of the toolz package
License: BSD-3-Clause
URL: http://github.com/pytoolz/%{srcname}/
Source0: https://files.pythonhosted.org/packages/source/c/cytoolz/cytoolz-%{version}.tar.gz
-Patch: python-cytoolz-0001-Test-against-Python-3.14-dev-on-CI-592.patch
-
-
BuildRequires: gcc
@@ -41,7 +38,6 @@ See the PyToolz documentation at http://toolz.readthedocs.org.
Summary: Cython implementation of the toolz package
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pytest
-BuildRequires: python%{python3_pkgversion}-toolz >= 0.9.0
%description -n python%{python3_pkgversion}-%{srcname}
Cython implementation of the toolz package, which provides high performance
@@ -69,6 +65,7 @@ See the PyToolz documentation at http://toolz.readthedocs.org.
# Remove the cythonized files in order to regenerate them during build.
rm $(grep -rl '/\* Generated by Cython')
# Do not ship tests
+sed -i -e '/"cytoolz.tests"/d' pyproject.toml
sed -i -e '\,/tests/,d' MANIFEST.in
sed -i -e "s|, 'tests/\*.py'||" setup.py
@@ -84,12 +81,14 @@ sed -i -e "s|, 'tests/\*.py'||" setup.py
%install
%pyproject_install
%pyproject_save_files -l %{srcname}
+sed -i '\#cytoolz/tests#d' %{pyproject_files}
# Ensure tests are not shipped
rm -rf %{buildroot}%{python3_sitearch}/%{srcname}/tests
%check
-%pytest -v cytoolz/tests
+# Must run with built directory https://github.com/pytoolz/cytoolz/issues/235
+%pytest -v build/lib.%{python3_platform}-cpython-%{python3_version_nodots}/cytoolz
%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
diff --git a/sources b/sources
index 40064c7..a1ded8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cytoolz-1.0.1.tar.gz) = 6c3cbeb4234249aca9915c44d9b67ab99e13c595cf6ddb4d0c60dc0c9619afabb0225969d56fb166dc90ccc697e9773f0227af66e26977adc7ce68499c9b6b2d
+SHA512 (cytoolz-1.2.0.tar.gz) = 31b4b982b8538afc1623c878bea5eea3d4f12363be9f8368c21d1ceb0aa7ebdbc9c26a48270fee348450eec7f3c18991418008182a9603045a1ad6a21974d9f6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 13:51 [rpms/python-cytoolz] rawhide: Update to 1.2.0 Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox