head 1.6; access; symbols pkgsrc-2026Q3:1.3.0.2 pkgsrc-2026Q3-base:1.3; locks; strict; comment @# @; 1.6 date 2026.10.28.13.23.12; author adam; state Exp; branches; next 1.5; commitid wIAfoKkBMCMKkf1H; 1.5 date 2026.10.20.06.02.15; author adam; state Exp; branches; next 1.4; commitid Qpnb0vHPdZ2v9b0H; 1.4 date 2026.09.22.12.37.31; author adam; state Exp; branches; next 1.3; commitid RDGbltY8WhhReCWG; 1.3 date 2026.08.24.12.38.27; author adam; state Exp; branches; next 1.2; commitid Sh7o4fT6WpCXaTSG; 1.2 date 2026.07.15.06.13.48; author adam; state Exp; branches; next 1.1; commitid 9v2RNuKAWuBIkING; 1.1 date 2026.07.13.12.00.24; author adam; state Exp; branches; next ; commitid zvLDVhjPTY5FjuNG; desc @@ 1.6 log @py-narwhals: updated to 2.28.0 2.28.0 Performance improvements perf: drop_nulls before unique in Polars cat.get_categories Enhancements feat: Extend plugin support for IO and from_* methods/functions feat: support list.{len,get,min,max,mean,median,sum,sort} for Dask Bug fixes fix null-handling in mode for sql like fix: ignore modules that are still being imported fix: handle eager plugin native objects in is_into_lazyframe, get_native_namespace and Series.__getitem__ fix: Consistently raise DuplicateError in rename fix: support DuckDB 2.0 in joins, time zone lookup and from_native typing ci: fix lightgbm, patch tea-tasting fix: var/std on Dask return null for N <= ddof, and zero instead of null for constant group_by groups fix: don't raise unhashable type for cuDF categorical columns fix: treat non-ASCII letters as word characters in str.to_titlecase on DuckDB, Spark-like and old polars fix: restore set difference between selectors fix: return selector union columns in schema order fix: correct var/std with ddof > 1 on SQL backends, including over and null for N <= ddof fix: stop using DuckDBPyRelation.fetchone, removed in DuckDB 2.0 test: fix Implementation typing tests for pyrefly 1.4 fix: floor // on DuckDB for negative operands and floats fix: keep the dtype of scalar reduction results on the PyArrow backend fix: raise InvalidOperationError for mismatched list.contains items on pyarrow-backed backends fix: raise consistent errors for invalid descending/reverse in sort and top_k fix: do not drop nulls in mode on pandas-like and dask fix: avoid copying numpy arrays in pandas Series.from_numpy on pandas 3 fix: DuckDB dt.total_* wrong for durations of one hour or more fix: return null from arg_min and arg_max when no valid values exist Documentation docs: mention forward_fill / ffill in fill_null docs docs: document that null values are ignored in aggregations docs: document unicode case mapping differences in str.{to_uppercase,to_lowercase} Other improvements test: avoid tied sort keys in first/last group-by test chore: make bump_version.py fail-safe and stop it from churning uv.lock test: use packaging.version.Version for backend version checks chore(deps): lock file maintenance chore: prek autoupdate test: cover str.to_datetime date-only, all-null and trailing cases test: cover str.to_time custom formats, schema and invalid raises ci: Temporary pin beartype in tubular downstream job to get CI green test: only xfail test_truediv_same_dims on Polars < 2.1 chore: prek autoupdate @ text @# $NetBSD: Makefile,v 1.5 2026/10/20 06:02:15 adam Exp $ DISTNAME= narwhals-2.28.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= misc python MASTER_SITES= ${MASTER_SITE_PYPI:=n/narwhals/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/narwhals-dev/narwhals COMMENT= Extremely lightweight compatibility layer between dataframe libraries LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-uv-build>=0.11.0:../../devel/py-uv-build TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.0.0:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-pandas>=1.3.4:../../math/py-pandas TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-env>=0:../../devel/py-test-env TEST_DEPENDS+= ${PYPKGPREFIX}-test-randomly>=0:../../devel/py-test-randomly TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=0:../../devel/py-test-xdist USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.5 log @py-narwhals: updated to 2.27.1 2.27.1 fix: return a numeric dtype from str.len_chars on all-null object columns fix: count characters, not bytes, in str.zfill on Polars < 2.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2026/09/22 12:37:31 adam Exp $ d3 1 a3 1 DISTNAME= narwhals-2.27.1 @ 1.4 log @py-narwhals: updated to 2.26.0 2.26.0 Performance improvements perf: Avoid getting columns to read dtypes, route bare selectors through simple_select perf: Speedup pandas-like is_finite, sqrt, kurtosis and skew Enhancements feat: Improve error message on unsupported length-changing methods Bug fixes fix(pyarrow): strip_chars with empty characters no longer strips whitespace ci: fix downstream pins for pointblank fix: use dtype.categories for pl.Enum in get_categories fix(typing): Stableify selectors fix(typing): Stableify concat with the stable frame classes fix(pyarrow): shift preserves length when n exceeds the series length fix(pyarrow): keep nulls through clip instead of replacing them with a bound fix: Deprecate cat.get_categories and stop relying on Polars' removed method fix: inplace deprecation warning from pandas in hist fix(test): xfail polars v2 for is_in and __contains__ tests fix(test): Fix interchange and concat tests fix: str.slice(..., length=0) returns empty string on pandas and dask Documentation docs: Resync documentation with implementation docs: Add AGENTS.md @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2026/08/24 12:38:27 adam Exp $ d3 1 a3 1 DISTNAME= narwhals-2.26.0 @ 1.3 log @py-narwhals: updated to 2.25.0 2.25.0 Performance improvements perf: remove redundant work in eager when/then, schema resolution, selectors, and module lookups Enhancements feat: add str.strip_chars_{start,end} feat: Add maintain_order argument to {Expr, Series}.list.unique feat(typing): Introduce PluginName NewType so plugin backends can type check feat(ibis): Add support for Expr.list.median for ibis backend Bug fixes fix: follow left-hand-index alignment rule for pandas-like concat fix: null propagation for str boolean methods fix: consistently place null's in with_row_index(order_by=...) fix: honor schema column selection/order in pandas-like from_dicts fix: use exact quantile for median on the pyarrow backend fix: order Categorical columns by value in the pyarrow backend fix: is_in was not preserving nulls where possible fix: preserve nulls in pandas-like Expr.dt.ordinal_day fix: resolve failing cross-references in documentation Documentation docs: reorganise contributing.md and add useful make commands fix: resolve failing cross-references in documentation docs: Add Intella to "resources" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2026/07/15 06:13:48 adam Exp $ d3 1 a3 1 DISTNAME= narwhals-2.25.0 @ 1.2 log @py-narwhals: updated to 2.24.0 2.24.0 Enhancements feat: Widen IntoSchema to accept IntoDType values and (name, dtype) pair sequences feat: add nw.list feat: Support plugin native objects in is_into_* feat: stabilize dtype conversion across pandas, pyarrow, and modin test constructors Bug fixes fix: avoid potential sql injection in sink_parquet fix(pyarrow): Adapt for pyarrow v25.0.0 fix(ci): sync all dependencies in altair downstream test fix: Fix fill_null for Dask with expressions fix: avoid potential sql injection for join_asof fix assert_equal_data for objects where __eq__ returns non-bool Documentation docs: Add 'AI-assisted contributions' section in CONTRIBUTING.md and PR field @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2026/07/13 12:00:24 adam Exp $ d3 1 a3 1 DISTNAME= narwhals-2.24.0 @ 1.1 log @py-narwhals: added version 2.23.0 Extremely lightweight and extensible compatibility layer between dataframe libraries! * Full API support: cuDF, Modin, pandas, Polars, PyArrow. * Lazy-only support: Daft, Dask, DuckDB, Ibis, PySpark, SQLFrame. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= narwhals-2.23.0 @