public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-virtualenv] rawhide: CI: Make some test not running for ELN (and RHEL)
@ 2026-11-04 13:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-04 13:29 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-11-04 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 13:29 [rpms/python-virtualenv] rawhide: CI: Make some test not running for ELN (and RHEL) 

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