Skip to content

unexpected empty environments listing #1759

@pySilver

Description

@pySilver
  • 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: macos 10.15.2
  • Poetry version: 1.0.0

Issue

Surprisingly poetry env list does not return anything. Virtualenv was created by poetry install in a local directory using local poetry.toml

[virtualenvs]
in-project = true

Output:

 ~/Projects/fooproject ❯ poetry env use 3.7.4                                                                                                                                                     3.7.4
Using virtualenv: /Users/Silver/Projects/fooproject/.venv
 ~/Projects/fooproject  ❯ poetry env list                                                                                                                                                          3.7.4
 ~/Projects/fooproject  ❯ poetry env list --full-path                                                                                                                                              3.7.4
 ~/Projects/fooproject  ❯ poetry env info                                                                                                                                                          3.7.4

Virtualenv
Python:         3.7.4
Implementation: CPython
Path:           /Users/Silver/Projects/fooproject/.venv
Valid:          True

System
Platform: darwin
OS:       posix
Python:   /Users/Silver/.pyenv/versions/3.7.4
 ~/Projects/fooproject ❯ poetry --version                                                                                                                                                         3.7.4
Poetry version 1.0.0

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