[PATCH for 10.0.x stable] tests/docker/dockerfiles/python.docker: pull fedora:40 image instead of fedora:latest

Michael Tokarev posted 1 patch 1 month, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250917161236.1041820-1-mjt@tls.msk.ru
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>
tests/docker/dockerfiles/python.docker | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH for 10.0.x stable] tests/docker/dockerfiles/python.docker: pull fedora:40 image instead of fedora:latest
Posted by Michael Tokarev 1 month, 4 weeks ago
All other fedora dockerfiles use fedora:40.
fedora:latest does not have python3.8 anymore,
so python minreq/etc tests are failing in 10.0.x.

This patch is specific to 10.0.x stable branch.
In master, support for python3.8 has been dropped.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 tests/docker/dockerfiles/python.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/docker/dockerfiles/python.docker b/tests/docker/dockerfiles/python.docker
index 8f0af9ef25..e1ddd46f50 100644
--- a/tests/docker/dockerfiles/python.docker
+++ b/tests/docker/dockerfiles/python.docker
@@ -1,6 +1,6 @@
 # Python library testing environment
 
-FROM fedora:latest
+FROM fedora:40
 MAINTAINER John Snow <jsnow@redhat.com>
 
 # Please keep this list sorted alphabetically
-- 
2.47.3
Re: [PATCH for 10.0.x stable] tests/docker/dockerfiles/python.docker: pull fedora:40 image instead of fedora:latest
Posted by Daniel P. Berrangé 1 month, 4 weeks ago
On Wed, Sep 17, 2025 at 07:12:32PM +0300, Michael Tokarev wrote:
> All other fedora dockerfiles use fedora:40.
> fedora:latest does not have python3.8 anymore,
> so python minreq/etc tests are failing in 10.0.x.
> 
> This patch is specific to 10.0.x stable branch.
> In master, support for python3.8 has been dropped.
> 
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>  tests/docker/dockerfiles/python.docker | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


FWIW, we should also have 'master' on a specific Fedora release too
but then IIUC John plans to drop a lot of python code in this release
so it may become a non-problem on master ?

> 
> diff --git a/tests/docker/dockerfiles/python.docker b/tests/docker/dockerfiles/python.docker
> index 8f0af9ef25..e1ddd46f50 100644
> --- a/tests/docker/dockerfiles/python.docker
> +++ b/tests/docker/dockerfiles/python.docker
> @@ -1,6 +1,6 @@
>  # Python library testing environment
>  
> -FROM fedora:latest
> +FROM fedora:40
>  MAINTAINER John Snow <jsnow@redhat.com>
>  
>  # Please keep this list sorted alphabetically
> -- 
> 2.47.3
> 

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|