dev-python/narwhals: Bump to 2.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-26 06:28:42 +02:00
parent 4d11dd3a5c
commit ce0d7d4165
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST narwhals-2.1.2.tar.gz 533772 BLAKE2B 3a2d4508c1c50625484e0d5a056e5a11445a31a209ed485896b9b25f6c88b5cdd288382659caa1a508496de7e2214e775aac2f8c71e38c35957b6c7cfff7859c SHA512 3ad8b45b6187fea5c0ad10563818583a2e4bad72865deb5fb8f9134bacfdb304a41b0be43095a36830db0c01793bc4c13900242ca5191c5a0518fe481f74ebb7
DIST narwhals-2.2.0.tar.gz 547070 BLAKE2B 6edf4d94f79a3ee643bd9a16ad320a825ef693ba3f791dc0cbcf3d55c9212fbfde53a4f5482855de31554693b06170f97dc6af295f31838d1a4274f392710f69 SHA512 5999feb61590743ca1359ce6c38785dea90b48757a037985578b981322a5456a79e613649556f1d5d4fd92caa0bdd561d14e82281166be39b21eee87143979c5

View File

@@ -0,0 +1,43 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries"
HOMEPAGE="
https://github.com/narwhals-dev/narwhals/
https://pypi.org/project/narwhals/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
BDEPEND="
test? (
>=dev-python/pandas-1.1.3[${PYTHON_USEDEP}]
>=dev-python/pyarrow-13.0.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( hypothesis pytest-env )
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# segfaults
# https://github.com/apache/arrow/issues/47252
'tests/modern_polars/unpivot_test.py::test_unpivot[pyarrow]'
# fragile to parallel merges that can cause non-atomic .dist-info
# changes
tests/system_info_test.py::test_get_sys_info
)
epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow"
}