diff --git a/meta-python/recipes-devtools/python/python3-fsspec_2026.7.0.bb b/meta-python/recipes-devtools/python/python3-fsspec_2026.7.0.bb deleted file mode 100644 index d34b67c428..0000000000 --- a/meta-python/recipes-devtools/python/python3-fsspec_2026.7.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "A specification that python filesystems should adhere to." -HOMEPAGE = "https://github.com/fsspec/filesystem_spec" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" - -SRC_URI[sha256sum] = "c803c40f4cf860b49dea58ee3e1c33cb9c790520e233537e1340049f89b82a88" - -inherit pypi python_hatchling ptest - - -DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" - -RDEPENDS:${PN}-ptest += "\ - python3-pytest \ - python3-pytest-mock \ - python3-pytest-asyncio \ - python3-pytest-cov \ - python3-pytest-benchmark \ - python3-aiohttp \ - python3-numpy \ - python3-requests \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-fsspec_2026.9.0.bb b/meta-python/recipes-devtools/python/python3-fsspec_2026.9.0.bb new file mode 100644 index 0000000000..43d405f017 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fsspec_2026.9.0.bb @@ -0,0 +1,37 @@ +SUMMARY = "A specification that python filesystems should adhere to." +HOMEPAGE = "https://github.com/fsspec/filesystem_spec" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" + +SRC_URI = "git://github.com/fsspec/filesystem_spec;protocol=https;branch=master;tag=${PV}" +SRCREV = "0f76baaae4a227b085b18e8469e6cc1792a95ade" + +inherit python_hatchling ptest-python-pytest + +DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" + +RDEPENDS:${PN}-ptest += "\ + python3-pytest \ + python3-pytest-mock \ + python3-pytest-asyncio \ + python3-pytest-cov \ + python3-pytest-benchmark \ + python3-aiohttp \ + python3-numpy \ + python3-requests \ + python3-pandas \ + python3-paramiko \ +" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/tests ${D}${PTEST_PATH}/implementations + cp -rf ${S}/fsspec/tests/* ${D}${PTEST_PATH}/tests/ + cp -rf ${S}/fsspec/implementations/tests ${D}${PTEST_PATH}/implementations/ + touch ${D}${PTEST_PATH}/implementations/__init__.py + # Tests import helpers via fsspec.tests / fsspec.implementations.tests, + # which aren't in the installed package + grep -rlE 'fsspec\.(implementations\.)?tests' ${D}${PTEST_PATH} \ + | xargs -r sed -i -E 's/fsspec\.(implementations\.)?tests\b/\1tests/g' +} + +BBCLASSEXTEND = "native nativesdk"