~tsileo/microblog.pub#163: 
Cannot build with latest version of Poetry

When cloning then running 'make build', the image cannot be built. The follow error is encountered at RUN poetry install --only main:

14.57 Installing the current project: microblogpub (2.0.0) 14.60 14.60 Error: The current project could not be installed: No file/folder found for package microblogpub 14.60 If you do not want to install the current project use --no-root. 14.60 If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file. 14.60 If you did intend to install the current project, you may need to set packages in your pyproject.toml file.

The image can be built if the Poetry version is locked in the Dockerfile, however:

RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.6.1

Status
REPORTED
Submitter
Jomar Milan
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
No labels applied.