problems with get_metadata_overrides()

Steve Borho <[email protected]> Mon, 1 Jun 2020 16:50:11 -0500
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
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 =E2=80=94verbose
<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 (>=3D12.8, <13)" --requires-dist "numpy" --requires-dist =
"six" --requires-dist "argh" --requires-dist "tftpy >=3D 0.6.2" =
--requires-dist "pyserial >=3D 3.3" --metadata version=3D0.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=E2=80=99ve verified this behavior on Mac and Linux.

I am using these packages:

PyQt-builder=3D=3D1.4.0
PyQt5=3D=3D5.15.0
PyQt5-sip=3D=3D12.8.0
PyQtDataVisualization=3D=3D5.15.0
QScintilla=3D=3D2.11.4
sip=3D=3D5.3.0

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

Regards,

Steve Borho=