exclude hashes when exporting VCS requirements#55
Merged
micmurawski merged 4 commits intomicmurawski:mainfrom Sep 15, 2025
Merged
exclude hashes when exporting VCS requirements#55micmurawski merged 4 commits intomicmurawski:mainfrom
micmurawski merged 4 commits intomicmurawski:mainfrom
Conversation
…fail to install packages from VCS urls
… pip to fail to install packages from VCS urls" This reverts commit 56658cb.
micmurawski
requested changes
Sep 15, 2025
Owner
There was a problem hiding this comment.
@bruceduhamel Thank you for your contribution :)
Can you just patch version to 2.1.1? It's in pyproject.toml
Then I will merge and pipeline should make a release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should address this issue where the plugin fails to build poetry projects with dependencies installed via VCS urls such as git+ssh.
The nature of the issue is that the plugin includes a custom exporter for dumping poetry dependencies to a requirements.txt file. This file is built with hashes which allow pip to ensure the same code that the requirements.txt file was built from is consistently used. The plugin then utilizes pip to install those dependencies in the generated requirements.txt file but that command fails because pip is unable to verify the hashes for VCS urls.
The fix works by excluding hashes for dependencies installed via VCS or other URLs.