changeset 8457:f7fadbac5856

take2: merge multiple fix: python < 3.12 returns ParsingError not RuntimeError; print exception
author John Rouillard <rouilj@ieee.org>
date Mon, 22 Sep 2025 14:12:46 -0400
parents 9f7e863fd1cd (diff) 6d6f689d3701 (current diff)
children 15a92b0a9b79
files roundup/configuration.py test/test_config.py
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/anchore.yml	Mon Sep 22 13:57:52 2025 -0400
+++ b/.github/workflows/anchore.yml	Mon Sep 22 14:12:46 2025 -0400
@@ -43,7 +43,7 @@
     - name: List the Docker image
       run: docker image ls
     - name: Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
-      uses: anchore/scan-action@1638637db639e0ade3258b51db49a9a137574c3e # 6.5.1
+      uses: anchore/scan-action@f6601287cdb1efc985d6b765bbf99cb4c0ac29d8 # 7.0.0
       id: scan
       with:
         image: "localbuild/testimage:latest"
--- a/test/test_config.py	Mon Sep 22 13:57:52 2025 -0400
+++ b/test/test_config.py	Mon Sep 22 14:12:46 2025 -0400
@@ -1734,11 +1734,9 @@
 
             expected = (
                 "Error loading logging config from %(filename)s.\n\n"
-
                 "   ParsingError: Source contains parsing errors: "
                 "'%(filename)s'\n"
                 "\t[line  9]: '=foo\\n'\n\n"
-
                 "Raised when a configuration file does not follow legal "
                 "syntax.\n" % {"filename": log_config_filename})
 

Roundup Issue Tracker: http://roundup-tracker.org/