commit:     59be8df0154e860fc62a51bfdb1d3b1562c27437
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  7 02:02:50 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct  7 02:32:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59be8df0

dev-python/narwhals: Bump to 2.7.0

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

 dev-python/narwhals/Manifest              |  2 ++
 dev-python/narwhals/narwhals-2.7.0.ebuild | 44 +++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 70c657ce43f7..83a773912bf4 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1,2 +1,4 @@
 DIST narwhals-2.6.0.tar.gz 561649 BLAKE2B 
a687857f573ec262fc4ac872d728318bd232f01026c865703cdf18363023fbd3cf6feeb5964a24563d7ccbd82dc065590b4779204da5fff61e6448f784103852
 SHA512 
cf41582635376891f70a409e0505cee7575cb74e7df61f2e5f21a691e23f20b27091e7191bc0d88116d72363020d53d5a01bdbacfed9ed1c4c8acf1444a917b7
 DIST narwhals-2.6.0.tar.gz.provenance 9653 BLAKE2B 
53edab41fedc85c2f7f10f61d50fe3a391e621c5d743217fe9aded918ad8dbe03921be314807de6d9cd1d01c07402be77361d6ad271757582bef73223c64288d
 SHA512 
5ee4999f2e00fb95510cf25a566c0306220d2a4f74eac1f0751d6e5ccc9c64ecec327562412ae977e7704462cfdcc74594cd2e40e531c356727df918bdc53b1c
+DIST narwhals-2.7.0.tar.gz 569315 BLAKE2B 
d46de1c1fedd58872adb7104e325b78479837d6bd2eaeef0f290f926b6d78493135267bab3b4a6d698f561fdefb918709f5fe60475bbd126025eaf516c4fe3ba
 SHA512 
fc4334f2dd99b459b3a27698acf514d9c5ac21c753ba4099b371db6a24aff4538f3bc9f67537bc60368f6543c3169947dc120206b04bdd60996cf25bfe2c158a
+DIST narwhals-2.7.0.tar.gz.provenance 9790 BLAKE2B 
a1a2bf3aaed9864611e9f6bd648df67a6478c5846fb38b1ae30fcd3914305a9f3de7fdc765c821353c99f888e6f7f2504818f4b9d887554406d7757028a9403a
 SHA512 
415b7ce737fb197ccff6340ce42c8d7a0b1005af6817267af46b68e3e517b01602a756f7800f1d48d73e462aa565480245432c3d961e18bc1eb7b9dda37da42b

diff --git a/dev-python/narwhals/narwhals-2.7.0.ebuild 
b/dev-python/narwhals/narwhals-2.7.0.ebuild
new file mode 100644
index 000000000000..cf9a618b06d8
--- /dev/null
+++ b/dev-python/narwhals/narwhals-2.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/narwhals-dev/narwhals
+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