-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Allow adding git ref as dependency #3240
Comments
I don't know the details, but you can add branches, tags and commit hashes. So doesn't work referencing the related branch for you? |
El dom, 18 de oct de 2020 a las 23:17, Arjan Keeman
<[email protected]> escribió:
I don't know the details, but you /can/ add branches, tags and commit
hashes. So doesn't work referencing the related branch for you?
Yes, that's been my workaround, but it's not as self-descriptive as
adding the pull request directly.
Besides, I don't know why it shouldn't work if it works with raw pip...
🤔
|
Just tried on latest version from $ curl -sSL https://install.python-poetry.org | python - --git https://github.com/python-poetry/poetry.git@master
$ poetry add git+https://github.com/samuelcolvin/pydantic.git@refs/pull/4102/merge -vvv
...
• Installing pydantic (1.9.0 f0c432c): Pending...
• Installing pydantic (1.9.0 f0c432c): Cloning...
• Installing pydantic (1.9.0 f0c432c): Building...
• Installing pydantic (1.9.0 f0c432c) Closing this issue, but feel free to reopen if you still have troubles. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature Request
#357 says that git refs are supported on
poetry add
, but it seems it's not the case. For example, I want to install a pull request using this method, that as you can see here is supported by pip:However, when doing the same thing with poetry, it fails:
The text was updated successfully, but these errors were encountered: