dev-python/zarr - 3.1.6 (science)

Search

Install

Install this version:

emerge -a =dev-python/zarr-3.1.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/zarr-3.1.6

Or alternatively:

emerge --autounmask-write -a =dev-python/zarr-3.1.6

Package Information

Description:
Chunked, compressed, N-dimensional arrays for Python
Homepage:
https://zarr.readthedocs.io/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.1.6 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

DESCRIPTION="Chunked, compressed, N-dimensional arrays for Python"
HOMEPAGE=https://zarr.readthedocs.io/
SRC_URI="https://github.com/zarr-developers/zarr-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

S="${WORKDIR}/zarr-python-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-python/google-crc32c[${PYTHON_USEDEP}]
	dev-python/donfig[${PYTHON_USEDEP}]
	>=dev-python/numcodecs-0.14[${PYTHON_USEDEP}]
	>=dev-python/numpy-1.25[${PYTHON_USEDEP}]
	dev-python/typing-extensions
"
DEPEND="
	test? (
		dev-python/hypothesis[${PYTHON_USEDEP}]
		dev-python/msgpack[${PYTHON_USEDEP}]
		dev-python/numpydoc[${PYTHON_USEDEP}]
		dev-python/tomlkit[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest-asyncio )

EPYTEST_DESELECT=(
	# network access + missing package ebuild
	tests/test_store/test_core.py::test_make_store_path_fsspec
)

EPYTEST_IGNORE=(
	tests/benchmarks
)

distutils_enable_tests pytest
# sphinx ebuilds not compatible with py3.13+
#distutils_enable_sphinx docs dev-python/numpydoc dev-python/sphinx-issues \
#	dev-python/sphinx-autoapi dev-python/sphinx_copybutton dev-python/sphinx-rtd-theme

python_test() {
	# needs pytest-benchmark otherwise (+very slow tests)
	epytest -o addopts=
}

Inherited Eclasses

Dependencies

DEPEND

	test? (
		dev-python/hypothesis[]
		dev-python/msgpack[]
		dev-python/numpydoc[]
		dev-python/tomlkit[]
	)

RDEPEND

	dev-python/google-crc32c[]
	dev-python/donfig[]
	>=dev-python/numcodecs-0.14[]
	>=dev-python/numpy-1.25[]
	dev-python/typing-extensions

Manifest for 3.1.6

Type File Size Source URLs
DIST zarr-3.1.6.gh.tar.gz 573413 bytes https://github.com/zarr-developers/zarr-python/archive/v3.1.6.tar.gz