## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-universal-pathlib Version: 0.3.10 Release: %autorelease Summary: Python pathlib API extended to use fsspec backends License: MIT URL: https://github.com/fsspec/universal_pathlib Source: %{pypi_source universal_pathlib} # smbclient is unavailable and tests can't work as they use docker. # gcsfs/s3fs are unavailable so skip a test that requires them. Patch: 0001-Make-some-dependencies-more-optional-in-tests.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(fsspec[github]) BuildRequires: python3dist(fsspec[http]) BuildRequires: python3dist(fsspec[ssh]) %global _description %{expand: Universal Pathlib is a Python library that extends the pathlib_abc.JoinablePath API to provide a pathlib.Path-like interface for a variety of backend filesystems via filesystem_spec.} %description %_description %package -n python3-universal-pathlib Summary: %{summary} %description -n python3-universal-pathlib %_description %prep %autosetup -p1 -n universal_pathlib-%{version} # Don't need mypy/lint dependencies. %pyproject_patch_dependency mypy:ignore %pyproject_patch_dependency pylint:ignore %pyproject_patch_dependency pytest-cov:ignore %pyproject_patch_dependency pytest-mypy-plugins:ignore %pyproject_patch_dependency pytest-sugar:ignore %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l upath %check %pytest -ra -m 'not network' %files -n python3-universal-pathlib -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog ## START: Generated by rpmautospec * Sun May 03 2026 Elliott Sales de Andrade - 0.3.10-1 - Update to latest version * Fri May 01 2026 releng-bot - 0.2.5-6 - Unretirement request: https://pagure.io/releng/fedora-scm- requests/issue/83460 * Fri Aug 15 2025 Python Maint - 0.2.5-5 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.2.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jul 06 2025 Benjamin A. Beasley - 0.2.5-3 - Rebuilt for Python 3.14 (close RHBZ#2372186) * Sat Jan 18 2025 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Sep 18 2024 Ankur Sinha (Ankur Sinha Gmail) - 0.2.5-1 - import rhbz#2301577 ## END: Generated by rpmautospec