public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-watchfiles] epel10: Use WATCHFILES_TEST_PERMISSION_DENIED_PATH to fix FTBFS in COPR
@ 2026-08-12 16:47 Lumir Balhar
  0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-08-12 16:47 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-watchfiles
Branch : epel10
Commit : 9c23a1789441eb64b5cd0306a91b0f99e8064807
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-08-11T08:38:10+01:00
Stats  : +6/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-watchfiles/c/9c23a1789441eb64b5cd0306a91b0f99e8064807?branch=epel10

Log:
Use WATCHFILES_TEST_PERMISSION_DENIED_PATH to fix FTBFS in COPR

---
diff --git a/python-watchfiles.spec b/python-watchfiles.spec
index b4fd1be..7c2c90a 100644
--- a/python-watchfiles.spec
+++ b/python-watchfiles.spec
@@ -91,6 +91,12 @@ sed -e '/LICENSE/ s/^/%%license /' -i %{pyproject_files}
 
 
 %check
+# test_rust_notify::test_ignore_permission_denied watches '/' recursively by
+# default, which triggers an inotify walk of /proc and /sys and hangs on COPR.
+# Point it at /root (drwx------ root root) so
+# inotify_add_watch fails immediately with EACCES instead.
+export WATCHFILES_TEST_PERMISSION_DENIED_PATH=/root
+
 # We must set the import mode during tests to avoid the watchfiles directory
 # (which will not have the compiled module) taking precedence for the import.
 # https://docs.pytest.org/en/7.4.x/explanation/pythonpath.html

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

only message in thread, other threads:[~2026-08-12 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 16:47 [rpms/python-watchfiles] epel10: Use WATCHFILES_TEST_PERMISSION_DENIED_PATH to fix FTBFS in COPR Lumir Balhar

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