Compare commits

4 Commits

Author SHA256 Message Date
053fc5f499 Accepting request 1239865 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cytoolz?expand=0&rev=10
2025-01-23 17:05:52 +00:00
a64a862868 Accepting request 1239841 from home:glaubitz:branches:devel:languages:python
- Update to 1.0.1
  * Add support for Python 3.13
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1239841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cytoolz?expand=0&rev=20
2025-01-23 12:57:22 +00:00
ee5010ad98 Accepting request 1206741 from devel:languages:python
- update to 1.0.0:
  * Test fixes for Python 3.13
  * Drop Python 3.7
  * Bump ``cibuildwheel`` in CI

OBS-URL: https://build.opensuse.org/request/show/1206741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cytoolz?expand=0&rev=9
2024-10-10 20:15:04 +00:00
666b13a858 - update to 1.0.0:
* Test fixes for Python 3.13
  * Drop Python 3.7
  * Bump ``cibuildwheel`` in CI

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cytoolz?expand=0&rev=18
2024-10-10 15:41:17 +00:00
4 changed files with 6 additions and 41 deletions

3
cytoolz-1.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89cc3161b89e1bb3ed7636f74ed2e55984fd35516904fc878cae216e42b2c7d6
size 626652

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13a7bf254c3c0d28b12e2290b82aed0f0977a4c2a2bf84854fcdc7796a29f3b0
size 642510

View File

@@ -1,32 +1,3 @@
-------------------------------------------------------------------
Wed Oct 29 10:59:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.1.0
* Add support for Python 3.14, PyPy 3.11 (#225)
* Drop support for Python 3.8, PyPy 3.8 (#225)
* Add experimental (untested!) support for free-threading,
including building wheels (#225, #228)
* Update to match toolz 1.1.0 (#225)
* Faster concat (#218)
* Improve performance by avoiding global lookups (#219)
* Modernization (#225, #226, #227)
* Now PEP 517-compliant; use pyproject.toml and
setuptools.build_meta build backend
* Use setuptools-git-versioning instead of versioneer.py
for versioning
* Use Trusted Publishing between Github and PyPI to
publish releases to PyPI
* Generate artifact attestation for sdist and wheel
* Build wheels for more platforms (172 wheels built
for this release!)
* Add git pre-commit checks (but this isn't documented for contributors)
* These also get run in CI
* Including validate-pyproject, pyupgrade, actionlint, yamllint, zizmor
- Move tests into different directory so pytest can find them
- Remove C source code files from site-packages directory
- Update BuildRequires from pyproject.toml
- Update name for dist directory in %files section
-------------------------------------------------------------------
Thu Jan 23 11:13:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -18,14 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-cytoolz
Version: 1.1.0
Version: 1.0.1
Release: 0
Summary: High performance python functional utilities in Cython
License: BSD-3-Clause
URL: https://github.com/pytoolz/cytoolz
Source: https://files.pythonhosted.org/packages/source/c/cytoolz/cytoolz-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module devel >= 3.5}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -50,22 +50,16 @@ export CFLAGS="%{optflags}"
%install
%pyproject_install
%python_expand find %{buildroot}%{$python_sitearch}/cytoolz -name "*.c" -exec rm {} \;
%python_expand rm -r %{buildroot}%{$python_sitearch}/cytoolz/tests
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# Move tests around so pytest can find them
mkdir -p testing
cp -rf cytoolz/tests/ testing/
pushd testing
%pytest_arch
popd
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitearch}/cytoolz/
%{python_sitearch}/cytoolz-*-info/
%{python_sitearch}/cytoolz-%{version}*-info/
%changelog