public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-watchfiles] epel10: Use WATCHFILES_TEST_PERMISSION_DENIED_PATH to fix FTBFS in COPR
Date: Wed, 12 Aug 2026 16:47:28 GMT	[thread overview]
Message-ID: <178655324869.1.8342978932496577708.rpms-python-watchfiles-9c23a1789441@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-12 16:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178655324869.1.8342978932496577708.rpms-python-watchfiles-9c23a1789441@fedoraproject.org \
    --to=lbalhar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox