-
Notifications
You must be signed in to change notification settings - Fork 52
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
Poetry export git does not include commit hash #71
Comments
Note switching to
poetry.lock
Exporting
|
This is also causing issues for me. Expected the version to be pinned to that specified in the pyproject.toml and poetry.lock file, but instead the exported requirements.txt uses the latest commit. |
Ran into the same issue, via https://github.com/moneymeets/python-poetry-buildpack - very surprising as an unrelated deploy caused a Git dependency to update to the latest commit on that branch, ignoring the lockfile, and breaking things in the deployed environment! |
It looks to me like this was fixed in 4670b0c, it just hasn't been released yet. @radoering is that something you could help with, or explain how it works? Thanks! |
I'm planning to do a release just before the next poetry release. See python-poetry/poetry#8483 for the current status. Currently, I'm just waiting for a review of the race condition fix. |
Resolved in poetry-plugin-export 1.6.0 |
-vvv
option).Issue
Hello,
It seems exporting a git dependency does not include the
resolved_reference
from the poetry lock. Instead it just references the branch which it's tracking.The goal of exporting is to install the exact versions installed in the poetry lock so...
Expected
since my
poetry.lock
includesI would expect the export to be
Reproduce
I prepared a very small package to test, locally you can
The text was updated successfully, but these errors were encountered: