public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Maxwell G <maxwell@gtmx.me>
To: git-commits@fedoraproject.org
Subject: [rpms/fedrq] epel10: temporarily skip flaky tests on py3.12
Date: Tue, 14 Jul 2026 01:11:26 GMT	[thread overview]
Message-ID: <178399148617.1.8731362135880888997.rpms-fedrq-dc4f0e8484a6@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/fedrq
            Branch : epel10
            Commit : dc4f0e8484a637d1c9715d1cb009f21cc7264c4a
            Author : Maxwell G <maxwell@gtmx.me>
            Date   : 2023-07-05T21:16:14+00:00
            Stats  : +12/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedrq/c/dc4f0e8484a637d1c9715d1cb009f21cc7264c4a?branch=epel10

            Log:
            temporarily skip flaky tests on py3.12

Fixes: https://bugzilla.redhat.com/2219993

---
diff --git a/fedrq.spec b/fedrq.spec
index c555b15..55c7ecc 100644
--- a/fedrq.spec
+++ b/fedrq.spec
@@ -85,8 +85,18 @@ install -Dpm 0644 fedrq.fish %{buildroot}%{fish_completions_dir}/fedrq.fish
 
 %check
 FEDRQ_BACKEND=dnf %pytest -v -m "not no_rpm_mock"
+
 %if %{with libdnf5}
-FEDRQ_BACKEND=libdnf5 %pytest -v -m "not no_rpm_mock"
+# Some tests are failing only in mock and only with Python 3.12
+#   RuntimeError: Failed to download metadata
+%if v"0%{?python3_version}" >= v"3.12"
+%global skips %{shrink:
+    not test_smartcache_not_used
+    and not test_smartcache_config
+    and not test_baseurl_repog
+}
+%endif
+FEDRQ_BACKEND=libdnf5 %pytest -v -m "not no_rpm_mock" %{?skips:-k '%{skips}'}
 %endif
 
 
@@ -104,6 +114,7 @@ FEDRQ_BACKEND=libdnf5 %pytest -v -m "not no_rpm_mock"
 %changelog
 * Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 0.9.0-2
 - Rebuilt for Python 3.12
+- Fixes: rhbz#2219993
 
 * Thu Jun 29 2023 Maxwell G <maxwell@gtmx.me> - 0.9.0-1
 - Update to 0.9.0.

                 reply	other threads:[~2026-07-14  1:11 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=178399148617.1.8731362135880888997.rpms-fedrq-dc4f0e8484a6@fedoraproject.org \
    --to=maxwell@gtmx.me \
    --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