Closed jsetton closed 6 years ago
An option to keep egg files was added upstream after the last enware update - https://github.com/openwrt/packages/commit/074d2863be48c1a9093fffcda91f7a328bc7d0cb
We will add this on next sync.
Great. Thanks for the update.
The upcoming version has the same behaviour. Probably you should report this upstream.
@zyxmon thanks for the update although I am confused of this outcome since you provided the change added upstream above, which also was merged. How were you able to come to this conclusion? Is there another issue opened that you are looking at?
I have just checked the upcoming python update. It has the change added upstream. It has a bug. IMHO package installation does not have some files/info need for pip to list installed modules,
Do you think you could list the files part of the package I used as an example above for the upcoming version? I will report this upstream as you recommended using that information. Thanks.
So I took a look at this again and I am wondering if the new upstream keep egg files option was enabled during the last entware-ng build? As far as I can see, this option (PYTHON_KEEP_EGGINFO) defaults to off if not specified which would explain why the behavior didn't change.
We will check. Probably we will change PYTHON_KEEP_EGGINFO in https://github.com/Entware-for-kernel-3x/entware-packages-3x/blob/master/lang/python/python/files/python-package.mk#L35 next build in Entware-3x end Entware-ng.
Thanks
Package: python-idna
Prior to the latest update (September '17), the Python modules installed via opkg were visible to pip. When installing the latest version, pip no longer sees the installed packages and tries to install from the Python package repository instead, which on devices with no available compiling tools is a big problem. When looking at the files differences for a given module, I noticed that the dist or egg-info files have been removed in the latest version preventing, most likely, pip from tracking these installed modules.
I use python-idna as an example.
Platform:
Asus RT-AC66U Linux 2.6.22.19 mips GNU/Linux