Ubuntu-2204:current "pyenv: version `3.11' not installed"

We have a pipeline that looks like (abbreviated):

    description: Set up the executor and install packages.
      - checkout
      - run:
          name: Install Packages
          command: |
            : system
            sudo apt update
            sudo apt install default-libmysqlclient-dev pkg-config
            pyenv global 3.11

  code build and test:
      image: ubuntu-2204:current
      docker_layer_caching: true
      resource_class: arm.medium
      - setup-project

about 24 hrs ago we started getting failures from “Install Packages” step like:

Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Scanning processes...                                                           
Scanning linux images...                                                        

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
pyenv: version `3.11' not installed

Exited with code exit status 1

What’s up with that?

Downgrading to image: ubuntu-2204:2023.10.1 fixes it

The reason for this is that within ubuntu-2204:current the available versions of Python are 2.7.18 and 3.12.1.

Current and Edge are always likely to see package changes, so it is best to choose a ‘named’ image if you are dependent on certain versions of packages.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.