Sync from SUSE:SLFO:Main python-more-itertools revision 0b0049c9f944334f143d78dccbee2ca1

This commit is contained in:
2025-06-27 15:45:48 +02:00
parent 0da4e8f455
commit edde19123c
4 changed files with 42 additions and 7 deletions

BIN
more-itertools-10.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
more_itertools-10.7.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Fri May 16 05:33:01 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 10.7.0
* :func:`multinomial` was added (thanks to rhettinger)
* :func:`ichunk`, :func:`iterate`, :func:`one`, :func:`only`,
:func:`powerset_of_sets`, and :func:`strictly_n` were
optimized (thanks to rhettinger)
* :func:`exactly_n` now uses less memory (thanks to rhettinger)
* :func:`dft` and :func:`idft` were optimized for Python versions
below 3.12 (thanks to rhettinger)
* :func:`is_prime` no longer shares state with the users random
number generator (thanks to rhettinger)
* Some docstring issues were fixed (thanks to lpulley and ricbit)
* The type hints for :func:`groupby_transform` were improved (thanks to rhettinger)
* The ``furo`` theme is now used for docs (thanks to AA-turner)
- Adjust upstream source name in spec file
-------------------------------------------------------------------
Tue Feb 18 12:31:21 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 10.6.0
* `is_prime` and `nth_prime` were added
* `loops` was added
* `factor` was optimized to handle larger inputs and use less memory
* `spy` was optimized to enable nested calls
* `polynomial_from_roots` was made non-recursive and able to handle
larger numbers of roots
* `is_sorted` now only relies on less than comparisons
* The docstring for `outer_product` was improved
* The type annotations for sample were improved
* Python 3.13 is officially supported. Python 3.8 is no longer
officially supported.
* `mypy` checks were fixed
-------------------------------------------------------------------
Wed Oct 23 20:57:33 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-more-itertools
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-more-itertools
Version: 10.5.0
Version: 10.7.0
Release: 0
Summary: More routines for operating on iterables, beyond itertools
License: MIT
Group: Development/Languages/Python
URL: https://github.com/erikrose/more-itertools
Source: https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/m/more_itertools/more_itertools-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
@@ -38,7 +38,7 @@ Additional building blocks, recipes, and routines for working with
Python iterables.
%prep
%setup -q -n more-itertools-%{version}
%setup -q -n more_itertools-%{version}
chmod -x more_itertools/more.py
%build