public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3-rpm] epel9-next: CI: Test the RPM Python bindings for Python 3.11 to 3.14
@ 2026-11-13 19:46 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-13 19:46 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python3-rpm
            Branch : epel9-next
            Commit : 5ce879b17cb06ffbdb6ea3ef56cfd57d12562140
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-11-13T19:40:16+01:00
            Stats  : +42/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python3-rpm/c/5ce879b17cb06ffbdb6ea3ef56cfd57d12562140?branch=epel9-next

            Log:
            CI: Test the RPM Python bindings for Python 3.11 to 3.14

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

---
diff --git a/.fmf/version b/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/plans/python3.X-rpm.fmf b/plans/python3.X-rpm.fmf
new file mode 100644
index 0000000..4cad8bc
--- /dev/null
+++ b/plans/python3.X-rpm.fmf
@@ -0,0 +1,41 @@
+execute:
+  how: tmt
+
+prepare:
+  - name: Install dependencies
+    how: install
+    package:
+    - dnf
+    - $PYTHON
+    - $PYTHON-rpm
+  - name: Update packages
+    how: shell
+    script: dnf upgrade -y
+
+discover:
+  - name: $PYTHON
+    how: shell
+    tests:
+    - name: labelCompare
+      test: |
+        $PYTHON -c 'import rpm; assert rpm.labelCompare("1:2.3-4", "1:2.3-1") == 1'
+    - name: TransactionSet
+      test: |
+        $PYTHON -c 'import rpm; ts = rpm.TransactionSet(); mi = ts.dbMatch("name", "$PYTHON-rpm"); assert mi.count() == 1'
+
+
+/python3.11:
+  environment:
+    PYTHON: python3.11
+
+/python3.12:
+  environment:
+    PYTHON: python3.12
+
+/python3.13:
+  environment:
+    PYTHON: python3.13
+
+/python3.14:
+  environment:
+    PYTHON: python3.14

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 19:46 [rpms/python3-rpm] epel9-next: CI: Test the RPM Python bindings for Python 3.11 to 3.14 

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