Skip to content

Update dependency more-itertools to v11#177

Merged
diemol merged 1 commit into
mainfrom
renovate/more-itertools-11.x
May 15, 2026
Merged

Update dependency more-itertools to v11#177
diemol merged 1 commit into
mainfrom
renovate/more-itertools-11.x

Conversation

@renovate

@renovate renovate Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
more-itertools ==10.8.0==11.0.2 age confidence

Release Notes

more-itertools/more-itertools (more-itertools)

v11.0.2: Version 11.0.2

Compare Source

  • The changes to the type hints for always_iterable in 11.0.0 have been reverted due to reported problems (thanks to ngoldbaum and rhettinger)
  • zip_equal was removed in 11.0.0. It had been deprecated and raising DeprecationWarning since 2021, but it's removal shoul have been documented in 11.0.0's release notes. We regret the error.
  • running_statistics has been moved from more_itertools.more to more_itertools.recipes. Its docstring was also improved (thanks to mastash3ff and rhettinger)

v11.0.1: Version 11.0.1

Compare Source

This release restores pairwise, which was mistakenly removed in 11.0.0 instead of being deprecated. It is now marked as deprecated and will be removed in a future major release. Use itertools.pairwise as a replacement.

v11.0.0: Version 11.0.0

Compare Source

Potentially breaking changes
  • Python 3.9 support was dropped, since it went EOL on 2025-10-31
  • callback_iter is deprecated. It will be removed in a future major release.
  • iequals no longer returns True when called with ([], [ANY]) (thanks to rhettinger and pochmann3)
  • The pred argument for locate and replace must now be able to
    handle a variable number of arguments. See their docstrings for details. (thanks to veeceey, james-wasson, and pochmann3)
  • unique_everseen now raises TypeError when input elements are not hashable.
    The silent fallback mechanism for unhashable inputs has been removed. (thanks to rhettinger and karlicoss)
  • windowed now raises ValueError when given a window size of 0 (thanks to rhettinger and brevzin)
  • Parameter names for flatten, iter_except, repeatfunc, prepend, transpose,
    and sum_of_squares have been changed. Code that uses these functions will need to be updated if it
    uses keywords for positional arguments. (thanks to rhettinger)
New functions
  • concurrent_tee: similar to tee, but with guaranteed threading
    semantics (thanks to rhettinger)
  • random_derangement: returns a random derangement of elements from an
    iterable (thanks to rhettinger)
  • running_mean: yields the mean of values in an iterable, or in a sliding
    window (thanks to rhettinger)
  • running_statistics: provides statistics for the values in an iterable, or
    in a sliding window (thanks to rhettinger)
  • serialize: wraps a non-concurrent iterator with a lock to enforce
    sequential access (thanks to rhettinger)
  • synchronized: wraps an iterator-returning callable to make its iterators
    thread-safe (thanks to rhettinger)
  • sized_iterator: wraps an iterable with a known length and implements __len__ (thanks to assaf127)
Changes to existing functions
  • The type hints for always_iterable were improved (thanks to rhettinger and maltevesper)
  • A potential bug in callback_iter was fixed
  • A bug in exactly_n's handling of negative arguments was fixed (thanks to rhettinger)
  • extract`` now accepts a monotonic` argument for improved performance (thanks to rhettinger)
  • A bug in numeric_range's handling of negative steps was fixed (thanks to bysiber)
  • grouper implementation was updated to match the itertools docs (thanks to rhettinger)
  • nth_product, product_index, gray_product,
    partial_product, nth_product, product_index, and
    random_product now accept a repeat keyword argument (thanks to rhettinger)
  • powerset_of_sets can now construct frozenset instances (thanks to rhettinger)
  • The type hints for stagger were improved (thanks to nathanjmcdougall)
  • Memory efficiency was improved for partition was improved (thanks to rhettinger and yueyinqiu)
  • Performance for the functions count_cycle, difference,
    random_product, was improved nth_combination, nth_combination_with_replacement,
    nth_permuwas improvedtation, nth_product, product_index,
    random_permutation, substrings, and value_chain was
    improved (thanks to rhettinger)
  • Performance for ichunked was improved (thanks to pochmann3 and rhettinger)
Other changes
  • The docstrings for several functions were improved (thanks to nathanjmcdougall, olliemath, r266-tech, and rhettinger)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/more-itertools-11.x branch 4 times, most recently from 22b71a6 to be870a3 Compare May 15, 2026 16:35
@renovate renovate Bot force-pushed the renovate/more-itertools-11.x branch from be870a3 to 19fa56f Compare May 15, 2026 16:42
@diemol diemol merged commit 938406b into main May 15, 2026
8 checks passed
@diemol diemol deleted the renovate/more-itertools-11.x branch May 15, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant