Skip to content

Draft: Use debian:bullseye as base images

Calvin Cheng requested to merge debian-bullseye into master

This MR uses debian:bullseye as the base docker image.

Noticeable changes:

  • Python3.9
  • All packages comes from the main repository, no need for buster-backports. Python 3.9.2 (included) has a serious problem with incorrect detection of circular imports that affects the bgworker package. See https://bugs.python.org/issue43517. We Install Python 3.9.12 (or later patch release from the 3.9 release) from bookworm (debian testing). There is no fix in bullseye-backports.

Backward compatibility:

  • It seems Python3.9 is only supported on NSO 5.4.2 and later releases. How do we maintain supports for both Python 3.7 and Python 3.9?
  • The latest minor releases from 4.7.9 and later support python 3.9, but earlier ones like 4.7.8 do not. We have to stop supporting earlier releases.
NSO Major Release Earliest version with support for 3.9
4.7 4.7.9
5.1 5.1.6
5.2 5.2.5
5.3 5.3.4
5.4 5.4.2
5.5 and later ALL

@plajjan @mzagozen comments?

Edited by Marko Zagožen

Merge request reports