1
0

63 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
a2b25df766 Accepting request 1184124 from devel:languages:python
- update to 10.3.0:
  * Increase performance of `padded`
  * Update table of contents
  * Add exactly size of n doc to padded
  * Speed up `ichunked`
  * Optimize `chunked_even` itertool
  * Optimize windowed itertool
  * Issue 820: add powerset_of_sets
  * Fix a typo found by codespell
  * Add typing for countable.items_seen attribute.
  * Add join_mappings
  * Add doublestarmap (closes #679)
  * Add dft and idft
  * Changes for version 10.3.0
  * Add unique()

OBS-URL: https://build.opensuse.org/request/show/1184124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=26
2024-07-02 16:14:36 +00:00
bf2d036923 Accepting request 1139209 from devel:languages:python
- update to 10.2.0:
  * `iter_suppress` (thanks to jaraco, pochmann, and rhettinger)
  * `filter_map` (thanks to struktured)
  * `classify_unique` (thanks to haukex)
  * `totient` (from the itertools docs)
  * `reshape` (from the itertools docs)
  * Changes to existing functions
  * `factor`, `iter_index`, `sieve`, and `unique_justseen` were
    updated to match the itertools docs
  * `first` was was optimized (thanks to pochmann)
  * `takewhile_inclusive` was was refactored (thanks to eltoder)
  * `combination_with_replacement_index` was was optimized
    (thanks to elliotwutingfeng and rhettinger)
  * `nth_permutation`, `nth_combination_with_replacement`,
    `combination_index`, and `combination_with_replacement_index`
    were optimized (thanks to rhettinger)
  * `batched` now accepts a `strict` argument (adapted from
    itertools docs)
  * `time_limited` was improved for Windows (thanks to haukex)

OBS-URL: https://build.opensuse.org/request/show/1139209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=25
2024-01-17 21:14:50 +00:00
4681a66884 - update to 10.2.0:
* `iter_suppress` (thanks to jaraco, pochmann, and rhettinger)
  * `filter_map` (thanks to struktured)
  * `classify_unique` (thanks to haukex)
  * `totient` (from the itertools docs)
  * `reshape` (from the itertools docs)
  * Changes to existing functions
  * `factor`, `iter_index`, `sieve`, and `unique_justseen` were
    updated to match the itertools docs
  * `first` was was optimized (thanks to pochmann)
  * `takewhile_inclusive` was was refactored (thanks to eltoder)
  * `combination_with_replacement_index` was was optimized
    (thanks to elliotwutingfeng and rhettinger)
  * `nth_permutation`, `nth_combination_with_replacement`,
    `combination_index`, and `combination_with_replacement_index`
    were optimized (thanks to rhettinger)
  * `batched` now accepts a `strict` argument (adapted from
    itertools docs)
  * `time_limited` was improved for Windows (thanks to haukex)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=51
2024-01-16 15:35:49 +00:00
31afa38f6a Accepting request 1129075 from devel:languages:python
- update to 10.1.0:
  * Add more tests for `zip_broadcast()`
  * Added takewhile_inclusive
  * Speed up `zip_broadcast()` by pre-filling the scalar elements
  * Added outer_product.
  * Simplify `zip_broadcast`
  * Simplify `_zip_equal`
  * fix consume() type annotation
  * Update recipes.iter_index to match CPython PR 102360
  * fixup - add missing commas to the readme function table
  * fixup remove 3.6 from tox
  * seekable: Add relative_seek
  * Optimize _chunked_even_finite()
  * Indexing of combinations with replacement
  * Add notes for transposing empty inputs
  * Add the polynomial_eval recipe
  * Add nth_combination_with_replacement
  * Add sum_of_squares, sync with itertools
  * Issue #707: fix ``iterate()`` to enable ``func`` to raise
    StopIteration + 3 unittests
  * Update polynomial_from roots and convolve
  * Issue #677: Improve `partition`
  * Issue #713: Fix `partial_product` (also simplify and clean
    up)
  * Issue #711: Optimize `pairwise`
  * Issue #715: Simplify/optimize `partial_product`
  * Issue #717: Improve `duplicates_justseen`
  * Fix unique_in_window to match described behavior
  * Add polynomial_derivative recipe
  * Update recipes with CPython PRs: 105403 and 106371

OBS-URL: https://build.opensuse.org/request/show/1129075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=24
2023-11-28 21:18:13 +00:00
8aeb9f40fb - update to 10.1.0:
* Add more tests for `zip_broadcast()`
  * Added takewhile_inclusive
  * Speed up `zip_broadcast()` by pre-filling the scalar elements
  * Added outer_product.
  * Simplify `zip_broadcast`
  * Simplify `_zip_equal`
  * fix consume() type annotation
  * Update recipes.iter_index to match CPython PR 102360
  * fixup - add missing commas to the readme function table
  * fixup remove 3.6 from tox
  * seekable: Add relative_seek
  * Optimize _chunked_even_finite()
  * Indexing of combinations with replacement
  * Add notes for transposing empty inputs
  * Add the polynomial_eval recipe
  * Add nth_combination_with_replacement
  * Add sum_of_squares, sync with itertools
  * Issue #707: fix ``iterate()`` to enable ``func`` to raise
    StopIteration + 3 unittests
  * Update polynomial_from roots and convolve
  * Issue #677: Improve `partition`
  * Issue #713: Fix `partial_product` (also simplify and clean
    up)
  * Issue #711: Optimize `pairwise`
  * Issue #715: Simplify/optimize `partial_product`
  * Issue #717: Improve `duplicates_justseen`
  * Fix unique_in_window to match described behavior
  * Add polynomial_derivative recipe
  * Update recipes with CPython PRs: 105403 and 106371

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=49
2023-11-27 09:26:38 +00:00
29a9869d51 Accepting request 1081860 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=23
2023-04-22 20:00:01 +00:00
faf3b28fb8 Accepting request 1081494 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=47
2023-04-21 14:21:33 +00:00
4e58be4da4 Accepting request 1069920 from devel:languages:python
- update to 9.1.0:
  * See PR #678 for details.

OBS-URL: https://build.opensuse.org/request/show/1069920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=22
2023-03-08 13:51:59 +00:00
5d68941b22 - update to 9.1.0:
* See PR #678 for details.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=45
2023-03-07 12:14:32 +00:00
a756849287 Accepting request 1032501 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=21
2022-11-01 12:41:10 +00:00
c92c656ca2 Accepting request 1032025 from home:yarunachalam:branches:devel:languages:python
- Update to 9.0.0 
  * Potentially breaking changes
   grouper() no longer accepts an integer as its first argument. Previously this raised a DeprecationWarning.
   collate() has been removed. Use the built-in heapq.merge() instead.
   windowed() now yields nothing when its iterable is empty.
   This library now advertises support for Python 3.7+.
  * New functions
   constrained_batches()
   batched() (from the Python itertools docs)
   polynomial_from_roots() (from the Python itertools docs)
   sieve() (from the Python itertools docs)
  * Other changes
   Some documentation issues were fixed (thanks to nanouasyn)

OBS-URL: https://build.opensuse.org/request/show/1032025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=43
2022-10-31 13:24:09 +00:00
0ab1e23215 Accepting request 1004179 from devel:languages:python
- update to 8.14.0:
  * :func:`longest_common_prefix` (thanks to nanouasyn)
  * :func:`iequals` (thanks to nanouasyn)
  * `concurrent.futures.ThreadPoolExecutor` is now imported lazily in :func:`callback_iter`.
  * :func:`tail` is now optimized for iterables with a fixed length.
  * Some documentation issues were fixed (thanks to pochmann and timgates42)
  * This library is now marked for Python 3.10 compatibility in PyPI (thanks to chayim)

