problems with get_metadata_overrides()

Steve Borho steve at borho.org
Mon Jun 1 22:50:11 BST 2020


Hello,

First, thanks for the new get_metadata_overrides() in sip-5.3, this is quite helpful.

Unfortunately, when I use the function the resultant wheel files are invalid.  It looks like it might be a problem with sip-distinfo.

% sip-wheel —verbose
<SNIP>
/home/sborho/uhenv/bin/sip-distinfo --inventory /tmp/tmp8_5xo7c1/inventory.txt --project-root /home/sborho/repos/foo/python --prefix "" --generator sip-wheel --wheel-tag cp36-cp36m-manylinux2014_x86_64 <SNIP> --requires-dist "PyQt5-sip (>=12.8, <13)" --requires-dist "numpy" --requires-dist "six" --requires-dist "argh" --requires-dist "tftpy >= 0.6.2" --requires-dist "pyserial >= 3.3" --metadata version=0.7.5.dev13 /tmp/tmp8_5xo7c1/wheel/foo-0.7.5.dev13.dist-info

% pip install foo-0.7.5.dev13-cp36-cp36m-manylinux2014_x86_64.whl
ERROR: foo has an invalid wheel, .dist-info directory not found

If I comment out get_metadata_overrides() in project.py; the resulting wheel is ok.  I’ve verified this behavior on Mac and Linux.

I am using these packages:

PyQt-builder==1.4.0
PyQt5==5.15.0
PyQt5-sip==12.8.0
PyQtDataVisualization==5.15.0
QScintilla==2.11.4
sip==5.3.0

PyQt5-5.15.0 was sip-installed from the source tar-ball.

Regards,

Steve Borho


More information about the PyQt mailing list