commit: ed0b9f15bda2c10de1a408cd11141e5071e0efc5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 10 01:24:38 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 10 01:56:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0b9f15
dev-python/narwhals: Bump to 1.42.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/narwhals/Manifest | 1 +
dev-python/narwhals/narwhals-1.42.0.ebuild | 38 ++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest
index 13a3d03ffd7c..ac7ffa720919 100644
--- a/dev-python/narwhals/Manifest
+++ b/dev-python/narwhals/Manifest
@@ -1 +1,2 @@
DIST narwhals-1.41.1.tar.gz 489404 BLAKE2B
001529ab92af6cdaaf84b65621a371ff5290e5eb3285e4a1e09014e0a4e1d9c3c757b01136ea9b88a445283cf4aa48a3c07b76094923cce091bb0117aa28c503
SHA512
a9cce0aaea480d0514d71c881cd4396490111554e0b29228426fb30588884cb5e73e3f02831d4e957c7d5b02e8ff39be5ca7ea7065a576864b5ccd5aecaaadb0
+DIST narwhals-1.42.0.tar.gz 490671 BLAKE2B
8d0671d22c79598e5be41f986f87ba002a16fefe2fd63bd88b68c97c253ffbf5988ffa40851899653241280d167f6fcdcdc0e4384e053c05cfad2cedd4d09ca7
SHA512
3fc574a04ae57220ddd90eca39ce729f022cb0d24170684e35dc3b80ebd2aeb6317a915c75f819a4fe52f60eb06c1c6eb84ae3e7e39c54c627a0e07573e3e3a3
diff --git a/dev-python/narwhals/narwhals-1.42.0.ebuild
b/dev-python/narwhals/narwhals-1.42.0.ebuild
new file mode 100644
index 000000000000..91c2c317d73d
--- /dev/null
+++ b/dev-python/narwhals/narwhals-1.42.0.ebuild
@@ -0,0 +1,38 @@
+# 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/hypothesis[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/pyarrow[${PYTHON_USEDEP}]
+ dev-python/pytest-env[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ # make hypothesis more forgiving
+ local -x CI=1
+ epytest --runslow
--constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow"
+}