public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/
Date: Wed, 31 Jul 2024 05:52:51 +0000 (UTC)	[thread overview]
Message-ID: <1722405155.54d9785440405f6c06c5bbd77d9d5e6c630f281b.mgorny@gentoo> (raw)

commit:     54d9785440405f6c06c5bbd77d9d5e6c630f281b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 04:19:25 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 05:52:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d97854

dev-python/xarray: Bump to 2024.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/xarray/Manifest               |   1 +
 dev-python/xarray/xarray-2024.7.0.ebuild | 108 +++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest
index cccf816f145f..982b0ec3b8de 100644
--- a/dev-python/xarray/Manifest
+++ b/dev-python/xarray/Manifest
@@ -1 +1,2 @@
 DIST xarray-2024.6.0.tar.gz 3715179 BLAKE2B 42fa46883d27f656dca9b82e1647bd94a62a427582cd52d847131a8e01caf77a597fcc128453fee1f68c38897a9f995dd4c644e9b68b551ee1c28bc0d48e9465 SHA512 b6f24f834d71cca84f6a485858571a17bcb250915d4f84c886c9e16fc240ae3c3e91d573726e8a09f1dbe269abbfae97498868476eef1a90813ddb29c6a6db62
+DIST xarray-2024.7.0.tar.gz 3728663 BLAKE2B c5b14c3d4ea2cec90565a8fb93e49974f52c6f0e55103cd791e746e674d886be85c7df244690513a482b32062e733a670b759b710739303ae79f9a13beea8c01 SHA512 6a094dacdd8f09fb4674c67e03e1df67d0651053088fe39912713842dddb397cf5b5629193df170a4738dc8f75e96ae26582c73fac4679a1439e9d015dfcfcd1

diff --git a/dev-python/xarray/xarray-2024.7.0.ebuild b/dev-python/xarray/xarray-2024.7.0.ebuild
new file mode 100644
index 000000000000..3e4615142e1f
--- /dev/null
+++ b/dev-python/xarray/xarray-2024.7.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="N-D labeled arrays and datasets in Python"
+HOMEPAGE="
+	https://xarray.pydata.org/
+	https://github.com/pydata/xarray/
+	https://pypi.org/project/xarray/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="big-endian"
+
+RDEPEND="
+	>=dev-python/numpy-1.23[${PYTHON_USEDEP}]
+	>=dev-python/pandas-2.0[${PYTHON_USEDEP}]
+	>=dev-python/packaging-23.1[${PYTHON_USEDEP}]
+"
+# note: most of the test dependencies are optional
+BDEPEND="
+	dev-python/setuptools-scm[${PYTHON_USEDEP}]
+	test? (
+		dev-python/bottleneck[${PYTHON_USEDEP}]
+		dev-python/cftime[${PYTHON_USEDEP}]
+		dev-python/hypothesis[${PYTHON_USEDEP}]
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		!riscv? ( dev-python/netcdf4[bzip2,szip,${PYTHON_USEDEP}] )
+		dev-python/toolz[${PYTHON_USEDEP}]
+		!hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] )
+	)
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# TODO: these fail with filter errors even if netcdf4 is built
+		# with blosc/zstd support
+		'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[zstd]'
+		'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz]'
+		'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4]'
+		'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4hc]'
+		'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zlib]'
+		'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zstd]'
+	)
+
+	if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then
+		EPYTEST_DESELECT+=(
+			'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]'
+		)
+
+		if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]" ; then
+			EPYTEST_DESELECT+=(
+				xarray/tests/test_calendar_ops.py::test_interp_calendar
+			)
+		fi
+	fi
+
+	if use big-endian ; then
+		EPYTEST_DESELECT+=(
+			# Appears to be a numpy issue in display? See bug #916460.
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]'
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]'
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]'
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]'
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]'
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]'
+			'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]'
+		)
+	fi
+
+	if [[ ${ABI} != *64* ]]; then
+		EPYTEST_DESELECT+=(
+			# these tests hardcode object sizes for 64-bit arches
+			# https://github.com/pydata/xarray/issues/9127
+			xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex
+			xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex_long
+			xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex
+			xarray/tests/test_formatting.py::test_array_repr_dtypes_unix
+		)
+	fi
+
+	if has_version ">=dev-python/numpy-2[${PYTHON_USEDEP}]"; then
+		EPYTEST_DESELECT+=(
+			xarray/tests/test_dataset.py::TestDataset::test_polyfit_warnings
+			# https://github.com/pandas-dev/pandas/issues/56996
+			xarray/tests/test_backends.py::test_use_cftime_false_standard_calendar_in_range
+			# TODO
+			'xarray/tests/test_dtypes.py::test_maybe_promote[q-expected19]'
+			'xarray/tests/test_dtypes.py::test_maybe_promote[Q-expected20]'
+			'xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype0-create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]'
+			'xarray/tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype1-create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data]'
+		)
+	fi
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest
+}


             reply	other threads:[~2024-07-31  5:52 UTC|newest]

Thread overview: 258+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31  5:52 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23  7:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/ Michał Górny
2024-11-10  0:42 Jakov Smolić
2024-11-09  9:57 Arthur Zamarin
2024-10-25  4:04 Michał Górny
2024-10-19 19:20 Michał Górny
2024-10-19 19:20 Michał Górny
2024-10-19 18:37 Jakov Smolić
2024-10-19 17:55 Michał Górny
2024-10-19 17:53 Michał Górny
2024-10-19 17:33 Michał Górny
2024-09-12  4:43 Michał Górny
2024-07-27  9:28 Arthur Zamarin
2024-07-10 18:52 Michał Górny
2024-07-10 12:50 Michał Górny
2024-07-10 12:45 Michał Górny
2024-06-29 16:58 Michał Górny
2024-06-29  8:25 Sam James
2024-06-29  8:25 Sam James
2024-06-20 15:20 Michał Górny
2024-06-20 15:20 Michał Górny
2024-06-20 10:24 Sam James
2024-06-14 17:02 Michał Górny
2024-06-14 16:36 Michał Górny
2024-06-14  1:53 Michał Górny
2024-06-08  7:20 Arthur Zamarin
2024-06-08  7:15 Sam James
2024-06-07 23:40 Ionen Wolkens
2024-06-07 17:29 Michał Górny
2024-06-04 18:31 Arthur Zamarin
2024-06-01 17:29 Sam James
2024-06-01  7:25 Arthur Zamarin
2024-05-28 12:35 Sam James
2024-05-22  8:03 Michał Górny
2024-05-19  6:02 Michał Górny
2024-05-16 17:28 Arthur Zamarin
2024-05-13 14:03 Michał Górny
2024-05-07 18:31 Arthur Zamarin
2024-05-01 17:33 Michał Górny
2024-05-01 17:33 Michał Górny
2024-04-13 16:08 Michał Górny
2024-03-30  5:53 Michał Górny
2024-03-26 20:17 Ionen Wolkens
2024-03-07 20:22 Jakov Smolić
2024-03-07 17:09 Michał Górny
2024-03-02 13:39 Michał Górny
2024-03-02 12:26 Arthur Zamarin
2024-02-19 15:51 Michał Górny
2024-02-18 11:43 Jakov Smolić
2024-02-18  0:15 Sam James
2024-02-18  0:15 Sam James
2024-02-17 22:26 Sam James
2024-02-03 20:03 Michał Górny
2024-02-03 19:09 Sam James
2024-02-03 19:09 Sam James
2024-02-03 11:14 Sam James
2024-02-03 10:52 Sam James
2024-02-03 10:46 Sam James
2024-01-24  6:33 Michał Górny
2024-01-18  3:43 Michał Górny
2024-01-04 11:29 WANG Xuerui
2023-12-24 17:24 Michał Górny
2023-12-24 17:21 Arthur Zamarin
2023-12-24  1:02 Sam James
2023-12-24  1:02 Sam James
2023-12-24  1:02 Sam James
2023-12-24  1:02 Sam James
2023-12-10 19:18 Michał Górny
2023-12-10 18:29 Arthur Zamarin
2023-12-09 17:02 Michał Górny
2023-12-09 16:39 Arthur Zamarin
2023-12-09 15:47 Michał Górny
2023-12-09 15:30 Michał Górny
2023-12-09 14:22 Michał Górny
2023-12-09 13:52 Michał Górny
2023-12-09  6:53 Michał Górny
2023-12-08 19:39 Arthur Zamarin
2023-11-30 14:44 Michał Górny
2023-11-29 17:14 Michał Górny
2023-11-29 17:13 Sam James
2023-11-29 11:35 Michał Górny
2023-11-29 11:04 Michał Górny
2023-11-29 10:30 Michał Górny
2023-11-25 10:14 Arthur Zamarin
2023-11-23 13:27 Sam James
2023-11-22 12:12 Arthur Zamarin
2023-11-22 11:42 Arthur Zamarin
2023-11-22 11:11 Sam James
2023-11-19 20:07 Arthur Zamarin
2023-11-18 15:47 Michał Górny
2023-10-29  4:46 Michał Górny
2023-10-29  3:40 Sam James
2023-10-29  3:40 Sam James
2023-10-29  3:40 Sam James
2023-10-29  3:34 Sam James
2023-10-27 20:05 Sam James
2023-10-27 19:55 Arthur Zamarin
2023-10-27 19:32 Sam James
2023-10-27 19:32 Sam James
2023-10-24 21:11 Michał Górny
2023-10-20  4:19 Michał Górny
2023-09-26 16:56 Michał Górny
2023-09-25 22:47 Sam James
2023-09-25 18:54 Arthur Zamarin
2023-09-25 18:31 Arthur Zamarin
2023-09-25 18:31 Arthur Zamarin
2023-08-20 17:51 Michał Górny
2023-08-20 17:41 Michał Górny
2023-07-28  9:47 Michał Górny
2023-07-28  9:37 Sam James
2023-07-28  9:37 Sam James
2023-07-28  7:56 Sam James
2023-07-28  7:56 Sam James
2023-07-28  7:56 Sam James
2023-07-18  6:12 Michał Górny
2023-06-27 11:36 Michał Górny
2023-06-27 10:56 Sam James
2023-06-27  7:54 Sam James
2023-06-27  7:54 Sam James
2023-06-27  7:14 Sam James
2023-06-27  6:55 Sam James
2023-06-24  6:10 Michał Górny
2023-06-03 16:27 Michał Górny
2023-05-29 23:50 Sam James
2023-05-27 15:55 Sam James
2023-05-26  7:15 Sam James
2023-05-23 16:26 Arthur Zamarin
2023-05-23 15:58 Arthur Zamarin
2023-05-20  5:34 Michał Górny
2023-04-29  7:09 Michał Górny
2023-04-29  6:58 Arthur Zamarin
2023-04-28 17:33 Arthur Zamarin
2023-04-28 15:55 Arthur Zamarin
2023-04-28 15:55 Arthur Zamarin
2023-04-28 14:59 Arthur Zamarin
2023-04-28 14:49 Arthur Zamarin
2023-04-21 12:13 Michał Górny
2023-04-19  6:34 Michał Górny
2023-04-15 11:13 Michał Górny
2023-04-06 13:25 Michał Górny
2023-03-31 11:49 Arthur Zamarin
2023-03-31 11:49 Arthur Zamarin
2023-03-23 17:14 Michał Górny
2023-03-16 18:13 Michał Górny
2023-02-20 23:28 Sam James
2023-02-20 23:28 Sam James
2023-02-20 19:50 Arthur Zamarin
2023-02-20 19:22 Arthur Zamarin
2023-02-20 18:35 Michał Górny
2023-02-08  6:27 Michał Górny
2023-01-19  6:08 Michał Górny
2023-01-08  5:06 Michał Górny
2023-01-07 22:37 Sam James
2023-01-07 19:44 Sam James
2023-01-07 19:31 Arthur Zamarin
2023-01-07 18:57 Arthur Zamarin
2023-01-07 18:37 Arthur Zamarin
2023-01-07 18:05 Arthur Zamarin
2023-01-07 18:05 Arthur Zamarin
2022-12-10 14:33 Arthur Zamarin
2022-12-10  9:25 Arthur Zamarin
2022-12-10  8:59 Arthur Zamarin
2022-12-10  8:57 Arthur Zamarin
2022-12-03  9:09 Michał Górny
2022-11-14 15:03 Arthur Zamarin
2022-11-14 15:03 Arthur Zamarin
2022-11-11 12:01 Michał Górny
2022-11-07 10:20 Sam James
2022-11-07 10:11 Sam James
2022-11-07  8:03 Sam James
2022-11-06  7:46 Sam James
2022-11-06  7:25 Sam James
2022-11-06  7:25 Sam James
2022-11-05 14:34 Michał Górny
2022-11-04 10:31 Michał Górny
2022-11-04  9:02 Agostino Sarubbo
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 22:04 Sam James
2022-11-03 20:13 Arthur Zamarin
2022-11-03 19:41 Arthur Zamarin
2022-11-03 19:30 Arthur Zamarin
2022-10-14 17:19 Andrew Ammerlaan
2022-10-14  5:08 Michał Górny
2022-10-01  9:26 Arthur Zamarin
2022-09-22  7:43 Agostino Sarubbo
2022-09-22  7:43 Agostino Sarubbo
2022-08-27  8:40 Agostino Sarubbo
2022-08-27  8:27 Agostino Sarubbo
2022-08-26 23:29 Sam James
2022-08-26 18:52 Arthur Zamarin
2022-07-23  6:22 Michał Górny
2022-05-06  8:18 Michał Górny
2022-05-06  8:07 Jakov Smolić
2022-04-19 16:43 Arthur Zamarin
2022-04-19 16:43 Arthur Zamarin
2022-04-19 13:46 Jakov Smolić
2022-04-19 13:46 Jakov Smolić
2022-04-19 12:24 Arthur Zamarin
2022-03-18 11:54 Arthur Zamarin
2022-03-16 10:06 Michał Górny
2022-03-15 18:16 Jakov Smolić
2022-03-15 17:56 Jakov Smolić
2022-02-07 11:36 Sam James
2022-02-01 10:06 Michał Górny
2022-01-29  7:23 Michał Górny
2022-01-11 15:01 Michał Górny
2022-01-11 12:40 Arthur Zamarin
2022-01-11  9:33 Arthur Zamarin
2022-01-11  3:49 Sam James
2022-01-11  3:49 Sam James
2022-01-10 19:54 Arthur Zamarin
2022-01-10 19:47 Arthur Zamarin
2021-12-12 18:47 Sam James
2021-12-12 18:27 Sam James
2021-12-12 18:27 Sam James
2021-12-12  9:45 Jakov Smolić
2021-12-12  9:45 Jakov Smolić
2021-12-10 10:39 Arthur Zamarin
2021-11-20  6:35 Sam James
2021-11-18 11:01 Sam James
2021-11-14 23:51 Sam James
2021-11-06 10:59 Michał Górny
2021-10-24 21:14 Sam James
2021-10-02 23:17 Sam James
2021-09-06 23:42 Sam James
2021-09-06 23:37 Sam James
2021-09-06  0:13 Sam James
2021-08-26  4:41 Agostino Sarubbo
2021-07-24  8:23 Michał Górny
2021-07-03 16:06 Michał Górny
2021-06-24  4:26 Agostino Sarubbo
2021-05-20  7:25 Michał Górny
2021-05-19  7:11 Michał Górny
2021-05-10 18:08 Michał Górny
2021-04-13  7:36 Agostino Sarubbo
2021-04-12 11:42 Michał Górny
2021-02-26  8:30 Michał Górny
2021-01-07  9:22 Michał Górny
2020-12-31  1:17 Sam James
2020-12-14  1:27 Sam James
2020-11-30 22:16 Michał Górny
2020-11-08  0:32 Sam James
2020-10-07 18:44 Joonas Niilola
2020-09-21 17:48 Michał Górny
2020-09-21  7:46 Michał Górny
2020-08-18  5:52 Sam James
2020-08-18  5:28 Sam James
2020-07-25  7:36 Michał Górny
2020-03-25 17:42 Agostino Sarubbo
2020-03-17  8:08 Michał Górny
2020-01-17  7:47 Michał Górny
2020-01-17  7:47 Michał Górny
2019-04-26 16:24 Virgil Dupras
2019-04-26 16:24 Virgil Dupras
2018-07-29 22:34 Patrice Clement
2018-01-06 13:39 Michał Górny
2017-07-12 19:29 Sebastien Fabbro
2016-12-03 13:45 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722405155.54d9785440405f6c06c5bbd77d9d5e6c630f281b.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox