piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Include piwheels into lock file #260

Open jedie opened 2 years ago

jedie commented 2 years ago

I try to fix the installation of matplotlib on a Raspberry Pi, see: install matplotlib binary doesn't work in RPi! django-for-runners_ynh/issues/19

The problem: Only piwheels.org contains the arm wheel binary and pypi.org not. I create the poetry.lock on my non ARM system, so it doesn't contain the arm wheel.

I tried to add this to my pyproject.toml:

+[[tool.poetry.source]]
+name = "piwheels.org"
+url = "https://www.piwheels.org/simple"
+secondary = true

But this also doesn't insert the piwheels arm wheels in poetry.lock and/or exported requirements.txt :(

Is this a limitation of Poetry? I also ask this here: https://github.com/python-poetry/poetry/discussions/4816 Any work-a-rounds?