Tiny Core Base > Raspberry Pi

python piwheels could this build cache be useful to picore / arch arm ?

(1/1)

mocore:

 https://www.piwheels.org/

i searched the forum and found only one mention of piwheels ( so i guess nobody is currently using using this for picore! )

in this thread : http://forum.tinycorelinux.net/index.php/topic,21868.msg136857.html#msg136857

 that mentions missing run  time dependency ( https://xkcd.com/754/ # Dependencies ) 

 also that in some cases builds for different arm arch versions might be incompatible
 https://github.com/piwheels/piwheels/issues/201 # Warn on project pages when armv7 wheels are not compatible with armv6



--- Quote from: piwheels-building-a-faster-python-package-repository-for-raspberry-pi-users ---piwheels aims to build everything.
--- End quote ---
:o


--- Quote from: piwheels.org/faq.html ---What about Ubuntu? What about other distros?

The repository at piwheels.org does not support Ubuntu or other distributions. It's possible some wheels will work on other distributions, but we can't promise that they will. Wheels are built against certain shared libraries which we know are available to Raspberry Pi OS / Raspbian users too.

It would be possible for someone to run their own instance of piwheels to build wheels on and for another distribution, like Ubuntu. To those interested in doing this, please see the docs, and feel free to get in touch.


--- End quote ---

---

 doing a little digging in to the history of the project  , i found the below links & quotes

 https://opensource.com/article/20/1/piwheels


--- Quote ---The configuration file (at /etc/pip.conf) tells pip to use piwheels.org as an additional index, so pip looks at PyPI first, then piwheels.
...
Note that many pure-Python packages, such as urllib3, are provided as wheels on PyPI; because these are compatible across platforms, they're not usually downloaded from piwheels because PyPI takes precedence.
--- End quote ---

 https://bennuttall.com/piwheels-building-a-faster-python-package-repository-for-raspberry-pi-users/

...

--- Quote ---You can .. install packages from the piwheels server using:
--- End quote ---


--- Code: ---sudo pip3 install <package> -i https://www.piwheels.hostedpi.com/simple
--- End code ---


--- Quote ---or as an additional index:
--- End quote ---

--- Code: ---sudo pip3 install <package> --extra-index-url https://www.piwheels.hostedpi.com/simple
--- End code ---


https://github.com/piwheels/piwheels


has any one given this sort of thing any consideration in the past / or currently ??

 ???

Juanito:
If I understand correctly, piwheels is like pip except that, where a python package contains c code, piwheels provides a prebuilt package whereas pip compiles it natively on your machine.

If the above is true, then the end result is the same and you will end up with the python package(s) in ram rather than as part of a tinycore extension.

Paul_123:
We are moving to Python3.8 too, which appears they do not have wheels there.  Then there is aarch64 which they do not support yet.

Compiling most python packages take very little time, creating the dependency chain and building extensions out of them is where the extra time comes in.....

mocore:
...
any one heard of used uv(2tcz?) ? ... or similar (metaist/cosmofy , ect )

eg https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/
wrt

--- Quote from: Paul_123 on September 07, 2020, 08:00:22 AM ---Compiling most python packages take very little time, creating the dependency chain and building extensions out of them is where the extra time comes in.....

--- End quote ---

Navigation

[0] Message Index

Go to full version