Poetry fails to check package from PyPI if it was found for another arch on a private repo #5227
Closed
3 tasks done
Labels
kind/question
User questions (candidates for conversion to discussion)
status/wontfix
Will not be implemented
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Ubuntu 20.04 amd64 with pyenv (python 3.6)
Poetry version: 1.1.13
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/Mindstan/a39bd8d014c8e9b4e4f47535e755ba68
Issue
We are a team using machine/deep learning on Nvidia Jetson devices (aarch64), and our project depends on
[email protected]
. Because its wheel is not available on pypi.org, we built it once and uploaded it on our private Python repository (and only for this architecture).Until now, we were using
pip
, and pip's behavior is to search on our private repo, and if it does not find the wheel, then it looks on official PyPI for it.We are trying now to migrate our infrastructure on poetry. I started by an empty
pyproject.toml
, added our private source, then tried to add the dependencies one-by-one, until it failed onscipy
(poetry add [email protected]
). By looking at the logs (joined in the gist), it is clear that poetry found the package in both private and official repositories, but didn't want to look for wheels in the pypi.org one.The text was updated successfully, but these errors were encountered: