Update dependency more-itertools to v11 #10
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
andylockran/dtmfapy!10
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/more-itertools-11.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==4.1.0→==11.2.1Release Notes
more-itertools/more-itertools (more-itertools)
v11.2.1: Version 11.2.1Compare Source
This release includes #1331, a packaging-related change. No module code changed.
v11.2.0: Version 11.2.0Compare Source
Highlights:
random_ordered_rangefunctionsubfactorialfunctionSee the release notes for details.
v11.1.0: Version 11.1.0Compare Source
Changes:
numeric_rangewas updated to fix its handling of empty ranges (thanks to rhettinger)peekablewas updated to fix typing issues (thanks to DORI2001, powellnorma, Pandede, m9810223, and rhettinger)islice_extendedwas optimized for memory usage and speed (thanks to ben42code, rhettinger, and pochmann)serializenow supports the generator methodsthrow,send, andclose(thanks to rhettinger)seekablenow supports implements__getitem__for cached elements (thanks to SAY-5, jenstroeger, and JamesParrott)v11.0.2: Version 11.0.2Compare Source
always_iterablein 11.0.0 have been reverted due to reported problems (thanks to ngoldbaum and rhettinger)zip_equalwas removed in 11.0.0. It had been deprecated and raisingDeprecationWarningsince 2021, but it's removal shoul have been documented in 11.0.0's release notes. We regret the error.running_statisticshas been moved frommore_itertools.moretomore_itertools.recipes. Its docstring was also improved (thanks to mastash3ff and rhettinger)v11.0.1: Version 11.0.1Compare 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. Useitertools.pairwiseas a replacement.v11.0.0: Version 11.0.0Compare Source
Potentially breaking changes
callback_iteris deprecated. It will be removed in a future major release.iequalsno longer returnsTruewhen called with([], [ANY])(thanks to rhettinger and pochmann3)predargument forlocateandreplacemust now be able tohandle a variable number of arguments. See their docstrings for details. (thanks to veeceey, james-wasson, and pochmann3)
unique_everseennow raisesTypeErrorwhen input elements are not hashable.The silent fallback mechanism for unhashable inputs has been removed. (thanks to rhettinger and karlicoss)
windowednow raisesValueErrorwhen given a window size of0(thanks to rhettinger and brevzin)flatten,iter_except,repeatfunc,prepend,transpose,and
sum_of_squareshave been changed. Code that uses these functions will need to be updated if ituses keywords for positional arguments. (thanks to rhettinger)
New functions
concurrent_tee: similar totee, but with guaranteed threadingsemantics (thanks to rhettinger)
random_derangement: returns a random derangement of elements from aniterable (thanks to rhettinger)
running_mean: yields the mean of values in an iterable, or in a slidingwindow (thanks to rhettinger)
running_statistics: provides statistics for the values in an iterable, orin a sliding window (thanks to rhettinger)
serialize: wraps a non-concurrent iterator with a lock to enforcesequential access (thanks to rhettinger)
synchronized: wraps an iterator-returning callable to make its iteratorsthread-safe (thanks to rhettinger)
sized_iterator: wraps an iterable with a known length and implements__len__(thanks to assaf127)Changes to existing functions
always_iterablewere improved (thanks to rhettinger and maltevesper)callback_iterwas fixedexactly_n's handling of negative arguments was fixed (thanks to rhettinger)extract`` now accepts amonotonic` argument for improved performance (thanks to rhettinger)numeric_range's handling of negative steps was fixed (thanks to bysiber)grouperimplementation was updated to match theitertoolsdocs (thanks to rhettinger)nth_product,product_index,gray_product,partial_product,nth_product,product_index, andrandom_productnow accept arepeatkeyword argument (thanks to rhettinger)powerset_of_setscan now constructfrozensetinstances (thanks to rhettinger)staggerwere improved (thanks to nathanjmcdougall)partitionwas improved (thanks to rhettinger and yueyinqiu)count_cycle,difference,random_product, was improvednth_combination,nth_combination_with_replacement,nth_permuwas improvedtation,nth_product,product_index,random_permutation,substrings, andvalue_chainwasimproved (thanks to rhettinger)
ichunkedwas improved (thanks to pochmann3 and rhettinger)Other changes
v10.8.0: Version 10.8.0Compare Source
What's Changed
derangementsby itself by bbayles in #985interleave_longestby pochmann3 in #1027mark_endsby pochmann3 in #1035unzip: replace custom itemgetter by pochmann3 in #1059interleave_randomlyby ktbarrett in #1048Full Changelog: https://github.com/more-itertools/more-itertools/compare/v10.7.0...v10.8.0
v10.7.0: Version 10.7.0Compare Source
See the change log here for details.
v10.6.0: Version 10.6.0Compare Source
New functions:
is_primeandnth_primewere added (thanks to JamesParrott and rhettinger)loopswas added (thanks to rhettinger)Changes to existing functions:
factorwas optimized to handle larger inputs and use less memory (thanks to rhettinger)spywas optimized to enable nested calls (thanks to rhettinger)polynomial_from_rootswas made non-recursive and able to handle larger numbers of roots (thanks to pochmann3 and rhettinger)is_sortednow only relies on less than comparisons (thanks to rhettinger)outer_productwas improved (thanks to rhettinger)samplewere improved (thanks to rhettinger)Other changes:
mypychecks were fixed (thanks to JamesParrott)v10.5.0Compare Source
What's Changed
Full Changelog: https://github.com/more-itertools/more-itertools/compare/v10.4.0...v10.5.0
v10.4.0: Version 10.4.0Compare Source
What's Changed
windowed_completecorrected by @m472 in #881zip_broadcastby @Pandede in #888stricttosort_togetherby @Pandede in #892New Contributors
Full Changelog: https://github.com/more-itertools/more-itertools/compare/v10.3.0...v10.4.0
v10.3.0: Version 10.3.0Compare Source
What's Changed
collapseby @james-wasson in #796paddedby @james-wasson in #805ichunkedby @james-wasson in #793chunked_evenitertool by @james-wasson in #816New Contributors
Full Changelog: https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0
v10.2.0: Version 10.2.0Compare Source
New functions
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, andunique_justseenwere updated to match the itertools docsfirstwas was optimized (thanks to pochmann)takewhile_inclusivewas was refactored (thanks to eltoder)combination_with_replacement_indexwas was optimized (thanks to elliotwutingfeng and rhettinger)nth_permutation,nth_combination_with_replacement,combination_index, andcombination_with_replacement_indexwere optimized (thanks to rhettinger)batchednow accepts astrictargument (adapted from itertools docs)time_limitedwas improved for Windows (thanks to haukex)Other changes
v10.1.0: Version 10.1.0Compare Source
What's Changed
zip_broadcast()by @kalekundert in #739zip_broadcast()by pre-filling the scalar elements by @kalekundert in #740zip_broadcastby @pochmann in #742_zip_equalby @pochmann in #744New Contributors
Full Changelog: https://github.com/more-itertools/more-itertools/compare/v10.0.1...v10.1.0
v10.0.0: Version 10.0.0Compare Source
What's Changed
iterate()to enablefuncto raise StopIteration + 3 unittests by @jrebiffe in #708partitionby @pochmann in #710partial_product(also simplify and clean up) by @pochmann in #714pairwiseby @pochmann in #712partial_productby @pochmann in #716duplicates_justseenby @pochmann in #718New Contributors
Full Changelog: https://github.com/more-itertools/more-itertools/compare/v9.1.1...v10.0.0
v9.1.0: Version 9.1.0Compare Source
See PR #678 for details.
v9.0.0: Version 9.0.0Compare Source
See PR #647 for details
v8.14.0: Version 8.14.0Compare Source
See PR #634
v8.13.0: Version 8.13.0Compare Source
See PR #608
v8.12.0: Version 8.12.0Compare Source
Shipped to fix #578
v8.11.0: Version 8.11.0Compare Source
See the release notes.
v8.10.0: Version 8.10.0Compare Source
See PR #555 for details.
v8.9.0: Version 8.9.0Compare Source
See PR #547 for details.
v8.8.0: Version 8.8.0Compare Source
See PR #520 for details
v8.7.0: Version 8.7.0Compare Source
See the release notes for details.
v8.6.0: Version 8.6.0Compare Source
See the changelog for details.
v8.5.0: Version 8.5.0Compare Source
See the release notes.
v8.4.0: Version 8.4.0Compare Source
See the changelog for details.
v8.3.0: Version 8.3.0Compare Source
See the release notes for details.
v8.2.0: Version 8.2.0Compare Source
See the release notes for details.
v8.1.0: Version 8.1.0Compare Source
See the release notes.
v8.0.2: Version 8.0.2Compare Source
See the release notes.
v8.0.1: Version 8.0.1Compare Source
See the release notes for details.
v8.0.0: Version 8.0.0Compare Source
See the release notes for details.
v7.2.0: Version 7.2.0Compare Source
See the release notes for details.
v7.1.0: Version 7.1.0Compare Source
See the release notes for details.
v7.0.0: Version 7.0.0Compare Source
See the release notes for the full list of changes.
v6.0.0: Version 6.0.0Compare Source
This is the first Python 3-only release.
Python 2 users may use version 5.0.0.
See the release notes for the full list of changes.
v5.0.0: Version 5.0.0Compare Source
See PR #252 for notes.
v4.3.0: Version 4.3.0Compare Source
v4.2.0: Version 4.2.0Compare Source
See PR #211 for notes.
Configuration
📅 Schedule: (UTC)
🚦 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 this update again.
This PR has been generated by Mend Renovate CLI.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.