Skip to content

Poetry appears to install the incorrect version. #5030

@blueforesticarus

Description

@blueforesticarus

With this in pyproject.toml

[tool.poetry.dependencies]
javascript = "1!0.2.14"

poetry appears to install version "1!0.2.1" instead.
when running poetry install after deleting poetry.lock and running poetry env remove on the existing env, it prints:
• Installing javascript (1!0.2.1)

additionally, it doesn't actually install it, just creates a bdist-info folder in the virtual-env
I have verified that I cannot import javascript from an interpreter started in the poetry shell

$ pwd
/home/.cache/pypoetry/virtualenvs/test-D_mNwSVp-py3.9/lib/python3.9/site-packages
$ fd javascript
javascript-1!0.2.1.dist-info

pypi link: https://pypi.org/project/javascript/1!0.2.14/

using python 3.9.9, installed as non-default.
poetry version 1.1.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreRelated to the poetry-core librarykind/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