Specifying Python version for Qubernetes workloads
New in version
v0.12.0When creating a Qubernetes project, you can specify the Python version to be used in your workloads by defining the python_version field in the python_env section of your Q8Sproject file.
Q8Sproject
name: my-quantum-project
python_env:
python_version: "3.12"
dependencies:
...
By setting the python_version field, Qubernetes will ensure that the specified Python version is used when building the container images for your project. This allows you to maintain compatibility with specific libraries or features that may require a certain version of Python.