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

Versions of python and python-dev, etc. don't necessarily match #154

Closed
OrangeDog opened this issue Jul 21, 2022 · 4 comments · Fixed by #152
Closed

Versions of python and python-dev, etc. don't necessarily match #154

OrangeDog opened this issue Jul 21, 2022 · 4 comments · Fixed by #152
Assignees
Labels
bug Something isn't working

Comments

@OrangeDog
Copy link

python${PYTHON_VERSION} python3-dev libpython3-dev

You're only specifying the minor version for python, and not any of the related packages. They will instead use the default for the distribution, ignoring PYTHON_VERSION.

You either need to specify the same version for all of them (and use e.g. the deadsnakes repo), or not bother with PYTHON_VERSION and use the distro default for everything.

@OrangeDog OrangeDog added the bug Something isn't working label Jul 21, 2022
@cdalvaro
Copy link
Owner

I've been hesitating this for a while and you are right. I think that best thing is to remove any reference to PYTHON_VERSION and use the distro default.

@OrangeDog
Copy link
Author

You could also consider using one of the python images as a base, to get non-default pythons (but not pre-release debians).

e.g. python:3.10-slim-bullseye

cdalvaro added a commit that referenced this issue Jul 21, 2022
@cdalvaro
Copy link
Owner

You could also consider using one of the python images as a base, to get non-default pythons (but not pre-release debians).

e.g. python:3.10-slim-bullseye

I tried it, but I got an error with the salt-bootstrap script.

@cdalvaro
Copy link
Owner

Thank you for reporting this issue, @OrangeDog!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants