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

Add source that gets looked up only when source = "<source>" is specified #7179

Closed
2 tasks done
chunleng opened this issue Dec 12, 2022 · 2 comments
Closed
2 tasks done
Labels
status/duplicate Duplicate issues

Comments

@chunleng
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the FAQ and general documentation and believe that my question is not already covered.

Feature Request

When dealing with multiple source, some sources are used in only a small portion of the dependency but gets scanned whenever we try to resolve dependency. It will be great to have a option for source such as the following:

[[tool.poetry.source]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
source_only = true

Unlike secondary which only decides that the source gets scanned before or after PyPI, this feature will allow the source to never be used as an alternative source

@chunleng chunleng added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Dec 12, 2022
@neersighted
Copy link
Member

Duplicate #6713.

@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2022
@neersighted neersighted added status/duplicate Duplicate issues and removed kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Dec 12, 2022
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants