You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error because of a package from my dev dependencies even though I am conducting an installation with excluding the dev dependencies (with poetry install --no-dev). This error is expected for poetry install because said dev dependency is installed from a local directory which is missing. However, I expect that it does not occur with poetry install --no-dev because then this dependency is not meant to be installed.
To reproduce:
Download the pyproject.toml from the gist link (above), put it in a folder and navigate into the folder from your terminal.
Run poetry install --no-dev.
You will get the error:
ValueError
Directory ../Merlion/ts_datasets does not exist
at ~/anaconda3/lib/python3.8/site-packages/poetry/core/packages/directory_dependency.py:41 in __init__
37│ self._develop = develop
38│ self._supports_poetry = False
39│
40│ if not self._full_path.exists():
→ 41│ raise ValueError("Directory {} does not exist".format(self._path))
42│
43│ ifself._full_path.is_file():
44│ raise ValueError("{} is a file, expected a directory".format(self._path))
The text was updated successfully, but these errors were encountered:
-vvv
option).Issue
I am getting an error because of a package from my dev dependencies even though I am conducting an installation with excluding the dev dependencies (with
poetry install --no-dev
). This error is expected forpoetry install
because said dev dependency is installed from a local directory which is missing. However, I expect that it does not occur withpoetry install --no-dev
because then this dependency is not meant to be installed.To reproduce:
poetry install --no-dev
.The text was updated successfully, but these errors were encountered: