Skip to content

Dependency lockfile seemingly missing in 1.3.0 #7171

@xylar

Description

@xylar
  • Poetry version: 1.3.0
  • Python version: 3.10 (but applies to any)
  • OS version and name: Any
  • pyproject.toml: N/A
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

(I don't have an easy way to do this last one.)

Issue

On conda-forge, we are seeing:

poetry -V
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/poetry_1670751022234/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/poetry_plugin_export/exporter.py", line 14, in <module>
    from poetry.repositories.http_repository import (  # type: ignore[import] # noqa: E501
  File "/home/conda/feedstock_root/build_artifacts/poetry_1670751022234/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/poetry/repositories/http_repository.py", line 26, in <module>
    from poetry.utils.authenticator import Authenticator
  File "/home/conda/feedstock_root/build_artifacts/poetry_1670751022234/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.10/site-packages/poetry/utils/authenticator.py", line 15, in <module>
    import lockfile
ModuleNotFoundError: No module named 'lockfile'

It seems that the lockfile dependency is missing from the pyproject.toml. See our CI for details:
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=626570&view=logs&jobId=066cc9cc-a148-5e0b-b826-14f37a74adcb&j=066cc9cc-a148-5e0b-b826-14f37a74adcb&t=37130146-0234-5fb4-e162-ad3f7d5808b1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/project/depsRelated to Poetry's own dependencieskind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions