=> ERROR [15/27] RUN add-apt-repository ppa:deadsnakes/ppa && apt update && apt install -y --no-install-recommends python3.11 && apt install --reinstall -y python3.11-distu 7.9s
------
> [15/27] RUN add-apt-repository ppa:deadsnakes/ppa && apt update && apt install -y --no-install-recommends python3.11 && apt install --reinstall -y python3.11-distutils python3.11-venv && rm -f /usr/bin/python && rm -f /usr/bin/python3 && ln -s /usr/bin/python3.11 /usr/bin/python && ln -s /usr/bin/python3.11 /usr/bin/python3 && wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py && python get-pip.py && rm get-pip.py && pip install --upgrade pip: #0 0.725 This PPA contains more recent Python versions packaged for Ubuntu.
#0 0.725
#0 0.725 Disclaimer: there's no guarantee of timely updates in case of security problems or other issues. If you want to use them in a security-or-otherwise-critical environment (say, on a production server), you do so at your own risk.
#0 0.725
#0 0.725 Update Note
#0 0.725 ===========
#0 0.725 Please use this repository instead of ppa:fkrull/deadsnakes.
#0 0.725
#0 0.725 Reporting Issues
#0 0.725 ================
#0 0.725
#0 0.725 Issues can be reported in the master issue tracker at:
#0 0.725 https://github.com/deadsnakes/issues/issues
#0 0.725
#0 0.725 Supported Ubuntu and Python Versions
#0 0.725 ====================================
#0 0.725
#0 0.725 - Ubuntu 22.04 (jammy) Python3.7 - Python3.9, Python3.11 - Python3.13
#0 0.725 - Ubuntu 24.04 (noble) Python3.7 - Python3.11, Python3.13
#0 0.725 - Note: Python 3.10 (jammy), Python3.12 (noble) are not provided by deadsnakes as upstream ubuntu provides those packages.
#0 0.725
#0 0.725 Why some packages aren't built:
#0 0.725 - Note: for jammy and noble, older python versions requre libssl<3 so they are not currently built
#0 0.725 - If you need these, reach out to asottile to set up a private ppa
#0 0.725
#0 0.725 The packages may also work on other versions of Ubuntu or Debian, but that is not tested or supported.
#0 0.725
#0 0.725 Packages
#0 0.725 ========
#0 0.725
#0 0.725 The packages provided here are loosely based on the debian upstream packages with some modifications to make them more usable as non-default pythons and on ubuntu. As such, the packages follow debian's patterns and often do not include a full python distribution with just `apt install python#.#`. Here is a list of packages that may be useful along with the default install:
#0 0.725
#0 0.725 - `python#.#-dev`: includes development headers for building C extensions
#0 0.725 - `python#.#-venv`: provides the standard library `venv` module
#0 0.725 - `python#.#-distutils`: provides the standard library `distutils` module
#0 0.725 - `python#.#-lib2to3`: provides the `2to3-#.#` utility as well as the standard library `lib2to3` module
#0 0.725 - `python#.#-gdbm`: provides the standard library `dbm.gnu` module
#0 0.725 - `python#.#-tk`: provides the standard library `tkinter` module
#0 0.725
#0 0.725 Third-Party Python Modules
#0 0.725 ==========================
#0 0.725
#0 0.725 Python modules in the official Ubuntu repositories are packaged to work with the Python interpreters from the official repositories. Accordingly, they generally won't work with the Python interpreters from this PPA. As an exception, pure-Python modules for Python 3 will work, but any compiled extension modules won't.
#0 0.725
#0 0.725 To install 3rd-party Python modules, you should use the common Python packaging tools. For an introduction into the Python packaging ecosystem and its tools, refer to the Python Packaging User Guide:
#0 0.725 https://packaging.python.org/installing/
#0 0.725
#0 0.725 Sources
#0 0.725 =======
#0 0.725 The package sources are available at:
#0 0.725 https://github.com/deadsnakes/
#0 0.725
#0 0.725 Nightly Builds
#0 0.725 ==============
#0 0.725
#0 0.725 For nightly builds, see ppa:deadsnakes/nightly https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly
#0 0.725 More info: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
#0 1.477 Get:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease [18.1 kB]
#0 1.490 Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease
#0 1.524 Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
#0 1.528 Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
#0 1.757 Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
#0 1.770 Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
#0 2.298 Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
#0 2.701 Fetched 401 kB in 1s (283 kB/s)
#0 2.701 Reading package lists...
#0 3.903
#0 3.903 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#0 3.903
#0 4.078 Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
#0 4.169 Hit:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease
#0 4.171 Hit:3 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
#0 4.196 Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
#0 4.202 Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
#0 4.449 Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
#0 4.677 Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease
#0 4.775 Reading package lists...
#0 5.977 Building dependency tree...
#0 6.238 Reading state information...
#0 6.259 60 packages can be upgraded. Run 'apt list --upgradable' to see them.
#0 6.263
#0 6.263 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#0 6.263
#0 6.301 Reading package lists...
#0 7.512 Building dependency tree...
#0 7.772 Reading state information...
#0 7.817 E: Unable to locate package python3.11
#0 7.817 E: Couldn't find any package by glob 'python3.11'
------
Dockerfile:133
--------------------
132 | ENV PYTHON_VERSION=3.11
133 | >>> RUN add-apt-repository ppa:deadsnakes/ppa \
134 | >>> && apt update \
135 | >>> && apt install -y --no-install-recommends python3.11 \
136 | >>> && apt install --reinstall -y python3.11-distutils python3.11-venv \
137 | >>> && rm -f /usr/bin/python \
138 | >>> && rm -f /usr/bin/python3 \
139 | >>> && ln -s /usr/bin/python3.11 /usr/bin/python \
140 | >>> && ln -s /usr/bin/python3.11 /usr/bin/python3 \
141 | >>> && wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py \
142 | >>> && python get-pip.py \
143 | >>> && rm get-pip.py \
144 | >>> && pip install --upgrade pip
145 |
--------------------
ERROR: failed to solve: process "/bin/sh -c add-apt-repository ppa:deadsnakes/ppa && apt update && apt install -y --no-install-recommends python3.11 && apt install --reinstall -y python3.11-distutils python3.11-venv && rm -f /usr/bin/python && rm -f /usr/bin/python3 && ln -s /usr/bin/python3.11 /usr/bin/python && ln -s /usr/bin/python3.11 /usr/bin/python3 && wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py && python get-pip.py && rm get-pip.py && pip install --upgrade pip" did not complete successfully: exit code: 100
afaik either we should change the requirements, or add installation from the source code
steering-reasoning/Dockerfile
Line 131 in 63dacf3
build fails with this error message:
afaik either we should change the requirements, or add installation from the source code