commit: a62e9645619fae81bfae8ce108c1bd78c9af6344
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 16 05:18:04 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 05:27:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a62e9645
dev-python/narwhals: Bump to 2.1.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/narwhals/Manifest | 1 +
dev-python/narwhals/narwhals-2.1.2.ebuild | 43 +++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 40576338db3e..5cd6b6a4aa8a 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1 +1,2 @@
DIST narwhals-2.1.1.tar.gz 529925 BLAKE2B
0ba72c0ee85dc832bda4b5e5382b1109cbc8b46940e58e027b0143fff58910d99b2a39c0dec9315a74ff283e51c3acec2bed4a65f351a5a41c952c2d84a93733
SHA512
6b709f841e734837da037f4b27e14029e07935475c18e22fc10692dbb138de709687c60fda583bfe62b27670f4c77e095dfe4a746ccdeef9dc451d8cbe3ac27c
+DIST narwhals-2.1.2.tar.gz 533772 BLAKE2B
3a2d4508c1c50625484e0d5a056e5a11445a31a209ed485896b9b25f6c88b5cdd288382659caa1a508496de7e2214e775aac2f8c71e38c35957b6c7cfff7859c
SHA512
3ad8b45b6187fea5c0ad10563818583a2e4bad72865deb5fb8f9134bacfdb304a41b0be43095a36830db0c01793bc4c13900242ca5191c5a0518fe481f74ebb7
diff --git a/dev-python/narwhals/narwhals-2.1.2.ebuild
b/dev-python/narwhals/narwhals-2.1.2.ebuild
new file mode 100644
index 000000000000..12a565968cde
--- /dev/null
+++ b/dev-python/narwhals/narwhals-2.1.2.ebuild
@@ -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"
+}