-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
-
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 (
-vvvoption). -
OS version and name: Fedora 32 (also reproduced with Docker base image python:3-slim)
-
Poetry version: 1.1.1
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/ponas/f02c8228a4e366bc255f4f4d1dd32cec
Issue
This issue first appears with Poetry 1.1.0. I cannot reproduce this issue on 1.0.9.
When Poetry installs the two packages from git, no exceptions occur, but sometimes one of them cannot be imported in the resulting environment:
$ poetry install
[snip]
• Installing cerebrum-client (1.9.2 95a1839)
• Installing tofh (2.0.6 8f9dac0)
$ poetry run python -c 'import tofh'
$ poetry run python -c 'import cerebrum_client'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'cerebrum_client'
I was unable to reproduce this by installing packages such as Django, requests and flask via git, making me think this may be related to something in our setup.pys. Might not be a bug in poetry, but this behavior is new :-)
Workaround
Current workaround is to disable the new installer in favour of the old one. (#3086 (comment))