piwheels / piwheels

Python package repository providing wheels (pre-built binaries) for Raspberry Pi
https://www.piwheels.org/
Other
244 stars 24 forks source link

Missing FAQs #221

Open bennuttall opened 4 years ago

bennuttall commented 4 years ago

Got a question about piwheels? Ask it here and we'll consider adding it (and the answer) to the FAQs.

bennuttall commented 4 years ago
amundgr commented 3 years ago

I have tried to look for an answer to this online, but I can't seem to find it so here I go:

Why are there no python 3.6 wheels for numpy, python-opencv, matplotlib, etc.? I feel like I am missing something obvious, but I just can't seem to find the answer anywhere. Sorry if this is the wrong place to ask.

bennuttall commented 3 years ago

It's mentioned on the homepage that we provide wheels for Jessie/Stretch/Buster and this is covered in the FAQs but I could add more detail about versions we don't build for. Here's what it says:

We build for the ABI of the Python 3 version distributed with Debian releases:

Jessie - Python 3.4 Stretch - Python 3.5 Buster - Python 3.7

Each Debian release comes with a specific Python version, shown above. We build wheels using the system Python in each of these Debian versions. There is no Debian release with Python 3.6, so we don't build 3.6 wheels. Buster is the latest stable Debian release, and it comes with Python 3.7. We won't build for any further Python versions until the next stable Debian release is available.

It's possible to build other Python versions from source, so why don't we do this and build wheels for every Python version? Two reasons:

Hope that helps. Will aim to write a concise version of this up for the FAQs.

wolet-ft commented 3 years ago

Are there plans to move to Python 3.8 or even 3.9 for Buster? There is currently a problem with asyncio (CookieError) for Python versions < 3.8 (see: https://github.com/freqtrade/freqtrade/issues/4356, or https://github.com/encode/starlette/blob/99b37781eb88cfc2f7064724975ac5d93d623ea7/starlette/responses.py#L17-L18)

bennuttall commented 3 years ago

No - we only build for system Python versions - but Bullseye comes out this summer with 3.9. See my previous comment as to why.

wolet-ft commented 3 years ago

Cool!

jedie commented 2 years ago

Oh, i found this issue entry now, after creating Include piwheels into lock file #260 ... Don't know it it's a entry for FAQ?!?

gpongelli commented 1 year ago

Similar question from previous comment, but two year later: are there plan to support bookworm (or, more generally, any testing) release? What about python 3.10 and 3.11 support?

bennuttall commented 1 year ago

We'll start building for 3.11 on Bookworm as it gets close to release.

gpongelli commented 1 year ago

We'll start building for 3.11 on Bookworm as it gets close to release.

Isn’t it already released? I see official images are already bookworm based.

bennuttall commented 1 year ago

No, they're Bullseye.

https://www.debian.org/releases/bookworm/

gpongelli commented 1 year ago

Sorry, I often confuse them.

So, generally speaking, Debian testing branch is not planned to be supported (even if it can be installed in rpi), right?

bennuttall commented 1 year ago

No, it wouldn't be useful as the dependencies packages are build against would change over time.

kdewald commented 1 year ago

Hi! I'm the maintainer of SimplePyBLE and I'm currently working on making the package available for Raspberry Pi.

This library is made of pybind11 bindings over a C++ library, which also depends on libdbus-1-dev to be compiled.

I couldn't find any instructions of what steps I would need to take to distribute the source file correctly on PyPI so that it can get picked up by PiWheels. Any help is appreciated!

gpongelli commented 1 year ago

Hi! I'm the maintainer of SimplePyBLE and I'm currently working on making the package available for Raspberry Pi.

This library is made of pybind11 bindings over a C++ library, which also depends on libdbus-1-dev to be compiled.

I couldn't find any instructions of what steps I would need to take to distribute the source file correctly on PyPI so that it can get picked up by PiWheels. Any help is appreciated!

Hi @kdewald , I saw you're using cibuildwheel, probably it's already done but the github workflow uploads only the wheel.

Just as a check, add a stage to only list the files into wheelhouse folder, like I did here, probably the tar.gz file is already there.

bennuttall commented 1 year ago

Can we discuss this elsewhere please? If needed, open an issue from this page (but it sounds like a maintainer problem not a piwheels problem)