[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: problems with get_metadata_overrides()
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2020-06-02 5:36:30
Message-ID: 0d3346e804ed3abe89d69149383b7e30 () riverbankcomputing ! com
[Download RAW message or body]

On 02/06/2020 05:25, Phil Thompson wrote:
> On 01/06/2020 22:50, Steve Borho wrote:
>> 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.
> 
> I can't reproduce the problem by adding this simple project.py...
> 
> from sipbuild import Project
> 
> class FibProject(Project):
> 
>     def get_metadata_overrides(self):
>         return dict(version='0.7.5.dev13')
> 
> ...to the fib example.

Sorry, that test was too trivial.

Now fixed in the repo.

Phil
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic