Poetry + explicit source can't find installation candidates while pip with --index-url can #9524
Labels
area/installer
Related to the dependency installer
area/sources
Releated to package sources/indexes/repositories
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
Description
Using poetry 1.8.3 and pip 24.1.1
Torch is marked as a dependency in pyproject.toml as:
Running
poetry install
in a linux aarch64 environment throws the following error:But trying the installation with pip install torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu works as expected.
Shouldn't the source set in pyproject.toml work the same as --index-url in pip?
Workarounds
None
Poetry Installation Method
pip
Operating System
Debian (from python:3.10-slim)
Poetry Version
1.8.3
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: