How to update inner packages that are github based ? #2415
-
We are using github as our repository to install internal packages when I want to update this package I also use I tried to use how to handle this ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There are several unclear parts in your description, and I am unable to provide an answer. First, does
Did you use another ref than |
Beta Was this translation helpful? Give feedback.
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.