Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using two different extra-index-urls causes exception #3181

Open
2 tasks done
jgerster-wetec opened this issue Feb 21, 2025 · 0 comments
Open
2 tasks done

Using two different extra-index-urls causes exception #3181

jgerster-wetec opened this issue Feb 21, 2025 · 0 comments

Comments

@jgerster-wetec
Copy link

jgerster-wetec commented Feb 21, 2025

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

Can not provide a reproducible example as private index urls are involved.

[tool.pixi.pypi-options]
extra-index-urls = [
    "https://gitlab+deploy-token-6:<token>@<private-gitlab-instance>/api/v4/projects/83/packages/pypi/simple",
    "https://gitlab+deploy-token-8:<token>@<private-gitlab-instance>/api/v4/projects/74/packages/pypi/simple",
]
  × failed to solve the pypi requirements of 'dev' 'linux-64'
  ├─▶ cannot get wheel metadata
  ├─▶ Failed to fetch: `https://<private-gitlab-instance>/api/v4/projects/74/packages/pypi/files/
  │  aa6ba197b1d30bc218c1e43d129f40cabd63a36f6785421f0e432334858a1084/<private-package>-0.11.1-py3-none-
  │   any.whl#sha256=aa6ba197b1d30bc218c1e43d129f40cabd63a36f6785421f0e432334858a1084`
  ╰─▶ HTTP status client error (404 Not Found) for url (https://
      <private-gitlab-instance>/api/v4/projects/74/packages/pypi/files/
      aa6ba197b1d30bc218c1e43d129f40cabd63a36f6785421f0e432334858a1084/<private-package>-0.11.1-py3-none-
      any.whl#sha256=aa6ba197b1d30bc218c1e43d129f40cabd63a36f6785421f0e432334858a1084)

Issue description

Similar issue was reported with uv - astral-sh/uv#11501. Accoding to the release notes, this issue was fixed with uv version 0.6.1. So updating the uv dependency to >=0.6.1. might fix the problem.

Expected behavior

Using two extra-index-urls should be possible.

@jgerster-wetec jgerster-wetec changed the title Using two different --extra-index-urls causes exception Using two different extra-index-urls causes exception Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant