diff options
author | 2022-09-22 09:44:32 +0200 | |
---|---|---|
committer | 2022-09-22 09:45:24 +0200 | |
commit | 068011336887538ab57b92e7ff30acf50ab43b37 (patch) | |
tree | 004dd65db389775a57f08fd90efec94a9fdf1889 | |
parent | dev-python/prompt_toolkit: Keyword 3.0.31 mips, #831222 (diff) | |
download | gentoo-068011336887538ab57b92e7ff30acf50ab43b37.tar.gz gentoo-068011336887538ab57b92e7ff30acf50ab43b37.tar.bz2 gentoo-068011336887538ab57b92e7ff30acf50ab43b37.zip |
dev-python/xarray: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/xarray/Manifest | 1 | ||||
-rw-r--r-- | dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch | 73 | ||||
-rw-r--r-- | dev-python/xarray/xarray-2022.3.0.ebuild | 42 |
3 files changed, 0 insertions, 116 deletions
diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 83ffaa877fbd..1e93d52b801d 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,2 +1 @@ -DIST xarray-2022.3.0.tar.gz 2943007 BLAKE2B 4c323573835c00275b9c293157c78e42d14f2736c07dc06c61643052992b9c75d624cdf9a93487094fbffd9577662388807b661d388032add3b2e2ca3a63b812 SHA512 c088b985a852c57dcef14d8a5107987c0c33f17bde1d9d639d30ac826d906639ce0ee4fe8345c65a5479b944057af045fe50c2d2ea932356aceb0718f55cd24a DIST xarray-2022.6.0.tar.gz 3013166 BLAKE2B 4f2c17595ec904508e5f9c1d6ffead45be527b7f2ab73383126d57c7894712e924b605a86f890b0fec4ff45d1a263ce27fa324febf83f703ad36079e68f69663 SHA512 415bd84246d6d2b8aebf316ac9ef82ca7afeacce718349b75479c0aa693e2866dfe236e6dcaf41cae68afd7a99408f5027c938e6b7f447f5323e076b804f5165 diff --git a/dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch b/dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch deleted file mode 100644 index 1f356e95b561..000000000000 --- a/dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch +++ /dev/null @@ -1,73 +0,0 @@ -These tests are x86{_64}-centric because they rely on a specific result of -casting a float64 NaN to int64, which is undefined in the C standard. -See https://github.com/numpy/numpy/issues/8325 for details. - ---- a/xarray/tests/__init__.py -+++ b/xarray/tests/__init__.py -@@ -40,6 +40,12 @@ - ) - - -+riscv_xfail = pytest.mark.xfail( -+ "riscv" in platform.machine(), -+ reason="expected failure on RISC-V", -+) -+ -+ - def _importorskip(modname, minversion=None): - try: - mod = importlib.import_module(modname) ---- a/xarray/tests/test_backends.py -+++ b/xarray/tests/test_backends.py -@@ -71,6 +71,7 @@ - requires_scipy, - requires_scipy_or_netCDF4, - requires_zarr, -+ riscv_xfail, - ) - from .test_coding_times import ( - _ALL_CALENDARS, -@@ -492,6 +493,7 @@ - assert actual["x"].encoding["_Encoding"] == "ascii" - - @arm_xfail -+ @riscv_xfail - def test_roundtrip_numpy_datetime_data(self): - times = pd.to_datetime(["2000-01-01", "2000-01-02", "NaT"]) - expected = Dataset({"t": ("t", times), "t0": times[0]}) ---- a/xarray/tests/test_coding_times.py -+++ b/xarray/tests/test_coding_times.py -@@ -36,6 +36,7 @@ - requires_cftime, - requires_cftime_1_4_1, - requires_dask, -+ riscv_xfail, - ) - - _NON_STANDARD_CALENDARS_SET = { -@@ -466,6 +467,7 @@ - - - @arm_xfail -+@riscv_xfail - @requires_cftime - @pytest.mark.parametrize( - ["num_dates", "units", "expected_list"], ---- a/xarray/tests/test_duck_array_ops.py -+++ b/xarray/tests/test_duck_array_ops.py -@@ -38,6 +38,7 @@ - requires_bottleneck, - requires_cftime, - requires_dask, -+ riscv_xfail, - ) - - -@@ -280,6 +281,7 @@ - - - @arm_xfail -+@riscv_xfail - @pytest.mark.filterwarnings("ignore::RuntimeWarning") - @pytest.mark.parametrize("dask", [False, True] if has_dask else [False]) - def test_datetime_mean(dask): diff --git a/dev-python/xarray/xarray-2022.3.0.ebuild b/dev-python/xarray/xarray-2022.3.0.ebuild deleted file mode 100644 index 6394aa2d7491..000000000000 --- a/dev-python/xarray/xarray-2022.3.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="N-D labeled arrays and datasets in Python" -HOMEPAGE="https://xarray.pydata.org/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/numpy-1.18[${PYTHON_USEDEP}] - >=dev-python/pandas-1.1[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}]" -# note: most of test dependencies are optional -BDEPEND=" - test? ( - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/toolz[${PYTHON_USEDEP}] - !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) - )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.19.0-riscv_tests_datetime.patch -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # warning-targeted tests are fragile and not important to end users - xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get -) |