Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
cc14c2257b |
BIN
more-itertools-9.1.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
more-itertools-9.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
more_itertools-10.7.0.tar.gz
(Stored with Git LFS)
BIN
more_itertools-10.7.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,145 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
|
||||||
|
|
||||||
- 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()
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 16 15:34:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- 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)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Nov 27 09:13:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- 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
|
|
||||||
* Changes for version 10.0.0
|
|
||||||
* Delay computation of numeric_range len until needed
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:28:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:28:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -159,7 +17,7 @@ Tue Mar 7 12:12:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 28 18:32:55 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Fri Oct 28 18:32:55 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to 9.0.0
|
- Update to 9.0.0
|
||||||
* Potentially breaking changes
|
* Potentially breaking changes
|
||||||
grouper() no longer accepts an integer as its first argument. Previously this raised a DeprecationWarning.
|
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.
|
collate() has been removed. Use the built-in heapq.merge() instead.
|
||||||
@@ -215,7 +73,7 @@ Sun Jun 5 14:27:12 UTC 2022 - Arun Persaud <arun@gmx.de>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 15 08:49:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Tue Mar 15 08:49:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- use python_expand for fdupes
|
- use python_expand for fdupes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 3 20:13:01 UTC 2022 - Arun Persaud <arun@gmx.de>
|
Thu Feb 3 20:13:01 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||||
@@ -262,7 +120,7 @@ Sat Oct 16 19:09:54 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|||||||
* Changes to existing functions
|
* Changes to existing functions
|
||||||
* The type stub for :func:`chunked` was improved (thanks to PhilMacKay)
|
* 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)
|
* The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo)
|
||||||
* Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)
|
* Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 6 12:43:51 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Sun Jun 6 12:43:51 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
@@ -363,13 +221,13 @@ Wed Jan 22 15:56:53 UTC 2020 - Martin Sirringhaus <martin.sirringhaus@suse.com>
|
|||||||
|
|
||||||
- update to 8.1.0:
|
- update to 8.1.0:
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
:func:`partition` works with pred=None again. (thanks
|
:func:`partition` works with pred=None again. (thanks
|
||||||
to MSeifert04)
|
to MSeifert04)
|
||||||
* New itertools
|
* New itertools
|
||||||
:func:`sample` (thanks to tommyod)
|
:func:`sample` (thanks to tommyod)
|
||||||
:func:`nth_or_last` (thanks to d-ryzhikov)
|
:func:`nth_or_last` (thanks to d-ryzhikov)
|
||||||
* Changes to existing itertools:
|
* Changes to existing itertools:
|
||||||
The implementation for :func:`divide` was improved.
|
The implementation for :func:`divide` was improved.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 20 19:18:54 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
Fri Dec 20 19:18:54 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
@@ -401,11 +259,11 @@ Tue Aug 27 12:15:12 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
|||||||
- update to version 7.2.0
|
- update to version 7.2.0
|
||||||
* new itertools: distinct_combinations, set_partitions, filter_except,
|
* new itertools: distinct_combinations, set_partitions, filter_except,
|
||||||
map_except, ichunked, only, time_limited, partitions, substrings_indexes
|
map_except, ichunked, only, time_limited, partitions, substrings_indexes
|
||||||
* Python 2.7 is no longer supported. All future releases will target
|
* Python 2.7 is no longer supported. All future releases will target
|
||||||
the active versions of Python 3.
|
the active versions of Python 3.
|
||||||
* The six library is no longer a dependency.
|
* The six library is no longer a dependency.
|
||||||
* collapse now treats bytes objects the same as str objects.
|
* collapse now treats bytes objects the same as str objects.
|
||||||
* numeric_range now supports ranges specified by datetime.datetime
|
* numeric_range now supports ranges specified by datetime.datetime
|
||||||
and datetime.timedelta objects
|
and datetime.timedelta objects
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@@ -422,7 +280,7 @@ Fri May 24 12:20:33 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
|||||||
* locate can now search for multiple items
|
* locate can now search for multiple items
|
||||||
* The docs now include a nice table of tools
|
* The docs now include a nice table of tools
|
||||||
|
|
||||||
- There are newer versions of more-itertools but this is the last
|
- There are newer versions of more-itertools but this is the last
|
||||||
version which supports Python 2.7
|
version which supports Python 2.7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-more-itertools
|
# spec file for package python-more-itertools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,16 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-more-itertools
|
Name: python-more-itertools
|
||||||
Version: 10.7.0
|
Version: 9.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: More routines for operating on iterables, beyond itertools
|
Summary: More routines for operating on iterables, beyond itertools
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/erikrose/more-itertools
|
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 base >= 3.6}
|
||||||
BuildRequires: %{python_module flit-core}
|
BuildRequires: %{python_module flit-core}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -38,7 +40,7 @@ Additional building blocks, recipes, and routines for working with
|
|||||||
Python iterables.
|
Python iterables.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n more_itertools-%{version}
|
%setup -q -n more-itertools-%{version}
|
||||||
chmod -x more_itertools/more.py
|
chmod -x more_itertools/more.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Reference in New Issue
Block a user