Visitar URL original
Quickstart issue and Docker fails to install poetry · Issue #2217 · usds/justice40-tool · GitHub
Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Quickstart issue and Docker fails to install poetry #2217

Open

Description

@CPSalerno

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions