diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-09-13 06:50:17 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-09-13 06:50:17 +0200 |
| commit | 865bf25053b79eccb96e43fd8dc8dccc11a2b7ba (patch) | |
| tree | 4670a993240a6c4a5980a9a9f7e73e9284ef476f /dev-python | |
| parent | 0b340ebe45aa02d3ae7423a6fa3a34de540934d8 (diff) | |
| download | gentoo-865bf25053b79eccb96e43fd8dc8dccc11a2b7ba.tar.gz gentoo-865bf25053b79eccb96e43fd8dc8dccc11a2b7ba.tar.bz2 gentoo-865bf25053b79eccb96e43fd8dc8dccc11a2b7ba.zip | |
dev-python/narwhals: Bump to 2.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/narwhals/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/narwhals/narwhals-2.5.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index 0823b8c8fbd8..09434be6746f 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,2 +1,4 @@ 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 +DIST narwhals-2.5.0.tar.gz 558573 BLAKE2B f09121d35150efdeb328685ac09569c852357c79d1ffd85931a4922090bc84de8ec6c7401d69d1444c84e823e2e65d79f4c3f3f5f8cab147e4e0bb081c446d02 SHA512 b33f22c05935b12aad87809cea8aeafd8f17873725b1a0665a9845f71ab4caf5caa22c6f5612b7a334eebf37efab3f971c6599bd7d93a41c21c4c0f8303447fa +DIST narwhals-2.5.0.tar.gz.provenance 9939 BLAKE2B 3f7b0e304584d3cc18f500f9310e97af5609c598f5e4e74b01d50138b42898983611c89644682f2453eb27830893e98b02406e0a1d93086a5be6f0fc55b0b95a SHA512 f3367e78f6c0897543d208b56a886280d217fc7beff6b647892b970aa38436cb9cd70ebd899a39729040f1fa193d21c7bce36701ce078556f5d7e7381660c5b4 diff --git a/dev-python/narwhals/narwhals-2.5.0.ebuild b/dev-python/narwhals/narwhals-2.5.0.ebuild new file mode 100644 index 000000000000..cf9a618b06d8 --- /dev/null +++ b/dev-python/narwhals/narwhals-2.5.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" +} |