OBS-URL: https://build.opensuse.org/request/show/1004179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=20
2022-09-18 15:32:09 +00:00
1bafb1be22 - update to 8.14.0:
* :func:`longest_common_prefix` (thanks to nanouasyn)
  * :func:`iequals` (thanks to nanouasyn)
  * `concurrent.futures.ThreadPoolExecutor` is now imported lazily in :func:`callback_iter`.
  * :func:`tail` is now optimized for iterables with a fixed length.
  * Some documentation issues were fixed (thanks to pochmann and timgates42)
  * This library is now marked for Python 3.10 compatibility in PyPI (thanks to chayim)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=41
2022-09-16 18:27:39 +00:00
1240c8929b Accepting request 982495 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/982495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=19
2022-06-17 19:20:29 +00:00
f76a7617fb Accepting request 982463 from home:bnavigator:branches:devel:languages:python
- Clean up specfile, only requires flit-core (flit not in Ring1)

OBS-URL: https://build.opensuse.org/request/show/982463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=39
2022-06-13 15:59:50 +00:00
69b727a0c2 Accepting request 980899 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/980899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=38
2022-06-06 09:08:19 +00:00
37d221afdf Accepting request 961821 from devel:languages:python
- use python_expand for fdupes

OBS-URL: https://build.opensuse.org/request/show/961821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=18
2022-03-17 16:01:18 +00:00
0f9926608a - use python_expand for fdupes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=36
2022-03-15 08:50:17 +00:00
e3b781b56b Accepting request 951389 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/951389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=17
2022-02-06 22:53:39 +00:00
6a26cfb354 Accepting request 951377 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/951377
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=35
2022-02-03 21:02:35 +00:00
136112b25d Accepting request 925732 from devel:languages:python
- update to 8.10.0:
    * The type stub for :func:`iter_except` was improved (thanks to  MarcinKonowalczyk)
    *  Type stubs now ship with the source release (thanks to saaketp)
    *  The Sphinx docs were improved (thanks to MarcinKonowalczyk)
    * New functions
      * :func:`interleave_evenly` (thanks to mbugert)
      * :func:`repeat_each` (thanks to FinalSh4re)
      * :func:`chunked_even` (thanks to valtron)
      * :func:`map_if` (thanks to sassbalint)
      * :func:`zip_broadcast` (thanks to kalekundert)
    * Changes to existing functions
      * The type stub for :func:`chunked` was improved (thanks to  PhilMacKay)
      * The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo)
      * Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)

OBS-URL: https://build.opensuse.org/request/show/925732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=16
2021-10-20 18:23:26 +00:00
123ddf76ae - update to 8.10.0:
* The type stub for :func:`iter_except` was improved (thanks to  MarcinKonowalczyk)
    *  Type stubs now ship with the source release (thanks to saaketp)
    *  The Sphinx docs were improved (thanks to MarcinKonowalczyk)
    * New functions
      * :func:`interleave_evenly` (thanks to mbugert)
      * :func:`repeat_each` (thanks to FinalSh4re)
      * :func:`chunked_even` (thanks to valtron)
      * :func:`map_if` (thanks to sassbalint)
      * :func:`zip_broadcast` (thanks to kalekundert)
    * Changes to existing functions
      * The type stub for :func:`chunked` was improved (thanks to  PhilMacKay)
      * The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo)
      * Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=34
2021-10-16 19:11:00 +00:00
9081346b9c Accepting request 897855 from devel:languages:python
- update to 8.8.0:
  * :func:`countable` (thanks to krzysieq)
  * :func:`split_before` was updated to handle empy collections (thanks to TiunovNN)
  * :func:`unique_everseen` got a performance boost (thanks to Numerlor)
  * The type hint for :func:`value_chain` was corrected (thanks to vr2262)

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/897855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=15
2021-06-11 20:29:53 +00:00
853b43391f - update to 8.8.0:
* :func:`countable` (thanks to krzysieq)
  * :func:`split_before` was updated to handle empy collections (thanks to TiunovNN)
  * :func:`unique_everseen` got a performance boost (thanks to Numerlor)
  * The type hint for :func:`value_chain` was corrected (thanks to vr2262)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=32
2021-06-06 12:47:43 +00:00
5a5ae980c7 Accepting request 897187 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/897187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=31
2021-06-03 12:28:28 +00:00
b27fcc8cf6 Accepting request 876826 from devel:languages:python
- update to 8.7.0:
  * New functions
    * :func:`convolve`
    * :func:`product_index`, :func:`combination_index`, and :func:`permutation_index`
    * :func:`value_chain`
  * Changes to existing functions
    * :func:`distinct_combinations` now uses a non-recursive algorithm
    * :func:`pad_none` is now the preferred name for :func:`padnone`, though the latter remains available.
    * :func:`pairwise` will now use the Python standard library implementation on Python 3.10+
    * :func:`sort_together` now accepts a ``key`` argument
    * :func:`seekable` now has a ``peek`` method, and can indicate whether the iterator it's wrapping is exhausted
    * :func:`time_limited` can now indicate whether its iterator has expired
    * The implementation of :func:`unique_everseen` was improved
  * Other changes:
    * Various documentation updates

OBS-URL: https://build.opensuse.org/request/show/876826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=14
2021-03-10 07:49:38 +00:00
79b7bfc0cf - update to 8.7.0:
* New functions
    * :func:`convolve`
    * :func:`product_index`, :func:`combination_index`, and :func:`permutation_index`
    * :func:`value_chain`
  * Changes to existing functions
    * :func:`distinct_combinations` now uses a non-recursive algorithm
    * :func:`pad_none` is now the preferred name for :func:`padnone`, though the latter remains available.
    * :func:`pairwise` will now use the Python standard library implementation on Python 3.10+
    * :func:`sort_together` now accepts a ``key`` argument
    * :func:`seekable` now has a ``peek`` method, and can indicate whether the iterator it's wrapping is exhausted
    * :func:`time_limited` can now indicate whether its iterator has expired
    * The implementation of :func:`unique_everseen` was improved
  * Other changes:
    * Various documentation updates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=29
2021-03-04 21:04:49 +00:00
66b264a02b Accepting request 856975 from devel:languages:python
- update to 8.6.0:
  * :func:`all_unique` (thanks to brianmaissy)
  * :func:`nth_product` and :func:`nth_permutation` (thanks to N8Brooks)
  * :func:`chunked` and :func:`sliced` now accept a ``strict`` parameter (thanks to shlomif and jtwool)
  * Python 3.5 has reached its end of life and is no longer supported.
  * Python 3.9 is officially supported.

OBS-URL: https://build.opensuse.org/request/show/856975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=13
2020-12-24 18:40:41 +00:00
e98ce99790 - update to 8.6.0:
* :func:`all_unique` (thanks to brianmaissy)
  * :func:`nth_product` and :func:`nth_permutation` (thanks to N8Brooks)
  * :func:`chunked` and :func:`sliced` now accept a ``strict`` parameter (thanks to shlomif and jtwool)
  * Python 3.5 has reached its end of life and is no longer supported.
  * Python 3.9 is officially supported.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=27
2020-12-19 10:52:01 +00:00
b44fb900d0 Accepting request 834878 from devel:languages:python
- update to 8.5.0:
  * windowed_complete() (thanks to MarcinKonowalczyk)
  Changes to existing itertools:
  * The is_sorted() implementation was improved (thanks to cool-RR)
  * The groupby_transform() now accepts a reducefunc parameter.
  * The last() implementation was improved (thanks to brianmaissy)
  * Various documentation fixes (thanks to craigrosie, samuelstjean, PiCT0)
  * The tests for distinct_combinations() were improved (thanks to Minabsapi)

OBS-URL: https://build.opensuse.org/request/show/834878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=12
2020-10-25 17:08:22 +00:00
34a2213a87 - update to 8.5.0:
* windowed_complete() (thanks to MarcinKonowalczyk)
  Changes to existing itertools:
  * The is_sorted() implementation was improved (thanks to cool-RR)
  * The groupby_transform() now accepts a reducefunc parameter.
  * The last() implementation was improved (thanks to brianmaissy)
  * Various documentation fixes (thanks to craigrosie, samuelstjean, PiCT0)
  * The tests for distinct_combinations() were improved (thanks to Minabsapi)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=25
2020-09-16 11:14:18 +00:00
90fb2cf699 Accepting request 824641 from devel:languages:python
- update to 8.4.0:
 * New itertools
 * :func:`mark_ends` (thanks to kalekundert)
 * :func:`is_sorted`
 * Changes to existing itertools:
   * :func:`islice_extended` can now be used with real slices (thanks to cool-RR)
   * The implementations for :func:`filter_except` and :func:`map_except` were improved (thanks to SergBobrovsky)
 * Other changes
   * Automated tests now enforce code style (using `black <https://github.com/psf/black>`__)
   * The various signatures of :func:`islice_extended` and :func:`numeric_range` now appear in the docs (thanks to dsfulf)
   * The test configuration for mypy was updated (thanks to blueyed)

OBS-URL: https://build.opensuse.org/request/show/824641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=11
2020-08-13 08:14:33 +00:00
a8b6b2b531 - update to 8.4.0:
* New itertools
 * :func:`mark_ends` (thanks to kalekundert)
 * :func:`is_sorted`
 * Changes to existing itertools:
   * :func:`islice_extended` can now be used with real slices (thanks to cool-RR)
   * The implementations for :func:`filter_except` and :func:`map_except` were improved (thanks to SergBobrovsky)
 * Other changes
   * Automated tests now enforce code style (using `black <https://github.com/psf/black>`__)
   * The various signatures of :func:`islice_extended` and :func:`numeric_range` now appear in the docs (thanks to dsfulf)
   * The test configuration for mypy was updated (thanks to blueyed)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=23
2020-08-06 08:25:35 +00:00
853bf1ede7 Accepting request 810900 from devel:languages:python
- update to 8.3.0:
  * New itertools
    * :func:`zip_equal` (thanks to frankier and alexmojaki)
    * :func:`split_at`, :func:`split_before`, :func:`split_after`, and :func:`split_when` all got a ``maxsplit`` paramter (thanks to jferard and ilai-deutel)
    * :func:`split_at` now accepts a ``keep_separator`` parameter (thanks to jferard)
    * :func:`distinct_permutations` can now generate ``r``-length permutations (thanks to SergBobrovsky and ilai-deutel)
    * The :func:`windowed` implementation was improved  (thanks to SergBobrovsky)
    * The :func:`spy` implementation was improved (thanks to has2k1)
    * Type stubs are now tested with ``stubtest`` (thankjs to ilai-deutel)
    * Tests now run with ``python -m unittest`` instead of ``python setup.py test`` (thanks to jdufresne)

OBS-URL: https://build.opensuse.org/request/show/810900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=10
2020-06-05 17:59:36 +00:00
f54329a7a7 - update to 8.3.0:
* New itertools
    * :func:`zip_equal` (thanks to frankier and alexmojaki)
    * :func:`split_at`, :func:`split_before`, :func:`split_after`, and :func:`split_when` all got a ``maxsplit`` paramter (thanks to jferard and ilai-deutel)
    * :func:`split_at` now accepts a ``keep_separator`` parameter (thanks to jferard)
    * :func:`distinct_permutations` can now generate ``r``-length permutations (thanks to SergBobrovsky and ilai-deutel)
    * The :func:`windowed` implementation was improved  (thanks to SergBobrovsky)
    * The :func:`spy` implementation was improved (thanks to has2k1)
    * Type stubs are now tested with ``stubtest`` (thankjs to ilai-deutel)
    * Tests now run with ``python -m unittest`` instead of ``python setup.py test`` (thanks to jdufresne)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=21
