You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker and believe that this is not a duplicate.
Make sure you run commands with -v flag before pasting the output.
Steps to reproduce
Add an index that uses credentials from keyring. run pdm build.
A more direct way is to run the pip command that is run during build, e.g.: /usr/bin/python -Esm pip install --ignore-installed --prefix /tmp/pdm-build-env-xxxxxxxx -r /tmp/pdm-build-reqs-xxxxxxxx.txt
Actual behavior
$ pdm build -v
Building sdist...
Preparing isolated env for PEP 517 build...
Looking in indexes: https://****@gitlab.com/api/v4/groups/[redacted]/-/packages/pypi/simple, https://pypi.org/simple
This hangs, pip is asking for the credentials underneath:
/usr/bin/python -Esm pip install --ignore-installed --prefix /tmp/pdm-build-env-xxxxxxxx -r /tmp/pdm-build-reqs-xxxxxxxx.txt
Looking in indexes: https://****@gitlab.com/api/v4/groups/[redacted]/-/packages/pypi/simple, https://pypi.org/simple
User for gitlab.com:
Running this command with the -s flag works correctly:
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Add an index that uses credentials from keyring. run
pdm build
.A more direct way is to run the pip command that is run during build, e.g.:
/usr/bin/python -Esm pip install --ignore-installed --prefix /tmp/pdm-build-env-xxxxxxxx -r /tmp/pdm-build-reqs-xxxxxxxx.txt
Actual behavior
This hangs, pip is asking for the credentials underneath:
Running this command with the -s flag works correctly:
Expected behavior
A successful build where pip can access the keyring module
Environment Information
I'm on the current HEAD to get the fix for #523. Behavior is identical when on 1.6.4 (and using the -v flag when calling pdm)
The text was updated successfully, but these errors were encountered: