pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-boltons
Module Name: pkgsrc
Committed By: adam
Date: Wed Sep 23 12:45:45 UTC 2026
Modified Files:
pkgsrc/devel/py-boltons: Makefile distinfo
Log Message:
py-boltons: updated to 26.2.0
26.2.0
- Added [`statsutils.mode`][statsutils.mode] to return the most common value, breaking ties by first appearance
- Fixed [`setutils.IndexedSet.update`][setutils.IndexedSet.update] adding the iterables themselves instead of their elements when given multiple inputs
- Fixed [`strutils.iter_splitlines`][strutils.iter_splitlines] and [`strutils.indent`][strutils.indent] splitting dates containing ` 28` or ` 29` instead of recognizing Unicode line separators
- Added [`strutils.ellipsize`][strutils.ellipsize] for word-boundary-aware text truncation with an ellipsis
- Fixed [`funcutils.wraps`][funcutils.wraps] passing arguments positionally to wrappers that only accept them as keywords
- Fixed [`tableutils.Table.to_text`][tableutils.Table] crashes on empty tables, `None` headers, and short header rows; empty headers now render no header row, matching `to_html`
- Fixed [`timeutils.isoparse`][timeutils.isoparse] misreading fractional seconds (`.851` parsed as 851µs instead of 851000µs); >6-digit fractions now truncate instead of raising
- Fixed [`timeutils.daterange`][timeutils.daterange] looping forever on non-advancing steps: zero and self-cancelling month/day steps now raise `ValueError`, wrong-direction steps yield nothing like
`range()`
- Fixed [`strutils.MultiReplace`][strutils.MultiReplace] raising `KeyError` on empty substitution maps (now a no-op)
- Fixed [`jsonutils.JSONLIterator`][jsonutils.JSONLIterator] hanging when a seek lands past the last newline, and negative `rel_seek` values seeking past EOF (sign bug)
- Fixed [`iterutils.xfrange`][iterutils.xfrange] yielding nothing for descending ranges; now shares [`frange`][iterutils.frange]'s count-based semantics, so both agree at inexact float boundaries
- Fixed [`urlutils.parse_qsl`][urlutils.parse_qsl] ignoring its `encoding` argument when decoding keys and values
- Fixed [`dictutils.OrderedMultiDict.addlist`][dictutils.OrderedMultiDict.addlist] dropping values from one-shot iterables, including the vendored copy in `urlutils`
- Fixed [`ecoutils.get_profile`][ecoutils.get_profile] looking up identifying host, username, and working-directory information when `scrub=True`
- Fixed [`namedutils.namedtuple`][namedutils.namedtuple] and [`namedutils.namedlist`][namedutils.namedlist] raising `IndexError` instead of `ValueError` for empty type and field names
- Fixed [`iterutils.GUIDerator`][iterutils.GUIDerator] error text to reflect the inclusive minimum size of 20
- Fixed [`timeutils.decimal_relative_time`][timeutils.decimal_relative_time] and `relative_time` rejecting aware datetimes when the comparison time is omitted
- Fixed [`timeutils.USTimeZone`][timeutils.USTimeZone] handling of repeated and missing DST hours, including `fold` on UTC conversion
- Fixed [`mathutils.Bits`][mathutils.Bits] negative indexing
- Fixed [`mathutils.Bits`][mathutils.Bits] empty binary, hexadecimal, and byte round trips
- Sped up [`setutils.IndexedSet`][setutils.IndexedSet] bulk difference and intersection updates with a single-pass rebuild
- Fixed [`listutils.BarrelList`][listutils.BarrelList] out-of-range indexing returning unrelated values
- Fixed [`listutils.BarrelList`][listutils.BarrelList] insertion clamping across multiple internal lists
- Fixed [`listutils.BarrelList`][listutils.BarrelList] popping after an internal list was emptied by indexed removals
- Fixed [`listutils.BarrelList.iter_slice`][listutils.BarrelList.iter_slice] slice normalization and reverse steps
- Fixed [`listutils.BarrelList.del_slice`][listutils.BarrelList.del_slice] deletion across internal lists and through the end of the list
- Fixed [`jsonutils.JSONLIterator`][jsonutils.JSONLIterator] rejecting the documented `rel_seek=1.0` endpoint
- Fixed [`jsonutils.JSONLIterator`][jsonutils.JSONLIterator] relative seeking in binary streams
- Fixed [`statsutils.Stats.get_histogram_counts`][statsutils.Stats.get_histogram_counts] division by zero for data with no interquartile spread
- Fixed [`jsonutils.reverse_iter_lines`][jsonutils.reverse_iter_lines] ignoring explicit and stream encodings
- Fixed [`jsonutils.reverse_iter_lines`][jsonutils.reverse_iter_lines] detaching the caller's text stream, preventing later reads and context-manager cleanup
- Fixed [`cacheutils.ThresholdCounter.update`][cacheutils.ThresholdCounter.update] ignoring mapping and keyword counts
- Fixed [`cacheutils.LRI.update`][cacheutils.LRI.update] and [`cacheutils.LRU.update`][cacheutils.LRU.update] rejecting empty and keyword-only updates, and ignoring keywords when the source is the
cache itself
- Fixed [`cacheutils.ThresholdCounter.most_common`][cacheutils.ThresholdCounter.most_common] returning no pairs when the limit is omitted
- Fixed [`strutils.bytes2human`][strutils.bytes2human] failing to use the `Y` suffix for yottabyte-sized values
- Fixed [`urlutils.URL.get_authority`][urlutils.URL.get_authority] dropping passwords when the username is empty
- Fixed [`strutils.args2sh`][strutils.args2sh] and [`strutils.args2cmd`][strutils.args2cmd] ignoring the `sep` argument
- Fixed [`statsutils.Stats.pearson_type`][statsutils.Stats.pearson_type] raising `RuntimeError` instead of classifying Pearson types IV, V, and VI
- Fixed [`statsutils.Stats.pearson_type`][statsutils.Stats.pearson_type] division by zero at the exact coefficient boundary, preserving the existing Normal and Gamma cases
- Fixed [`setutils.complement`][setutils.complement] subset and superset comparisons raising `AttributeError`
- Fixed [`mathutils.Bits`][mathutils.Bits] accepting values too large for the requested bit length
- Fixed [`tbutils.ParsedException`][tbutils.ParsedException] dropping Python 3.11+ traceback anchor lines during round trips
- Fixed [`strutils.pluralize`][strutils.pluralize] handling of words ending in `x`, such as `box`
- Fixed [`iterutils.backoff_iter`][iterutils.backoff_iter] division by zero with `factor=1.0` and no count; equal bounds yield once, and unequal bounds raise `ValueError`
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-boltons/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-boltons/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-boltons/Makefile
diff -u pkgsrc/devel/py-boltons/Makefile:1.13 pkgsrc/devel/py-boltons/Makefile:1.14
--- pkgsrc/devel/py-boltons/Makefile:1.13 Tue Jul 21 13:01:08 2026
+++ pkgsrc/devel/py-boltons/Makefile Wed Sep 23 12:45:44 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2026/07/21 13:01:08 adam Exp $
+# $NetBSD: Makefile,v 1.14 2026/09/23 12:45:44 adam Exp $
-DISTNAME= boltons-26.1.0
+DISTNAME= boltons-26.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/boltons/}
Index: pkgsrc/devel/py-boltons/distinfo
diff -u pkgsrc/devel/py-boltons/distinfo:1.12 pkgsrc/devel/py-boltons/distinfo:1.13
--- pkgsrc/devel/py-boltons/distinfo:1.12 Tue Jul 21 13:01:08 2026
+++ pkgsrc/devel/py-boltons/distinfo Wed Sep 23 12:45:44 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2026/07/21 13:01:08 adam Exp $
+$NetBSD: distinfo,v 1.13 2026/09/23 12:45:44 adam Exp $
-BLAKE2s (boltons-26.1.0.tar.gz) = 9726ae4063ed16cbab5d7491455904bd23e2cfda370ec15629de32cc0d1de73d
-SHA512 (boltons-26.1.0.tar.gz) = ae04c7282becb68b8abff69fd8ddcdf3f96d7a964d749dda389229fe9c1ed2a40bc038346e146916775a9955030b9e310cd93a397a9ec88d54b45bf59f440ac9
-Size (boltons-26.1.0.tar.gz) = 227393 bytes
+BLAKE2s (boltons-26.2.0.tar.gz) = 9817ac0b12f03d08d958bf956e5353214dab56b327eee754115c59e0e0b57537
+SHA512 (boltons-26.2.0.tar.gz) = d1a4b898e721eb14f921789cdc1cd7dd5a5cc2c50b3a9b6dc51c8846dbebf94e6fe8624724d7ae2eee8f05b4c23b49b5a8d121d9bdcc6994f374fe2ecedadffb
+Size (boltons-26.2.0.tar.gz) = 242047 bytes
Home |
Main Index |
Thread Index |
Old Index