2020-06-02 16:31:06 +00:00
02da54e360 Accepting request 780384 from devel:languages:python
- update to 8.2.0:
   * The .pyi files for typing were updated. (thanks to blueyed and ilai-deutel)
   * :func:`numeric_range` now behaves more like the built-in :func:`range`. (thanks to jferard)
   * :func:`bucket` now allows for enumerating keys. (thanks to alexchandel)
   * :func:`sliced` now should now work for numpy arrays. (thanks to sswingle)
   * :func:`seekable` now has a ``maxlen`` parameter.

OBS-URL: https://build.opensuse.org/request/show/780384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=9
2020-03-08 21:21:32 +00:00
2b4391a96f - update to 8.2.0:
* The .pyi files for typing were updated. (thanks to blueyed and ilai-deutel)
   * :func:`numeric_range` now behaves more like the built-in :func:`range`. (thanks to jferard)
   * :func:`bucket` now allows for enumerating keys. (thanks to alexchandel)
   * :func:`sliced` now should now work for numpy arrays. (thanks to sswingle)
   * :func:`seekable` now has a ``maxlen`` parameter.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=19
2020-02-28 21:38:05 +00:00
6b85491095 Accepting request 766375 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/766375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=8
2020-01-24 12:06:35 +00:00
Tomáš Chvátal
3be87bb271 Accepting request 766373 from home:MSirringhaus:branches:devel:languages:python
- update to 8.1.0:
    * Bug fixes
        :func:`partition` works with pred=None again. (thanks 
        to MSeifert04)
    * New itertools
        :func:`sample` (thanks to tommyod)
        :func:`nth_or_last` (thanks to d-ryzhikov)
    * Changes to existing itertools:
        The implementation for :func:`divide` was improved.

OBS-URL: https://build.opensuse.org/request/show/766373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=17
2020-01-22 16:03:47 +00:00
efef44151f Accepting request 758635 from devel:languages:python
- update to 8.0.2:
  * Bug fixes
      * The type stub files are now part of the wheel distribution (thanks to keisheiled)
      * The type stub files now work for functions imported from the
        root package (thanks to keisheiled)
  * New itertools and other additions
      * This library now ships type hints for use with mypy.
        (thanks to ilai-deutel for the implementation, and to gabbard and fmagin for assistance)
      * :func:`split_when` (thanks to jferard)
      * :func:`repeat_last` (thanks to d-ryzhikov)
  * Changes to existing itertools:
      * The implementation for :func:`set_partitions` was improved. (thanks to jferard)
      * :func:`partition` was optimized for expensive predicates. (thanks to stevecj)
      * :func:`unique_everseen` and :func:`groupby_transform` were re-factored. (thanks to SergBobrovsky)
      * The implementation for :func:`difference` was improved. (thanks to Jabbey92)

OBS-URL: https://build.opensuse.org/request/show/758635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=7
2020-01-01 13:58:00 +00:00
b96438ed27 - update to 8.0.2:
* Bug fixes
      * The type stub files are now part of the wheel distribution (thanks to keisheiled)
      * The type stub files now work for functions imported from the
        root package (thanks to keisheiled)
  * New itertools and other additions
      * This library now ships type hints for use with mypy.
        (thanks to ilai-deutel for the implementation, and to gabbard and fmagin for assistance)
      * :func:`split_when` (thanks to jferard)
      * :func:`repeat_last` (thanks to d-ryzhikov)
  * Changes to existing itertools:
      * The implementation for :func:`set_partitions` was improved. (thanks to jferard)
      * :func:`partition` was optimized for expensive predicates. (thanks to stevecj)
      * :func:`unique_everseen` and :func:`groupby_transform` were re-factored. (thanks to SergBobrovsky)
      * The implementation for :func:`difference` was improved. (thanks to Jabbey92)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=15
2019-12-20 19:20:04 +00:00
8adc1d701e Accepting request 727060 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/727060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=6
2019-09-02 10:41:33 +00:00
040fb7a6b8 Accepting request 727051 from home:jengelh:branches:devel:languages:python
- Place a mildly useful text in the %description section.

OBS-URL: https://build.opensuse.org/request/show/727051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=13
2019-08-29 15:56:56 +00:00
Tomáš Chvátal
03a0df1f12 Accepting request 726483 from home:mcalabkova:branches:devel:languages:python
- update to version 7.2.0
  * new itertools: distinct_combinations, set_partitions, filter_except,
    map_except, ichunked, only, time_limited, partitions, substrings_indexes
  * Python 2.7 is no longer supported. All future releases will target 
    the active versions of Python 3.
  * The six library is no longer a dependency.
  * collapse now treats bytes objects the same as str objects.
  * numeric_range now supports ranges specified by datetime.datetime 
    and datetime.timedelta objects

OBS-URL: https://build.opensuse.org/request/show/726483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=12
2019-08-29 02:06:49 +00:00
9abe80f81b Accepting request 705242 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/705242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=5
2019-05-27 06:30:37 +00:00
Tomáš Chvátal
85d233d5b1 Accepting request 705239 from home:mcalabkova:branches:devel:languages:python
- update to version 5.0.0
  * new itertools: split_into, unzip, substrings
  * first_true now returns None by default.
  * Some code for old Python versions was removed
  * Tests now run properly on 32-bit versions of Python
  * Newer versions of CPython and PyPy are now tested against
  4.3.0
  * new itertools: last, replace, rlocate
  * locate can now search for multiple items
  * The docs now include a nice table of tools
- There are newer versions of more-itertools but this is the last 
  version which supports Python 2.7

OBS-URL: https://build.opensuse.org/request/show/705239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=10
2019-05-24 12:30:23 +00:00
e350d35f7c Accepting request 613148 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/613148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=4
2018-06-04 11:21:20 +00:00
Todd R
3abc2a0b66 Accepting request 613147 from home:TheBlackCat:branches:devel:languages:python
- Update to version 4.2.0
  + New itertools:
    * map_reduce (thanks to pylang)
    * prepend (from the `Python 3.7 docs <https://docs.python.org/3.7/library/itertools.html#itertools-recipes>`_)
  + Improvements to existing itertools:
    * :func:`bucket` now complies with PEP 479 (thanks to irmen)
  + Other changes:
    * Python 3.7 is now supported (thanks to irmen)
    * Python 3.3 is no longer supported
    * The test suite no longer requires third-party modules to run
    * The API docs now include links to source code

OBS-URL: https://build.opensuse.org/request/show/613147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=8
2018-05-31 04:35:19 +00:00
59566b8544 Accepting request 592319 from devel:languages:python
- spec-cleaned
- use of %license macro
- removed unneded dependency (forwarded request 592318 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/592319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=3
2018-03-30 10:08:43 +00:00
f9c27f231c Accepting request 592318 from home:mimi_vx:branches:devel:languages:python
- spec-cleaned
- use of %license macro
- removed unneded dependency

OBS-URL: https://build.opensuse.org/request/show/592318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=6
2018-03-29 13:34:21 +00:00
e78077b26d Accepting request 590886 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/590886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=2
2018-03-26 11:15:24 +00:00
Tomáš Chvátal
6f806f2363 Accepting request 590857 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/590857
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=4
2018-03-25 08:11:57 +00:00
cc108bda85 Accepting request 555102 from devel:languages:python
- Update to version 3.2.0
  * New itertools:
      + :func:`lstrip`, :func:`rstrip`, and :func:`strip`
        (thanks to MSeifert04 and pylang)
      + :func:`islice_extended`
  * Improvements to existing itertools:
      + Some bugs with slicing :func:`peekable`-wrapped iterables
        were fixed
  3.1.0:
  * New itertools:
      + :func:`numeric_range` (Thanks to BebeSparkelSparkel and
        MSeifert04)
      + :func:`count_cycle` (Thanks to BebeSparkelSparkel)
      + :func:`locate` (Thanks to pylang and MSeifert04)
  * Improvements to existing itertools:
      + A few itertools are now slightly faster due to some
        function optimizations. (Thanks to MSeifert04)
  * The docs have been substantially revised with installation
    notes, categories for library functions, links, and more.
    (Thanks to pylang)
  3.0.0:
  * Removed itertools:
      + ``context`` has been removed due to a design flaw - see
        below for replacement options. (thanks to NeilGirdhar)
  * Improvements to existing itertools:
      + ``side_effect`` now supports ``before`` and ``after``
        keyword arguments. (Thanks to yardsale8)
  * PyPy and PyPy3 are now supported.
    The major version change is due to the removal of the
    ``context`` function.
    Replace it with standard ``with`` statement context management:
    .. code-block:: python
      # Don't use context() anymore
      file_obj = StringIO()
      consume(print(x, file=f) for f in context(file_obj) for x in
      u'123')
      # Use a with statement instead
      file_obj = StringIO()
      with file_obj as f:
          consume(print(x, file=f) for x in u'123')
  2.6.0:
  * New itertools:
      + ``adjacent`` and ``groupby_transform`` (Thanks to diazona)
      + ``always_iterable`` (Thanks to jaraco)
      + (Removed in 3.0.0) ``context`` (Thanks to yardsale8)
      + ``divide`` (Thanks to mozbhearsum)
  * Improvements to existing itertools:
      + ``ilen`` is now slightly faster. (Thanks to wbolster)
      + ``peekable`` can now prepend items to an iterable. (Thanks
        to diazona)
  2.5.0:
  * New itertools:
      + ``distribute`` (Thanks to mozbhearsum and coady)
      + ``sort_together`` (Thanks to clintval)
      + ``stagger`` and ``zip_offset`` (Thanks to joshbode)
      + ``padded``
  * Improvements to existing itertools:
      + ``peekable`` now handles negative indexes and slices with
        negative components properly.
      + ``intersperse`` is now slightly faster. (Thanks to pylang)
      + ``windowed`` now accepts a ``step`` keyword argument.
        (Thanks to pylang)
  * Python 3.6 is now supported.
  2.4.1:
  * Move docs 100% to readthedocs.io.
  2.4:
  * New itertools:
      + ``accumulate``, ``all_equal``, ``first_true``,
        ``partition``, and
        ``tail`` from the itertools documentation.
      + ``bucket`` (Thanks to Rosuav and cvrebert)
      + ``collapse`` (Thanks to abarnet)
      + ``interleave`` and ``interleave_longest`` (Thanks to
        abarnet)
      + ``side_effect`` (Thanks to nvie)
      + ``sliced`` (Thanks to j4mie and coady)
      + ``split_before`` and ``split_after`` (Thanks to
        astronouth7303)
      + ``spy`` (Thanks to themiurgo and mathieulongtin)
  * Improvements to existing itertools:
      + ``chunked`` is now simpler and more friendly to garbage
        collection.
        (Contributed by coady, with thanks to piskvorky)
      + ``collate`` now delegates to ``heapq.merge`` when possible.
        (Thanks to kmike and julianpistorius)
      + ``peekable``-wrapped iterables are now indexable and
        sliceable. Iterating through ``peekable``-wrapped iterables
        is also faster.
      + ``one`` and ``unique_to_each`` have been simplified.
        (Thanks to coady)
  2.3:
  * Added ``one`` from ``jaraco.util.itertools``. (Thanks, jaraco!)
  * Added ``distinct_permutations`` and ``unique_to_each``.
    (Contributed by bbayles)
  * Added ``windowed``. (Contributed by bbayles, with thanks to
    buchanae, jaraco, and abarnert)
  * Simplified the implementation of ``chunked``. (Thanks, nvie!)
  * Python 3.5 is now supported. Python 2.6 is no longer supported.
  * Python 3 is now supported directly; there is no 2to3 step.
- Converted to single-spec
- initial version

OBS-URL: https://build.opensuse.org/request/show/555102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-more-itertools?expand=0&rev=1
2017-12-14 09:54:55 +00:00
af5a3eddd8 Accepting request 508198 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508198
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=2
2017-07-05 11:46:31 +00:00
Todd R
b069d87882 - initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=1
2014-05-30 14:13:33 +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