public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-portalocker] rawhide: Update to v3.2.0
@ 2026-05-29 14:28 Jeremy Cline
  0 siblings, 0 replies; only message in thread
From: Jeremy Cline @ 2026-05-29 14:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-portalocker
Branch : rawhide
Commit : 358ea6265fe419a8b01eb8de27a51be2060b87ce
Author : Jeremy Cline <jeremycline@microsoft.com>
Date   : 2026-05-29T10:27:50-04:00
Stats  : +16/-8 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-portalocker/c/358ea6265fe419a8b01eb8de27a51be2060b87ce?branch=rawhide

Log:
Update to v3.2.0

---
diff --git a/.gitignore b/.gitignore
index 5f2f52a..8040f85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /portalocker-2.10.0.tar.gz
 /portalocker-2.10.1.tar.gz
 /portalocker-3.1.1.tar.gz
+/portalocker-3.2.0.tar.gz

diff --git a/python-portalocker.spec b/python-portalocker.spec
index 225d4b3..722ce69 100644
--- a/python-portalocker.spec
+++ b/python-portalocker.spec
@@ -11,7 +11,7 @@
 
 %global         srcname     portalocker
 %global         forgeurl    https://github.com/WoLpH/portalocker
-Version:        3.1.1
+Version:        3.2.0
 %global         tag         v%{version}
 %forgemeta
 
@@ -30,6 +30,8 @@ BuildRequires:  python3-devel
 %if %{with tests}
 BuildRequires:  python3dist(pygments)
 BuildRequires:  python3dist(pytest)
+BuildRequires:  python3dist(pytest-cov)
+BuildRequires:  python3dist(flaky)
 %if 0%{?test_with_redis}
 BuildRequires:  python3dist(redis)
 %endif
@@ -48,10 +50,12 @@ Summary:        %{summary}
 
 %prep
 %forgeautosetup
-
-# NOTE(mhayden): Upstream has a custom pytest.ini that requires 100% test
-# coverage, but upstream does not have 100% test coverage yet.
-mv pytest.ini pytest.ini_disabled
+# Upstream uses some coverage plugins we don't have, and also set it to fail
+# under 100 coverage, but they don't have anywhere near that coverage so turn
+# a lot of that nonsense off. Upstream CI seems to eternally fail so...
+sed -i 's/^plugins =.*coverage_conditional_plugin.*$/plugins = []/' pyproject.toml
+sed -i 's/^timeout =.*$//' pyproject.toml
+sed -i 's/^fail_under = 100$//' pyproject.toml
 
 
 %generate_buildrequires
@@ -64,7 +68,7 @@ mv pytest.ini pytest.ini_disabled
 
 %install
 %pyproject_install
-%pyproject_save_files portalocker
+%pyproject_save_files -l portalocker
 
 
 %check
@@ -75,7 +79,10 @@ mv pytest.ini pytest.ini_disabled
 %endif
 
 %if %{with tests}
-%pytest %{?test_with_redis:--ignore=portalocker_tests/test_redis.py} portalocker_tests
+# These two tests are failing and upstream CI has no recent successes.
+%pytest %{?test_with_redis:--ignore=portalocker_tests/test_redis.py} \
+  --deselect=portalocker_tests/test_multiprocess.py::test_shared_processes[True] \
+  --deselect=portalocker_tests/test_multiprocess.py::test_shared_processes[False]
 %endif
 
 %files -n python3-%{srcname} -f %{pyproject_files}

diff --git a/sources b/sources
index 3191a2a..5a2116b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (portalocker-3.1.1.tar.gz) = 80163a12d8eab1a0e2bc2eb5fd8f4c64f0abb49cbb99faa48d8e7ae4f61996c5c934e661a7a26996000962b68c45d5ab72c41abf03d7e7593dcaa98e69d0478f
+SHA512 (portalocker-3.2.0.tar.gz) = 0777572f34504b8dac8bc009ea32891f88db7c1c82199f444c4caf36a8f71cf1e7626cb0e3a3ce11346b3488c67e60a394ddd9cd28771937962fa35a33767b2d

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

only message in thread, other threads:[~2026-05-29 14:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-29 14:28 [rpms/python-portalocker] rawhide: Update to v3.2.0 Jeremy Cline

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