Repository: zhmcclient/zhmc-prometheus-exporter (language: python)

Issue:
Accomodated rollout of Ubuntu 24.04 on GitHub Actions
No review needed.


Discussion / hints:

Fix patch:
diff --git a/changes/noissue.2.cleanup.rst b/changes/noissue.2.cleanup.rst
new file mode 100644
index 0000000..0a987a5
--- /dev/null
+++ b/changes/noissue.2.cleanup.rst
@@ -0,0 +1,2 @@
+Accommodated rollout of Ubuntu 24.04 on GitHub Actions by using ubuntu-22.04
+as the OS image for Python 3.8 based test runs.


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8086865..cd27efb 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -38,7 +38,31 @@ jobs:
           echo "matrix={ \
             \"os\": [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ], \
             \"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\" ], \
-            \"package_level\": [ \"minimum\", \"latest\" ] \
+            \"package_level\": [ \"minimum\", \"latest\" ], \
+            \"exclude\": [ \
+              { \
+                \"os\": \"ubuntu-latest\", \
+                \"python-version\": \"3.8\", \
+                \"package_level\": \"minimum\" \
+              }, \
+              { \
+                \"os\": \"ubuntu-latest\", \
+                \"python-version\": \"3.8\", \
+                \"package_level\": \"latest\" \
+              } \
+            ], \
+            \"include\": [ \
+              { \
+                \"os\": \"ubuntu-22.04\", \
+                \"python-version\": \"3.8\", \
+                \"package_level\": \"minimum\" \
+              }, \
+              { \
+                \"os\": \"ubuntu-22.04\", \
+                \"python-version\": \"3.8\", \
+                \"package_level\": \"latest\" \
+              } \
+            ] \
           }" >> $GITHUB_OUTPUT; \
         else \
           echo "matrix={ \
@@ -47,12 +71,12 @@ jobs:
             \"package_level\": [ \"minimum\", \"latest\" ], \
             \"include\": [ \
               { \
-                \"os\": \"ubuntu-latest\", \
+                \"os\": \"ubuntu-22.04\", \
                 \"python-version\": \"3.8\", \
                 \"package_level\": \"minimum\" \
               }, \
               { \
-                \"os\": \"ubuntu-latest\", \
+                \"os\": \"ubuntu-22.04\", \
                 \"python-version\": \"3.8\", \
                 \"package_level\": \"latest\" \
               }, \