From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1438479-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1BFD8158095 for <garchives@archives.gentoo.org>; Thu, 22 Sep 2022 07:45:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB2FCE0D01; Thu, 22 Sep 2022 07:45:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE824E0D01 for <gentoo-commits@lists.gentoo.org>; Thu, 22 Sep 2022 07:45:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 616AE340CE7 for <gentoo-commits@lists.gentoo.org>; Thu, 22 Sep 2022 07:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 261EB5F1 for <gentoo-commits@lists.gentoo.org>; Thu, 22 Sep 2022 07:45:28 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1663832724.068011336887538ab57b92e7ff30acf50ab43b37.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/files/, dev-python/xarray/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xarray/Manifest dev-python/xarray/files/xarray-0.19.0-riscv_tests_datetime.patch dev-python/xarray/xarray-2022.3.0.ebuild X-VCS-Directories: dev-python/xarray/files/ dev-python/xarray/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 068011336887538ab57b92e7ff30acf50ab43b37 X-VCS-Branch: master Date: Thu, 22 Sep 2022 07:45:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 821674a6-0ee2-44b2-99cf-a2a0cf2bf43c X-Archives-Hash: 4e6b129e1914d8be7dd870ee275bae16 commit: 068011336887538ab57b92e7ff30acf50ab43b37 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 22 07:44:32 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Sep 22 07:45:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06801133 dev-python/xarray: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/xarray/Manifest | 1 - .../files/xarray-0.19.0-riscv_tests_datetime.patch | 73 ---------------------- dev-python/xarray/xarray-2022.3.0.ebuild | 42 ------------- 3 files changed, 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 -)