Skip to content

How to configure PDM repositories in CI/CD when no password is required? #1790

Closed Answered by baggiponte
baggiponte asked this question in Q&A
Discussion options

You must be logged in to vote

The GemFury team answered you can set as username the token owner and use the token as password:

token-as-username is only supported for backward compatibility. We now recommend using the following Repo-URL format: "https://OWNER:[email protected]/USERNAME/" where OWNER is the username of the token owner.

So for pdm:

pdm config repository.private.url pypi.fury.io/USERNAME
pdm config repository.private.username TOKEN_OWNER
pdm config repository.private.password TOKEN

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@baggiponte
Comment options

@baggiponte
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by baggiponte
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