pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-more-itertools
Module Name: pkgsrc
Committed By: wiz
Date: Sun Apr 5 11:42:11 UTC 2026
Modified Files:
pkgsrc/devel/py-more-itertools: Makefile distinfo
Log Message:
py-more-itertools: update to 11.0.1.
11.0.1
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.
11.0.0
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)
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/py-more-itertools/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-more-itertools/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-more-itertools/Makefile
diff -u pkgsrc/devel/py-more-itertools/Makefile:1.38 pkgsrc/devel/py-more-itertools/Makefile:1.39
--- pkgsrc/devel/py-more-itertools/Makefile:1.38 Wed Sep 3 14:30:29 2025
+++ pkgsrc/devel/py-more-itertools/Makefile Sun Apr 5 11:42:11 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2025/09/03 14:30:29 adam Exp $
+# $NetBSD: Makefile,v 1.39 2026/04/05 11:42:11 wiz Exp $
-DISTNAME= more_itertools-10.8.0
+DISTNAME= more_itertools-11.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/more-itertools/}
Index: pkgsrc/devel/py-more-itertools/distinfo
diff -u pkgsrc/devel/py-more-itertools/distinfo:1.35 pkgsrc/devel/py-more-itertools/distinfo:1.36
--- pkgsrc/devel/py-more-itertools/distinfo:1.35 Wed Sep 3 14:30:29 2025
+++ pkgsrc/devel/py-more-itertools/distinfo Sun Apr 5 11:42:11 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.35 2025/09/03 14:30:29 adam Exp $
+$NetBSD: distinfo,v 1.36 2026/04/05 11:42:11 wiz Exp $
-BLAKE2s (more_itertools-10.8.0.tar.gz) = 18b0209994eec69fdbfbb0753b090ec9272797ecb77c731148b7c12c598ae6b9
-SHA512 (more_itertools-10.8.0.tar.gz) = 541ed387a31ee9fe3576c857ea0d552b1280d48d6f94556f83dd813ce19e0f41a40e0ecc7b5b8cc4b854a0920c66ed9a09a6dd63322f597efac15378c532d59c
-Size (more_itertools-10.8.0.tar.gz) = 137431 bytes
+BLAKE2s (more_itertools-11.0.1.tar.gz) = 6842ab659ae6043fd003200bf10f317b160ee808cadaead85a21751350afa1a0
+SHA512 (more_itertools-11.0.1.tar.gz) = ac81911a3dd1a6a987eefc81f924392ce6cd09981fdeb484d059b9ca3caa13e8bdbf5df1aaa3068ec4ce3742d86343c8b6ac17964250102eb12b742526722e11
+Size (more_itertools-11.0.1.tar.gz) = 144739 bytes
Home |
Main Index |
Thread Index |
Old Index