commit:     5a604e71da466cd65657d5285840675cd5ba40e4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  2 04:57:48 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep  2 05:02:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a604e71

dev-python/narwhals: Bump to 2.3.0

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

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

diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 88fd3edcc009..eafccbc46c82 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1,2 +1,3 @@
 DIST narwhals-2.1.2.tar.gz 533772 BLAKE2B 
3a2d4508c1c50625484e0d5a056e5a11445a31a209ed485896b9b25f6c88b5cdd288382659caa1a508496de7e2214e775aac2f8c71e38c35957b6c7cfff7859c
 SHA512 
3ad8b45b6187fea5c0ad10563818583a2e4bad72865deb5fb8f9134bacfdb304a41b0be43095a36830db0c01793bc4c13900242ca5191c5a0518fe481f74ebb7
 DIST narwhals-2.2.0.tar.gz 547070 BLAKE2B 
6edf4d94f79a3ee643bd9a16ad320a825ef693ba3f791dc0cbcf3d55c9212fbfde53a4f5482855de31554693b06170f97dc6af295f31838d1a4274f392710f69
 SHA512 
5999feb61590743ca1359ce6c38785dea90b48757a037985578b981322a5456a79e613649556f1d5d4fd92caa0bdd561d14e82281166be39b21eee87143979c5
+DIST narwhals-2.3.0.tar.gz 552774 BLAKE2B 
31577fff0dd9351bc74eeccd829e5c69ab0f2b0ad7da671019a48724add5f299c87b5afab90db63af8f053a385d4ff30f285f8315d867b77b7e922b6476323b1
 SHA512 
aa6a299511f3afa7a1c206df68b852aea877cef6603226e0899aac04bb2f7e1a3a4dfcd51ddfc619e6589648a37d61068a1eb54b09f92abc0da50feb6f5948b6

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