mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/fsspec: Bump to 2026.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
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
|
||||
DIST filesystem_spec-2026.4.0.gh.tar.gz 455367 BLAKE2B b47f54816eb19caf256e1291be7395493db82fa10c90f81a3b06ed49a8bf90aff23350f904ae0aae4fa4b54b7c6d4d6a08279c3307036822bd7dc35888fa3440 SHA512 289669397c965af7e9242b9cc181bba5bbac8ead95e4288135ce2cd209e37a15c0361652f221f2e0c68161041b24848113ad104582bc27188357da5ca3e29701
|
||||
|
||||
67
dev-python/fsspec/fsspec-2026.4.0.ebuild
Normal file
67
dev-python/fsspec/fsspec-2026.4.0.ebuild
Normal file
@@ -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_{11..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
|
||||
}
|
||||
Reference in New Issue
Block a user