-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
"pyproject.toml does not exist" when pdm add git+https from a subdirectory of a repository #1036
Comments
A package must contain either |
I double checked and confirmed that the subdirectory does have a I found another potential issue while debugging this one. Steps to reproduce
Actual behaviorIt added I ran Expected behaviorIt loads the subdirectory information to |
I found a solution to the original issue. If I manually add However, it doesn't work with |
This is not valid. The second
which is equal to
This looks wrong and needs to be fixed. |
Good catch! I run
Thanks! 👍 |
It works fine for me:
You can directly run this command. You should wrap the requirement in quotes. |
The quotes are certainly needed. It's wierd that installing |
A note to anyone who has the same issue. As mentioned in the comment, while |
I had the exact same problem, although @cye18's workaround with manual addition didn't do it for me. |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
pdm init
pdm add -v git+https://username:[email protected]/path/to/my/project.git#egg=package_name#subdirectory=python_utils
Actual behavior
If I install other packages using
pdm add
, it completes with no error. (I triedpandas
)Expected behavior
Install the package and add the corresponding dependency in
pyproject.toml
Environment Information
The text was updated successfully, but these errors were encountered: