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

Dependency lockfile seemingly missing in 1.3.0 #7171

Closed
3 of 4 tasks
xylar opened this issue Dec 11, 2022 · 1 comment · Fixed by #7169
Closed
3 of 4 tasks

Dependency lockfile seemingly missing in 1.3.0 #7171

xylar opened this issue Dec 11, 2022 · 1 comment · Fixed by #7169
Labels
area/project/deps Related to Poetry's own dependencies kind/bug Something isn't working as expected

Comments

@xylar
Copy link

xylar commented Dec 11, 2022

  • 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

@xylar xylar added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 11, 2022
@radoering radoering added area/project/deps Related to Poetry's own dependencies and removed status/triage This issue needs to be triaged labels Dec 11, 2022
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/project/deps Related to Poetry's own dependencies kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants