PDM ignores PDM_PYPI_USERNAME and PDM_PYPI_PASSWORD when there are no defaults in config #1961
Closed
1 task done
Labels
🐛 bug
Something isn't working
Description
PDM
ignores PDM_PYPI_USERNAME and PDM_PYPI_PASSWORD when there are no defaults in config.Steps to reproduce
PDM
with version2.7.0
without any user configuration.PDM_PYPI_URL
environment variable (along withPDM_PYPI_USERNAME
andPDM_PYPI_PASSWORD
).pypi.username
andpypi.password
toPDM
's config.PDM_PYPI_USERNAME
andPDM_PYPI_PASSWORD
).Actual behavior
Expected behavior
I expected
PDM_PYPI_USERNAME
andPDM_PYPI_PASSWORD
to be read without having to create dummy entries in thePDM
configuration. This issue is particularly noticeable in the Dockerfile, wherePDM
starts with a fresh configuration and is expected to read from private PyPI based on the environment variables.The text was updated successfully, but these errors were encountered: