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
If you happen to use an extensionless filename as a source of requirements in, pip-compile will deduce the wrong output filename and generate a ".txt" file (relative file, thus at current working dir).
Environment Versions
OS Type Should be cross platform, but observed on Windows
Giving an error is an option, but how about simply adding ".txt" for the output filename , as it's already the used extension for the output file.
Ex:
pip-compile no_extension
Result: no_extension.txt is created, containing the pip-compile output.
That way, if anyone happens to be using files without extension as input, it won't break them, while not outputing to exact same file for every filename without extension, which is the case right now.
If you happen to use an extensionless filename as a source of requirements in, pip-compile will deduce the wrong output filename and generate a ".txt" file (relative file, thus at current working dir).
Environment Versions
$ python -V
2.7.8$ pip --version
9.0.1$ pip-compile --version
1.8.1rc2Steps to replicate
Expected result
We should error out because it is difficult to deduce a new name if there is no extension to remove.
Actual result
a .txt file is generated at the current directory.
The text was updated successfully, but these errors were encountered: