Skip to content

uv pip install with --find-links and --extra-index-url #12425

@jmspereira

Description

@jmspereira

Question

Hey everyone,
First of all, I am sorry if this is duplicated from some existing issue. I couldn't find one with this question.

I have a wheel of a library, let's call it abc-1.2.3 both in a dist/ folder that I pass with --find-links parameter. However, the same wheel (with the same version) exists in a private pypi which is passed in the --extra-index-url. From my experiments, it appears that uv prefers the wheel existing in repository passed by the --extra-index-url instead of the one in the path passed in --find-links directory.

Is this the desired behavior? Or I am doing something wrong? Is there any way of prefer the wheel existing on the local /dist folder?

Thanks!

Platform

Ubuntu 24.04

Version

0.6.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    cacheCaching of packages and metadataquestionAsking for clarification or support

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions