public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-virtualenv] rawhide: CI: Make some test not running for ELN (and RHEL)
Date: Wed, 04 Nov 2026 13:29:25 GMT	[thread overview]
Message-ID: <179379896561.1.3879791498285231244.rpms-python-virtualenv-b44b41077bbf@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-virtualenv
            Branch : rawhide
            Commit : b44b41077bbfc2caf4925f56a8ec8028446db7c5
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-10-23T13:08:06+02:00
            Stats  : +26/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-virtualenv/c/b44b41077bbfc2caf4925f56a8ec8028446db7c5?branch=rawhide

            Log:
            CI: Make some test not running for ELN (and RHEL)

See also https://forge.fedoraproject.org/ci/tickets/issues/550

Very much based on https://src.fedoraproject.org/rpms/python-pip/c/08dc5bf450

Ensure we fetch rpm-build rather than just rpm,
this will pull in the definition of %{python3_version},
so the CI test for default Python version won't fail like this:

    ++ rpm --eval '%{?python3_version}'
    + VERSION=
    + VERSION=3.8
    ...
    RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.8'

3.8 is the default version in
https://src.fedoraproject.org/tests/python/blob/main/f/smoke/venv.sh

[skip changelog]

Co-Authored-By: Lukáš Zachar <lzachar@redhat.com>
Assisted-By: Claude Sonnet 5

---
diff --git a/plan.fmf b/plan.fmf
index 4c21ec6..1ba29fe 100644
--- a/plan.fmf
+++ b/plan.fmf
@@ -4,6 +4,7 @@ execute:
 discover:
   - name: same_repo
     how: shell
+    when: distro != fedora-eln and distro == fedora
     tests:
       - name: smoke_poetry
         test: poetry new smoke && cd smoke && poetry config --local virtualenvs.options.no-pip true && poetry add pello && poetry run pello_greeting
@@ -11,6 +12,23 @@ discover:
     how: shell
     url: https://src.fedoraproject.org/tests/python.git
     tests:
+    - name: smoke_virtualenv
+      path: /smoke
+      test: METHOD=virtualenv ./venv.sh
+    - name: smoke_virtualenv_download
+      path: /smoke
+      test: METHOD=virtualenv-download ./venv.sh
+    - name: smoke_virtualenv_no_download
+      path: /smoke
+      test: METHOD=virtualenv-no-download ./venv.sh
+    - name: smoke_virtualenv_seeder_pip
+      path: /smoke
+      test: METHOD=virtualenv-seeder-pip ./venv.sh
+  - name: tests_python_fedora_only
+    how: shell
+    url: https://src.fedoraproject.org/tests/python.git
+    when: distro != fedora-eln and distro == fedora
+    tests:
     - name: smoke36
       path: /smoke
       test: VERSION=3.6 METHOD=virtualenv ./venv.sh
@@ -77,6 +95,14 @@ prepare:
     package:
     - gcc
     - virtualenv
+    - python3-devel
+    - tox
+    - rpm-build
+    - dnf
+  - name: Install dependencies (Fedora not ELN)
+    how: install
+    when: distro != fedora-eln and distro == fedora
+    package:
     - poetry
     - python3.6-devel
     - python3.9-devel
@@ -86,9 +112,6 @@ prepare:
     - python3.13-devel
     - python3.14-devel
     - python3.15-devel
-    - tox
-    - rpm
-    - dnf
   - name: Update packages
     how: shell
     script: dnf upgrade -y

                 reply	other threads:[~2026-11-04 13:29 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=179379896561.1.3879791498285231244.rpms-python-virtualenv-b44b41077bbf@fedoraproject.org \
    --to=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