dev-python/narwhals: Bump to 2.4.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-09 04:58:17 +02:00
parent 27b4ef737d
commit ead8672bd9
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,3 @@
DIST narwhals-2.3.0.tar.gz 552774 BLAKE2B 31577fff0dd9351bc74eeccd829e5c69ab0f2b0ad7da671019a48724add5f299c87b5afab90db63af8f053a385d4ff30f285f8315d867b77b7e922b6476323b1 SHA512 aa6a299511f3afa7a1c206df68b852aea877cef6603226e0899aac04bb2f7e1a3a4dfcd51ddfc619e6589648a37d61068a1eb54b09f92abc0da50feb6f5948b6
DIST narwhals-2.4.0.tar.gz 556886 BLAKE2B 7dbcfe11b90d0462022bc9512eb58dfea185ffd33ee625f3f9a9058ebf599d51c291459b856c8011e60ca205bea0adb46b88373ea5691e1cc52e3f99a8b26222 SHA512 dc462f95ba05c60109a1d2897053eac80bb6082e8ec4e24e25c0d509e1f29a024951c6c8967ea2db89ac728ecc261d71fba7068e375b3939615289ed53482fe9
DIST narwhals-2.4.0.tar.gz.provenance 9563 BLAKE2B 581aa7997ff6b37df4c30bae2d393ff34ac4b76c7a78b66b0cd988a6f2e93f338f07bae13d3c449db86fbabe5964fa70e23df69c63fce59e44afe2308bcc6f88 SHA512 9df638ef9f15db137e73727e78553f76d46c84aef2442c242ad1b2b75c45d73e341a0e55aa7f00168a274db35651fc47a1949b8e645479c5b75cdec0467e748a

View File

@@ -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"
}