diff --git a/sbom-utility-scripts/Dockerfile b/sbom-utility-scripts/Dockerfile index e9e727a..2b47c6e 100644 --- a/sbom-utility-scripts/Dockerfile +++ b/sbom-utility-scripts/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-39:1-197.1725907694@sha256:278ae38e8f28ccba3cb7cd542f684d739a84f771e418fc8018d07a522205b05c +FROM registry.access.redhat.com/ubi9/python-312:9.5@sha256:88ea2d10c741f169681102b46b16c66d20c94c3cc561edbb6444b0de3a1c81b3 WORKDIR /scripts diff --git a/sbom-utility-scripts/scripts/add-image-reference-script/tox.ini b/sbom-utility-scripts/scripts/add-image-reference-script/tox.ini index a0ff21a..0d6449e 100644 --- a/sbom-utility-scripts/scripts/add-image-reference-script/tox.ini +++ b/sbom-utility-scripts/scripts/add-image-reference-script/tox.ini @@ -2,6 +2,7 @@ env_list = flake8,black,test [testenv:test] +basepython = 3.12 deps = -r requirements-test.txt -r requirements.txt commands = pytest ./ \ diff --git a/sbom-utility-scripts/scripts/base-images-sbom-script/app/tox.ini b/sbom-utility-scripts/scripts/base-images-sbom-script/app/tox.ini index d4df57f..d1cc7ae 100644 --- a/sbom-utility-scripts/scripts/base-images-sbom-script/app/tox.ini +++ b/sbom-utility-scripts/scripts/base-images-sbom-script/app/tox.ini @@ -2,6 +2,7 @@ env_list = flake8,black,test [testenv:test] +basepython = 3.12 deps = -r requirements-test.txt -r requirements.txt commands = pytest test_base_images_sbom_script.py diff --git a/sbom-utility-scripts/scripts/index-image-sbom-script/tox.ini b/sbom-utility-scripts/scripts/index-image-sbom-script/tox.ini index 3a0a1b5..bb77f80 100644 --- a/sbom-utility-scripts/scripts/index-image-sbom-script/tox.ini +++ b/sbom-utility-scripts/scripts/index-image-sbom-script/tox.ini @@ -2,6 +2,7 @@ env_list = flake8,black,test [testenv:test] +basepython = 3.12 deps = -r requirements-test.txt -r requirements.txt commands = pytest -s -vv test_image_index_sbom_script.py diff --git a/sbom-utility-scripts/scripts/merge-cachi2-sboms-script/tox.ini b/sbom-utility-scripts/scripts/merge-cachi2-sboms-script/tox.ini index db6ddad..0c7ec59 100644 --- a/sbom-utility-scripts/scripts/merge-cachi2-sboms-script/tox.ini +++ b/sbom-utility-scripts/scripts/merge-cachi2-sboms-script/tox.ini @@ -2,6 +2,7 @@ env_list = flake8,black,test [testenv:test] +basepython = 3.12 deps = -r requirements-test.txt commands = pytest test_merge_cachi2_sboms.py