Skip to content

Poetry says that "environment seems to be broken" all the time #2756

@keddad

Description

@keddad
  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Fedora 32

  • Poetry version: 1.0.10

  • Link of a Gist with the contents of your pyproject.toml file: Link

  • I've also done poetry config virtualenvs.path .venv

Issue

Apparently, poetry invalidates virtual environment even if literally nothing happened to it. Here is an example where I install a package and and try to list packages, but it says that environment is broken and installs it again: Gist. My only idea is that PyCharm, which is configured to use the venv, messes something up but it shouldn't write anything in venv, I guess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/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