dev-python/narwhals: Bump to 2.12.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-17 15:21:37 +01:00
parent 294d70cf12
commit fdae3572a0
2 changed files with 46 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST narwhals-2.10.2.tar.gz 584954 BLAKE2B 9f8b96e44d3ceb4fa27d4bc36f4d0507f9f93
DIST narwhals-2.10.2.tar.gz.provenance 9485 BLAKE2B 9cc829eb823c8a27681c6d7a47bb894b99c3aaa6532c923fa4e6cd708fa019d2d61fec6889c19303d4e847485d188c051c20f4db14e53a86796bb917481f51aa SHA512 66b9c91aaf6e8a507c0e35bb076c7b4ba4d35c27773b9432557ade4650aa1d8cda4c621139138d8342d153d390ff87879cedd34f46c801c213f0b785af18fe9c
DIST narwhals-2.11.0.tar.gz 589233 BLAKE2B 98b0c8bf2895092538edb3a570135bfcbe8932e790411357f46d5d5bec7629d041fd987b4ab30550dc6df56297653b02c51cfcefce08d323fab8e203ce427fed SHA512 0ac1844d409d898526da380e4c99353903f2017de3534e6f9d94e257c4bd369df29db0c4f79f7207c3c46577504d41ff5db73fa756d7241cfde2409b01a08d53
DIST narwhals-2.11.0.tar.gz.provenance 9661 BLAKE2B ad5083eccef69217ca1410c2daf595f7437088c91749b644a4ea85763405a597a111c23dffe3b38db4c1b3051219fa72ba86c56b135b9a0f0b1ce266eb504fd2 SHA512 9ed4b208b811cdf2cbecf0dbf32a28ddd06227c8ed5856b5759b503ea0b12974c63c3118c52de55481b9d0aad74398ad9991a6fb1b9d4c10a769e80d8bdc471d
DIST narwhals-2.12.0.tar.gz 590404 BLAKE2B 2cee8cff2f8729940aac78950692117348a960c781a9e1adec3e8f1cb0afc98aa19d46a73cd5792a7aa4d607410d69433fa0760e7cdd6cd76229118497bb9156 SHA512 692ee2de2bf0cd589772b01c419fa6a50f815df3311109bfbbcc042b396082362cf439abd7da68b476e869594367d4c85a77bc64e7402219fed44e257c6a3fdd
DIST narwhals-2.12.0.tar.gz.provenance 9771 BLAKE2B 204ffab4f63293e8229f23eb353778b853b582c8f083ea315c9921796b0c357b2ab1b909f3dd4057ae052960fedcfcaa07a1e188b0a098591e348973fb833b0f SHA512 3b59c95a3b720499804ac6752585dda24591f4b0103164013c700e12bb1bef8db67620b9d888d2153ed8d578120f11ea80ed20a0feff9e6632bad0821b132143

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..14} )
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"
}