Skip to content

How to update inner packages that are github based ? #2415

Answered by frostming
liran-cohen-hs asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, here's the deal.

Try pdm add "boto3 @ git+https://github.com/boto/[email protected]"

Yes, you need to give the package name explicitly to make PDM replace the entry correctly instead of adding a new one, which would result to a resolution conflict. PDM doesn't do any wild guess of the package name until it builds the package and retrieves it from the metadata.

And for pdm update, you need to give the package name, not the full URL. It acts as a key to identify the package.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@liran-cohen-hs
Comment options

@frostming
Comment options

Answer selected by liran-cohen-hs
@liran-cohen-hs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants