public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-universal-pathlib] f44: Unretirement request: https://pagure.io/releng/fedora-scm-requests/issue/83460
@ 2026-06-01 19:51 releng-bot
  0 siblings, 0 replies; only message in thread
From: releng-bot @ 2026-06-01 19:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-universal-pathlib
Branch : f44
Commit : 6283af6440e3d5a70c8f63de15d2692e8c6c6523
Author : releng-bot <releng-bot@fedoraproject.org>
Date   : 2026-05-01T13:03:53+00:00
Stats  : +100/-1 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/python-universal-pathlib/c/6283af6440e3d5a70c8f63de15d2692e8c6c6523?branch=f44

Log:
Unretirement request: https://pagure.io/releng/fedora-scm-requests/issue/83460

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..52f9d5a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/universal_pathlib-0.2.5.tar.gz

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a427a2f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# python-universal-pathlib
+
+The python-universal-pathlib package

diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks

diff --git a/python-universal-pathlib.spec b/python-universal-pathlib.spec
new file mode 100644
index 0000000..507bd05
--- /dev/null
+++ b/python-universal-pathlib.spec
@@ -0,0 +1,95 @@
+%global forgeurl https://github.com/fsspec/universal_pathlib
+
+%global _description %{expand:
+Universal Pathlib is a Python library that extends the pathlib.Path API to
+support a variety of backend filesystems via filesystem_spec.}
+
+Name:           python-universal-pathlib
+Version:        0.2.5
+Release:        %{autorelease}
+Summary:        Pathlib api extended to use fsspec backends
+
+# The entire source is MIT, except that upath/_compat.py contains code from
+# CPython (see https://github.com/python/cpython/blob/v3.12.2/Lib/pathlib.py),
+# which is Python-2.0.1.
+License:        MIT AND Python-2.0.1
+URL:            %forgeurl
+
+%forgemeta
+Source:         %forgesource
+BuildArch:      noarch
+
+%description %_description
+
+%package -n python3-universal-pathlib
+Summary:        %{summary}
+
+BuildRequires:  python3-devel
+BuildRequires:  %{py3_dist pytest}
+
+# Parts of upath/_compat.py are copied from CPython 3.12. Since the relevant
+# work began on 2024-02-20 in
+# https://github.com/fsspec/universal_pathlib/pull/200 and was merged in
+# https://github.com/fsspec/universal_pathlib/pull/200 on 2024-03-03, we
+# ascribe the code to the latest 3.12 release at the time.
+Provides:       bundled(python3-libs) = 3.12.2
+
+
+%description -n python3-universal-pathlib %_description
+
+%package doc
+Summary:        Documentation for %{name}
+
+%description doc
+This package provides documentation for %{name}.
+
+%prep
+%forgeautosetup
+
+# remove linters etc. from deps
+echo "Removing linters etc. from build deps"
+sed -i \
+    -e '/"pytest-cov.*"/d' \
+    -e '/"pylint.*"/d' \
+    -e '/"mypy.*"/d' \
+    -e '/"pytest-mypy-plugins.*"/d' \
+    -e '/"pytest-sugar.*"/d' \
+    pyproject.toml
+
+deps_to_remove=("s3fs" "adlfs" "moto\[s3,server\]")
+echo "Removing deps that are unavailable in Fedora: ${deps_to_remove[*]}"
+(IFS="|" ; sed -Ei "/(${deps_to_remove[*]})/d" pyproject.toml)
+
+%generate_buildrequires
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_buildrequires -x dev -x tests
+
+
+%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_wheel
+
+%install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_install
+%pyproject_save_files -l upath
+
+%check
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+web_tests_to_ignore="${web_tests_to_ignore-} --ignore=upath/tests/implementations/test_http.py"
+web_tests_to_ignore="${web_tests_to_ignore-} --ignore=upath/tests/implementations/test_github.py"
+%pytest ${web_tests_to_ignore-}
+# check imports instead
+%pyproject_check_import
+
+# LICENSE/COPYING are included in the dist-info, so we do not need to
+# explicitly list them again
+%files -n python3-universal-pathlib -f %{pyproject_files}
+%doc README.md CHANGELOG.md
+
+%files doc
+%doc notebooks
+%license LICENSE
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..c289dbd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (universal_pathlib-0.2.5.tar.gz) = 891351cf05c94442310c2dba8d7207eb446df1e390064410e94378e527270db995c6efc85646b7011b43065c96a7b2f65466900c0eb2c72caec6fecdc9139162

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-01 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 19:51 [rpms/python-universal-pathlib] f44: Unretirement request: https://pagure.io/releng/fedora-scm-requests/issue/83460 releng-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox