microsoft / artifacts-keyring

Keyring backend for Azure Artifacts
MIT License
31 stars 17 forks source link

artifacts-keyring not working with '--extra-index-url' in requirements.txt #30

Closed niander closed 3 years ago

niander commented 3 years ago

Issue seems to be related to this bug in pip: https://github.com/pypa/pip/issues/8103#issue-603840656 While that bug seems to have been fixed, whatever changed made there did not fix the problem with artifacts-keyring

If --extra-index-url is only in the requirements.txt artifacts-keyring won't try to get the credential. But if I include it in the command arguments it works as expected.

niander commented 3 years ago

It seems the change will only be introduced to pip 20.3. So I am closing this for now sine that fix should probably fix this.

basnijholt commented 2 years ago

Has this ever been addressed?

niander commented 2 years ago

@basnijholt I am not sure if this got fixed as I stopped using --extra-index-url and also stopped putting that inside an requirements.txt file. Are you having this problem as well?