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

python: do not use python_full_version #431

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

methane
Copy link

@methane methane commented Nov 14, 2024

PythonのDockerfileで FROM python:3.12-bookworm をしているので、Dockerでは3.12系の最新版を利用しています。
一方でPipfileの方では完全バージョン指定しているので、バージョンミスマッチで開発環境を動かせませんでした。

 => ERROR [webapp 10/12] RUN pipenv install                                                                                                                                                                 0.4s
------
 > [webapp 10/12] RUN pipenv install:
0.358 Warning: Python 3.12.0 was not found on your system...
0.359 Neither 'pyenv' nor 'asdf' could be found to install Python.
0.359 You can specify specific versions of Python with:
0.360 $ pipenv --python path/to/python
------
failed to solve: process "/bin/sh -c pipenv install" did not complete successfully: exit code: 1

python_full_version指定を外すだけで docker compose up が成功するようになりました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant