1
0

8 Commits

Author SHA256 Message Date
2c0fdcc604 Accepting request 1303561 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1303561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=30
2025-09-11 12:38:07 +00:00
3da351e465 - Update to 10.8.0
* New functions:
    * :func:`derangements` was added (thanks to debruijn)
    * :func:`argmin` and :func:`argmax` were added (thanks to rhettinger)
    * :func:`running_median` was added (thanks to rhettinger)
    * :func:`extract` was added (thanks to rhettinger)
    * :func:`interleave_randomly` was added (thanks to ktbarrett)
  * Changes to existing functions:
    * The type hints and docstring for :func:`batched` were improved
      (thanks to qobilidop and inventshah)
    * The memory usage of :func:`islice_extended` was reduced (thanks to ben42code)
    * The performance of :func:`sample` and :func:`consecutive_groups`, :func:`dft`,
      :func:`idft`, :func:`map_if`, :func:`count_cycle`, and :func:`tail` were
      improved (thanks to rhettinger)
    * The performance of :func:`before_and_after`, :func:`mark_ends`, and
      :func:`interleave_longest` were improved (thanks to pochmann3)
    * :func:`nth_prime` now accepts an ``approximate`` keyword. When set to ``True``,
      a faster but less accurate method is used to return a result. (thanks to rhettinger)
    * :func:`last` now works when its input has ``__reversed__`` set to ``None``
      (thanks to inventshah)
    * The :func:`unzip` function was simplified (thanks to pochmann3)
    * The :func:`reshape` function now accepts ``shape`` values that represent
      multidimensional matrices (thanks to rhettinger)
  * Other changes:
    * An issue with dark themes and documentation display was fixed
      (thanks to pochmann3, moreati, and pradyunsg)
    * Variable names in several functions were improved (thanks to rhettinger)
    * The docstrings for :func:`dft`, :func:`idft`, :func:`minmax`, :func:`sample`,
      and :func:`multinomial` were improved (thanks to rhettinger)
    * Packaging and package index metadata were improved (thanks to cdce8p)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=61
2025-09-10 09:09:30 +00:00
4005ea78d0 Accepting request 1278041 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=29
2025-05-23 12:28:12 +00:00
1045e53ee1 Accepting request 1277920 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1277920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=59
2025-05-16 12:08:35 +00:00
277c7aa277 Accepting request 1268407 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1268407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=28
2025-04-11 14:45:40 +00:00
f18cca9eec - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=57
2025-04-10 13:44:09 +00:00
00c2d0d9d8 Accepting request 1217431 from devel:languages:python
- update to 10.5.0:
  * Optimize all_equal recipe
  * Reduce groupby.__next__ calls in all_equal
  * Fix types.UnionType
- update to 10.4.0:
  * Issue 854: sample improvements
  * Issue 858: Use chain and starmap in run_length.decode
  * Issue 859: Update totient recipe
  * Distinct permutations of incomparable items
  * Clarify seekable.relative_seek behavior
  * Issue 864: Improve _sample_unweighted
  * Use log1p for _sample_unweighted
  * Issue 862: change relative_seek() behaviour
  * Issue 876: is_sorted clarifications
  * Issue 870: counts parameter for sample
  * Issue 869: Add a steps argument to circular_shifts
  * Issue 871: Add a fast path for sliding_window
  * type annotation of `windowed_complete` corrected
  * [Docs] Fix strictly_n missing the n parameter
  * Standardize type hints for isinstance's second argument
  * Issue 883: change type hint
  * Add type overloads for `zip_broadcast`
  * Issue 889: Optimize triplewise
  * Add option `strict` to `sort_together`
  * Updates for version 10.4.0

OBS-URL: https://build.opensuse.org/request/show/1217431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=27
2024-10-25 17:18:41 +00:00
e3599144c8 - update to 10.5.0:
* Optimize all_equal recipe
  * Reduce groupby.__next__ calls in all_equal
  * Fix types.UnionType
- update to 10.4.0:
  * Issue 854: sample improvements
  * Issue 858: Use chain and starmap in run_length.decode
  * Issue 859: Update totient recipe
  * Distinct permutations of incomparable items
  * Clarify seekable.relative_seek behavior
  * Issue 864: Improve _sample_unweighted
  * Use log1p for _sample_unweighted
  * Issue 862: change relative_seek() behaviour
  * Issue 876: is_sorted clarifications
  * Issue 870: counts parameter for sample
  * Issue 869: Add a steps argument to circular_shifts
  * Issue 871: Add a fast path for sliding_window
  * type annotation of `windowed_complete` corrected
  * [Docs] Fix strictly_n missing the n parameter
  * Standardize type hints for isinstance's second argument
  * Issue 883: change type hint
  * Add type overloads for `zip_broadcast`
  * Issue 889: Optimize triplewise
  * Add option `strict` to `sort_together`
  * Updates for version 10.4.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=55
2024-10-23 20:58:04 +00:00
4 changed files with 110 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,106 @@
-------------------------------------------------------------------
Wed Sep 10 08:47:30 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 10.8.0
* New functions:
* :func:`derangements` was added (thanks to debruijn)
* :func:`argmin` and :func:`argmax` were added (thanks to rhettinger)
* :func:`running_median` was added (thanks to rhettinger)
* :func:`extract` was added (thanks to rhettinger)
* :func:`interleave_randomly` was added (thanks to ktbarrett)
* Changes to existing functions:
* The type hints and docstring for :func:`batched` were improved
(thanks to qobilidop and inventshah)
* The memory usage of :func:`islice_extended` was reduced (thanks to ben42code)
* The performance of :func:`sample` and :func:`consecutive_groups`, :func:`dft`,
:func:`idft`, :func:`map_if`, :func:`count_cycle`, and :func:`tail` were
improved (thanks to rhettinger)
* The performance of :func:`before_and_after`, :func:`mark_ends`, and
:func:`interleave_longest` were improved (thanks to pochmann3)
* :func:`nth_prime` now accepts an ``approximate`` keyword. When set to ``True``,
a faster but less accurate method is used to return a result. (thanks to rhettinger)
* :func:`last` now works when its input has ``__reversed__`` set to ``None``
(thanks to inventshah)
* The :func:`unzip` function was simplified (thanks to pochmann3)
* The :func:`reshape` function now accepts ``shape`` values that represent
multidimensional matrices (thanks to rhettinger)
* Other changes:
* An issue with dark themes and documentation display was fixed
(thanks to pochmann3, moreati, and pradyunsg)
* Variable names in several functions were improved (thanks to rhettinger)
* The docstrings for :func:`dft`, :func:`idft`, :func:`minmax`, :func:`sample`,
and :func:`multinomial` were improved (thanks to rhettinger)
* Packaging and package index metadata were improved (thanks to cdce8p)
* Several aspects of the documentation were improved (thanks to rhettinger,
saadmanrafat)
* The Makefile now refers to `python` instead of `python3` (thanks to ktbarrett)
* Test coverage was improved (thanks to rhettinger)
* Python 3.14 is now tested by GitHub Actions
-------------------------------------------------------------------
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>
- update to 10.5.0:
* Optimize all_equal recipe
* Reduce groupby.__next__ calls in all_equal
* Fix types.UnionType
- update to 10.4.0:
* Issue 854: sample improvements
* Issue 858: Use chain and starmap in run_length.decode
* Issue 859: Update totient recipe
* Distinct permutations of incomparable items
* Clarify seekable.relative_seek behavior
* Issue 864: Improve _sample_unweighted
* Use log1p for _sample_unweighted
* Issue 862: change relative_seek() behaviour
* Issue 876: is_sorted clarifications
* Issue 870: counts parameter for sample
* Issue 869: Add a steps argument to circular_shifts
* Issue 871: Add a fast path for sliding_window
* type annotation of `windowed_complete` corrected
* [Docs] Fix strictly_n missing the n parameter
* Standardize type hints for isinstance's second argument
* Issue 883: change type hint
* Add type overloads for `zip_broadcast`
* Issue 889: Optimize triplewise
* Add option `strict` to `sort_together`
* Updates for version 10.4.0
-------------------------------------------------------------------
Sun Jun 30 19:19:31 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.3.0
Version: 10.8.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