Mon Apr 15 08:10:23 2024 UTC (52d)
py-pandas: updated to 2.2.2

Pandas 2.2.2 is now compatible with numpy 2.0

Pandas 2.2.2 is the first version of pandas that is generally compatible with the upcoming numpy 2.0 release, and wheels for pandas 2.2.2 will work with both numpy 1.x and 2.x.

One major caveat is that arrays created with numpy 2.0窶冱 new StringDtype will convert to object dtyped arrays upon Series/DataFrame creation. Full support for numpy 2.0窶冱 StringDtype is expected to land in pandas 3.0.

As usual please report any bugs discovered to our issue tracker

Fixed regressions

DataFrame.__dataframe__() was producing incorrect data buffers when the a column窶冱 type was a pandas nullable on with missing values (GH 56702)
DataFrame.__dataframe__() was producing incorrect data buffers when the a column窶冱 type was a pyarrow nullable on with missing values (GH 57664)
Avoid issuing a spurious DeprecationWarning when a custom DataFrame or Series subclass method is called (GH 57553)
Fixed regression in precision of to_datetime() with string and unit input (GH 57051)
Bug fixes

DataFrame.__dataframe__() was producing incorrect data buffers when the column窶冱 type was nullable boolean (GH 55332)
DataFrame.__dataframe__() was showing bytemask instead of bitmask for 'string[pyarrow]' validity buffer (GH 57762)
DataFrame.__dataframe__() was showing non-null validity buffer (instead of None) 'string[pyarrow]' without missing values (GH 57761)
DataFrame.to_sql() was failing to find the right table when using the schema argument (GH 57539)


(adam)
diff -r1.59 -r1.60 pkgsrc/math/py-pandas/Makefile
diff -r1.41 -r1.42 pkgsrc/math/py-pandas/distinfo

cvs diff -r1.59 -r1.60 pkgsrc/math/py-pandas/Makefile (expand / switch to unified diff)

--- pkgsrc/math/py-pandas/Makefile 2024/03/06 18:56:35 1.59
+++ pkgsrc/math/py-pandas/Makefile 2024/04/15 08:10:23 1.60
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.59 2024/03/06 18:56:35 adam Exp $ 1# $NetBSD: Makefile,v 1.60 2024/04/15 08:10:23 adam Exp $
2 2
3DISTNAME= pandas-2.2.1 3DISTNAME= pandas-2.2.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= math graphics python 5CATEGORIES= math graphics python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/}
7 7
8MAINTAINER= bad@NetBSD.org 8MAINTAINER= bad@NetBSD.org
9HOMEPAGE= https://pandas.pydata.org/ 9HOMEPAGE= https://pandas.pydata.org/
10COMMENT= Python Data Analysis Library 10COMMENT= Python Data Analysis Library
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=0.29.33:../../devel/py-cython 13TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=0.29.33:../../devel/py-cython
14# Package directly expresses a meson minimum; we need higher to pick up our 14# Package directly expresses a meson minimum; we need higher to pick up our
15# multi-version build fixes. 15# multi-version build fixes.
16TOOL_DEPENDS+= meson>=1.2.2nb1:../../devel/meson 16TOOL_DEPENDS+= meson>=1.2.2nb1:../../devel/meson

cvs diff -r1.41 -r1.42 pkgsrc/math/py-pandas/distinfo (expand / switch to unified diff)

--- pkgsrc/math/py-pandas/distinfo 2024/03/06 18:56:35 1.41
+++ pkgsrc/math/py-pandas/distinfo 2024/04/15 08:10:23 1.42
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.41 2024/03/06 18:56:35 adam Exp $ 1$NetBSD: distinfo,v 1.42 2024/04/15 08:10:23 adam Exp $
2 2
3BLAKE2s (pandas-2.2.1.tar.gz) = fea4f7de834da1a55ea03f6b04a182b870ed49ecec60791a28b1bd5923a1b67c 3BLAKE2s (pandas-2.2.2.tar.gz) = 5f5b3070589c290134877a76a2593bee2a97158bbbff0cd22a97dc764ac60da0
4SHA512 (pandas-2.2.1.tar.gz) = 8e6af4793d8b77e5c86a22c88f999dba63b1cc1954f5148bdb8c9b1bfe4e7fc5004de7d0f035b2d651f56c44b28ba4b0bd304f9c9122426cc37fb97596e13746 4SHA512 (pandas-2.2.2.tar.gz) = 85b006f96bd6400aeea2ec29df3557ea6c4bfee0a7aebb172547a43171dc0e7682d15f798081846a4f464559ab83f579cfe06d66d4b5c0cb0fb2975c2ef98f9c
5Size (pandas-2.2.1.tar.gz) = 4395256 bytes 5Size (pandas-2.2.2.tar.gz) = 4398391 bytes
6SHA1 (patch-meson.build) = f802806a1ec2de5f466eb29c3037c54cbf9971b1 6SHA1 (patch-meson.build) = f802806a1ec2de5f466eb29c3037c54cbf9971b1
7SHA1 (patch-pandas___libs_window_aggregations.pyx) = 65e3ec2b165de00b23550a989c5eb77c81c759f3 7SHA1 (patch-pandas___libs_window_aggregations.pyx) = 65e3ec2b165de00b23550a989c5eb77c81c759f3