Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using dot as the path crashes while deleting the current folder #32

Open
Cajuteq opened this issue Oct 24, 2022 · 0 comments
Open

using dot as the path crashes while deleting the current folder #32

Cajuteq opened this issue Oct 24, 2022 · 0 comments

Comments

@Cajuteq
Copy link

Cajuteq commented Oct 24, 2022

Using windows WSL2 with debian and python3.7, I just migrated to poetry 1.2.2 and wanted to try the new bundle plugin that would allow me to build faster in my CI.

I innocently typed

poetry bundle venv .

as I wanted the bundle to be in the current folder. The command started and showed

Bundling xxx_gateway (1.1.1) into .: Removing existing virtual environment

and then

[Errno 22] Invalid argument: '.'

In the meantime my folder had been emptied (no consequence git was here)

I think other people could try to bundle in there local folder so I suggest adding an exception for the dot path. Maybe using ./bundle as a default could be interesting in some automation process as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant