commit:     ce0d7d4165bb0aa2ecd7e32f4891964f1f12fad8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 26 04:28:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 26 04:28:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0d7d41

dev-python/narwhals: Bump to 2.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/narwhals/Manifest              |  1 +
 dev-python/narwhals/narwhals-2.2.0.ebuild | 43 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 073cd94b462f..88fd3edcc009 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -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

diff --git a/dev-python/narwhals/narwhals-2.2.0.ebuild 
b/dev-python/narwhals/narwhals-2.2.0.ebuild
new file mode 100644
index 000000000000..12a565968cde
--- /dev/null
+++ b/dev-python/narwhals/narwhals-2.2.0.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"
+}

Reply via email to