-
-
Notifications
You must be signed in to change notification settings - Fork 615
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
pip-compile generates empty requirements.txt #1796
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@q0w Thanks for the quick response! As mentioned in "step 1", if I use
|
@Burtannia oh I see... Could you apply this patch #1711 (comment) and show the error. I can't reproduce |
@q0w Aha! It seemed to be getting confused when finding the package directory. I had a top level directory called
I've made a PR to add some debugging tips and a note about Thanks for the help! |
I'm trying to use
pip-compile
to generaterequirements.txt
frompyproject.toml
but for some reason the output frompip-compile
doesn't actually contain any dependencies.Environment Versions
Steps to replicate
pyproject.toml
file containing the following:Note that without the
setuptools
restriction I get the following error when runningpip-compile -v ...
:python -m piptools compile --resolver=backtracking --generate-hashes -o requirements.txt pyproject.toml
Expected result
requirements.txt
to be populated with dependencies.Actual result
requirements.txt
only contains:The text was updated successfully, but these errors were encountered: