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
Poetry can be run from within a sub directory, hence the command poetry export --output foo/requirements.txt can misleading:
$ ls
my_project
pyproject.toml
$ mkdir tmp &&pushd tmp # Go in a sub directory
$ mkdir foo
$ poetry export --output foo/requirements.txt # User expects to write into C:\\Users\\gbleu\\my_project\\tmp\\foo\\requirements.txt
[Errno 2] No such file or directory: 'C:\\Users\\gbleu\\my_project\\foo\\requirements.txt'
$ poetry export --output requirements.txt # User expects to write into C:\\Users\\gbleu\\my_project\\tmp\\requirements.txt
$ ls
$ ls .. # export have been actually written into C:\\Users\\gbleu\\my_project\\requirements.txt
my_project
pyproject.toml
requirements.txt
The text was updated successfully, but these errors were encountered:
Fixes: #77
Also includes:
- refactor(tests): drop custom tmp_dir fixture in favor of tmp_path
- refactor(tests): correctness and removal of dead code
- refactor(tests): simplify fixture path logic
Poetry can be run from within a sub directory, hence the command
poetry export --output foo/requirements.txt
can misleading:The text was updated successfully, but these errors were encountered: