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

Quickstart issue and Docker fails to install poetry #2217

Open
CPSalerno opened this issue May 8, 2023 · 0 comments
Open

Quickstart issue and Docker fails to install poetry #2217

CPSalerno opened this issue May 8, 2023 · 0 comments

Comments

@CPSalerno
Copy link

When following quickstart instructions, I get the following error during Docker's installation of poetry

=> [13/14] RUN pip install "poetry==1.1.12"                               4.6s 
 => ERROR [14/14] RUN poetry config virtualenvs.create false   && poetry   1.7s 
------                                                                          
 > [14/14] RUN poetry config virtualenvs.create false   && poetry config virtualenvs.in-project false   && poetry install --no-dev --no-interaction --no-ansi:
#0 0.827 Skipping virtualenv creation, as specified in config file.
#0 1.616 
#0 1.616   RuntimeError
#0 1.616 
#0 1.616   The lock file is not compatible with the current version of Poetry.
#0 1.616   Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command.
#0 1.616 
#0 1.616   at /usr/local/lib/python3.8/dist-packages/poetry/packages/locker.py:481 in _get_lock_data
#0 1.626       477│                 "Upgrade Poetry to ensure the lock file is read properly or, alternatively, "
#0 1.626       478│                 "regenerate the lock file with the `poetry lock` command."
#0 1.626       479│             )
#0 1.626       480│         elif not lock_version_allowed:
#0 1.626     → 481│             raise RuntimeError(
#0 1.626       482│                 "The lock file is not compatible with the current version of Poetry.\n"
#0 1.627       483│                 "Upgrade Poetry to be able to read the lock file or, alternatively, "
#0 1.627       484│                 "regenerate the lock file with the `poetry lock` command."
#0 1.627       485│             )
------
failed to solve: process "/bin/sh -c poetry config virtualenvs.create false   && poetry config virtualenvs.in-project false   && poetry install --no-dev --no-interaction --no-ansi" did not complete successfully: exit code: 1

To Reproduce
Follow installation instructions as presented.

Expected behavior
Docker to properly install container

Desktop (please complete the following information):
MacOS 13.3.1 (22E261)
Apple M2 chip

Any suggestions to work around this?

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

No branches or pull requests

1 participant