poetry export --with-credentials
fails under tox with tox-poetry-installer
#72
Labels
bug
Something isn't working
I used
poetry config http-basic.private-index __token__ TOKEN
to store credentials for a private package index. I have a tox testenv that runspoetry export --with-credentials
to generate a requirements file. When the testenv runspoetry export --with-credentials
under tox, it prints the following message:The resulting output contains the username part of the index credentials but is missing the password part:
When I run
poetry export --with-credentials
on the command line,poetry
doesn't print the warning and its output contains both the username and password for the index, like this:Should I expect to be able to run
poetry export --with-credentials
under tox with tox-poetry-installer installed? Here is some information I thought would be helpful in diagnosing my problem. I'm happy to provide other details if needed.~/.poetry/bin/poetry
is the copy of poetry that the testenv runs -- I checked withwhich poetry
in the testenv. I'm not sure if it's relevant, but running.tox/.tox/bin/poetry export --with-credentials
on the command line also produces the correct output with the username and password present.Poetry version: 1.1.15
tox version: 3.25.1
Poetry installation method:
tox.ini
:Relevant portion of
pyproject.toml
:poetry.toml
:The text was updated successfully, but these errors were encountered: