-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Description
When a private repository is added to a UV project, the pyproject.toml file is updated with the private index. To do so, two url's are set: url
and publish-url
. Though the base URL used to construct the search and publish URLs is pulled from pypiRepoUrl
, the suffix settings for the publish URL are pulled from the dev*
settings. I didn't test the search URL to see if it was using the correct set of settings.
Steps to Reproduce
- Create a uv project built by Habushu
- Set the
pypiRepoUrl
to something other than pypi.org (doesn't have to exist) - Run
mvn clean install
Expected result:
the following is added to the pyproject.toml file:
[[tool.uv.index]]
name = "local-repo"
url = "http://localhost:7000/simple/"
publish-url = "http://localhost:7000/"
Actual result:
the following is added to the pyproject.toml file:
[[tool.uv.index]]
name = "local-repo"
url = "http://localhost:7000/simple/"
publish-url = "http://localhost:7000/legacy/"
Metadata
Metadata
Assignees
Labels
No labels