Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Installed Python version should be configurable #73

Open
sjedlick opened this issue Mar 1, 2023 · 2 comments
Open

[Enhancement] Installed Python version should be configurable #73

sjedlick opened this issue Mar 1, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sjedlick
Copy link

sjedlick commented Mar 1, 2023

Description

DMC 3.0.1 includes Python3 (the latest version). I want to specify a Python version other than that (for example python3.9)
Configuring build.yaml with

packages
- python39

doesn't install Python 3.9 in DMC, since in template.d/01_base an installation of python3 is specified (i assume always the latest version).

Additional information

No response

@sjedlick sjedlick added the enhancement New feature or request label Mar 1, 2023
@rndmh3ro
Copy link
Collaborator

rndmh3ro commented Mar 1, 2023

doesn't install Python 3.9 in DMC, since in template.d/01_base an installation of python3 is specified (i assume always the latest version).

That's not the reason. The reason is that there's no package for Python 3.9 in the default Ubuntu 22.04 repositories.

To add Python 3.9, you need to add a PPA (https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa) to ubuntu and then install it. This is currently not supported by the DMC.

BTW touching the default python installation of Ubuntu is not recommended.

@michaelamattes
Copy link
Collaborator

Why you have the need to install a different version from default ? Is it not rather a configuration problem of your tools used. e.g. ansible hardcoded version.

interpreter_python = /usr/bin/python3.9

@michaelamattes michaelamattes added the help wanted Extra attention is needed label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants