Dependency issues seen using pyqtdeploy 3.x, where 2.x seemed to work fine

Phil Thompson phil at riverbankcomputing.com
Mon Feb 28 16:56:25 GMT 2022


On 24/01/2022 14:46, Gerard Marull Paretas wrote:
> So I'm still failing to solve issues on some stdlib packages such as
> asyncio.
> 
> 1. I've modified pyqt-demo.py so that it import asyncio
> 2. Added "Python:asyncio" to "parts" list in pyqt-demo.pdt
> 3. Rebuilt (linux-64 target). Then observe
> 
> Traceback (most recent call last):
>   File "pyqt-demo.py", line 11, in <module>
>     import asyncio
>   File "bootstrap-3.7.0.py", line 983, in _find_and_load
>   File "bootstrap-3.7.0.py", line 965, in _find_and_load_unlocked
> ModuleNotFoundError: No module named 'asyncio'
> 
> So, what is the way to include packages such as asyncio? This doesn't 
> seem
> to happen for packages such as argparse.

There was a bug in the metadata for multiprocessing.reduction that meant 
it, and everything that depended on it, was Windows only.

It is fixed in the current repo (and the next snapshot).

I'll make a bug-fix release some time this week.

Thanks,
Phil


More information about the PyQt mailing list