Using Renku Cuda images with Python 3.11

I am trying to install a conda environment in a docker image based on renku/renkulab-cuda:12.2-4580ad7. In my conda environment I am using python 3.11, but I see in the base image PYTHON_VERSION=3.10 is set (as is for all cuda 12.2 renku images). Therefore, during building I get the error

#8 25.09   Pinned packages:
#8 25.09 
#8 25.09   - python 3.10.11
#8 25.09 
#8 25.09 
#8 25.09 Could not solve for environment specs
#8 25.09 The following package could not be installed
#8 25.09 └─ python 3.11**  is requested and can be installed.

Trying to set ARG PYTHON_VERSION=3.11 does not work. Can I somehow use a renku cuda image with python 3.11?

Hi @major.hph
As of now, there is not any supported Renku image with Python 3.11. You can see the Renku project templates in this repository and Renku docker images here. Please, check this recent thread on the topic of having customised images.

Hi @major.hph thanks for bringing this up - indeed, the standard CUDA images we build are based on python 3.10, but this is now rather old and should be updated. I just built an image with Python 3.11 and CUDA 12.2 - could you please give it a go? The image is renku/renkulab-cuda:python-3.11-12.2-11d93a4 and you need to use this in the two FROM lines in your Dockerfile. Let me know if you need help sorting it out!