Repository navigation
mise lock fails with "Got non-HTML text" on PyPI simple indexes that serve application/vnd.pypi.simple.v1+html (Azure Artifacts)
#14845
Summary
Follow-up to #14724, where the earlier Environment
[tools]
"pipx:my-package" = "0.11.3"
uv = "0.12.18"
[settings.pypi]
uvx = true
keyring_provider = "subprocess"
registry_url = "https://VssSessionToken@pkgs.dev.azure.com/<org>/<project>/_packaging/<feed>/pypi/simple/{}/"Reproducemise lock pipx:my-package --debug
What the server returnsRequesting the same URL with the credential from curl -s -D - -o /dev/null -u "VssSessionToken:$TOKEN" \
"https://pkgs.dev.azure.com/<org>/<project>/_packaging/<feed>/pypi/simple/my-package/"The body is ordinary PEP 503 HTML ( Cause
That strict check was introduced by #9407 to replace a Suggested fixMake the lock path accept the same media types as version listing:
I haven't built or tested a patch. Happy to open a PR for either option if you tell me which you prefer. WorkaroundI don't know of a configuration workaround for AI-assisted — Tool: GitHub Copilot (VS Code); model: anthropic/claude-sonnet-5.5; version: unavailable. |
Replies: 2 comments
|
Implemented in #14852: fix(lock): accept PEP 691 +html content types from PyPI simple indexes |
|
Fixed in v2026.10.18 by #14852. Update with |
Fixed in v2026.10.18 by #14852. Update with
mise self-updateor see the install docs.