From 9525761df067d9ef08c7d71dcc8f3ca6898a1472 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 28 Mar 2026 19:16:22 +0000 Subject: Adding metadata --- dev-python/fsspec/Manifest | 1 + dev-python/fsspec/fsspec-2026.3.0.ebuild | 67 ++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-python/fsspec/fsspec-2026.3.0.ebuild (limited to 'dev-python/fsspec') diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 61e687f8593b..d0154c7a5099 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,3 +1,4 @@ DIST filesystem_spec-2025.12.0.gh.tar.gz 449477 BLAKE2B eb884da751cb0671da3159ee21ce4810523c3fe032ffe396e79ea3460e03b1c1834e2741c414537ebd50c16050e184bff2fa832b2e135cfc528f0d8ad3dfe274 SHA512 ae4fe4c1d8ddf7528418f34d874d4e051c044e37bc9da18953a072e9ccdcf9eab521ecff94fd30b68164bd015143503262799e951576e41b31bfe14fe1d0a968 DIST filesystem_spec-2026.1.0.gh.tar.gz 450300 BLAKE2B 9f8d816b41595920966a7044063415bc4f4b5e7efc20bd238f55e6b5d93b2a4bf3b9aabec444a0fab9ab4a8f973a565e11cbbd2ab32716c75cfc43c89f34b84c SHA512 cb122de9eab46210d7c064e6e890aa278408c0bf5f0895714908c4f28e3e7fa7f5ba1a15930a8558b85e80ea250427fb4db2e2267a56f8422f13e8fc557f4968 DIST filesystem_spec-2026.2.0.gh.tar.gz 451801 BLAKE2B ad2fc26545c3f8984a356c489f4c44bd7b96ae09ee38726c38ac7adebe3168a875eff5eea2b3fc3e2fa87d3b609d88bc31aed887969d7154fa1cc22d0861e9bb SHA512 baf7537fccdd6f1486f92e94ffcf5a5c6d081a687998493bc3cc7a2d7261ec86f9d6b6289d7d6ab574a8108a68c80276d35d851e6c3cfc395b90908c6b462ccf +DIST filesystem_spec-2026.3.0.gh.tar.gz 452108 BLAKE2B cf4f4ef45908453934a1b63e1114d012f7c33bd4400b4c1193215e616243340dce642508c11e4b4f38f3e3db3b3ce6a5ad339669cf2e1a6ce8725ada7d9122b2 SHA512 861a9b1f88b80e41a3aa1e6d199a6c1a33db481fd9da17659c6a8e56857043103c6215a52550a403207ee296355e58acad8334ea6fe0af52a0a8cab8ac06dc7e diff --git a/dev-python/fsspec/fsspec-2026.3.0.ebuild b/dev-python/fsspec/fsspec-2026.3.0.ebuild new file mode 100644 index 000000000000..ca3863e5a90b --- /dev/null +++ b/dev-python/fsspec/fsspec-2026.3.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +# upstream removed tests in 2024.6.0 +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +EPYTEST_PLUGINS=( pytest-{asyncio,mock,rerunfailures} ) +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + + # block importing pyarrow, it's causing Python to crash with + # the immutability assertion. + cat > pyarrow.py <<-EOF || die + raise ImportError("thou shalt not import pyarrow") + EOF + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges + fsspec/implementations/tests/test_github.py + fsspec/implementations/tests/test_gist.py + ) + + epytest -o tmp_path_retention_policy=all +} -- cgit v1.3