[ITK] SimpleITK Python wheels?
Matthew Brett
matthew.brett at gmail.com
Sat Jul 30 22:45:30 EDT 2016
Hi,
On Sun, Jul 31, 2016 at 3:28 AM, Bradley Lowekamp <brad at lowekamp.net> wrote:
> That is awesome you are looking to use SimpleITK in a course! If you have not found them yet, we have some Jupyter notebooks which may be of help:
>
> http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/
>
> They contain a variety of introductory and advanced topics which may be of use.
>
> There are more comments below.
>
>
>> On Jul 30, 2016, at 7:26 PM, Matthew Brett <matthew.brett at gmail.com> wrote:
>>
>> Hi,
>>
>> On Sat, Jul 30, 2016 at 11:22 PM, Bradley Lowekamp <brad at lowekamp.net> wrote:
>>> Hello,
>>>
>>> Thank you for your interest with SimpleITK.
>>>
>>> You can read how to install with pip here:
>>> https://itk.org/Wiki/SimpleITK/GettingStarted#Generic_Distribution
>>>
>>> For some reason I believe audit wheel changed the version from 0.10.0 to 0.10.0.0:
>>
>>> https://pypi.python.org/pypi/SimpleITK/0.10.0.0
>>
>> That is strange - maybe worth a bug report to auditwheel? Is that in
>> the wheel metadata - I see the filenames are correct. How did you
>> upload the wheels - with twine?
>
> I need to investigate it more. The filename was consistent with 0.10.0.0. I didn’t think anything of it until I made the release and uploaded the files with twine. Then like you I could not find them. I tries renaming them with 0.10.0, but I guess the versions in the wheel metadata.
>
I see that the filenames inside the wheel match the original version:
$ unzip SimpleITK-0.10.0-cp27-cp27m-manylinux1_i686.whl
Archive: SimpleITK-0.10.0-cp27-cp27m-manylinux1_i686.whl
inflating: SimpleITK-0.10.0.0.data/purelib/SimpleITK/__init__.py
inflating: SimpleITK-0.10.0.0.data/purelib/SimpleITK/SimpleITK.py
inflating: SimpleITK-0.10.0.0.data/purelib/SimpleITK/_SimpleITK.so
inflating: SimpleITK-0.10.0.0.dist-info/DESCRIPTION.rst
inflating: SimpleITK-0.10.0.0.dist-info/metadata.json
inflating: SimpleITK-0.10.0.0.dist-info/top_level.txt
inflating: SimpleITK-0.10.0.0.dist-info/WHEEL
inflating: SimpleITK-0.10.0.0.dist-info/METADATA
inflating: SimpleITK-0.10.0.0.dist-info/RECORD
In SimpleITK-0.10.0.0.dist-info/METADATA there is:
Version: 0.10.0.0
but I don't know if that is where twine gets the version number - I
had assumed (and have some vague feeling I had evidence) that the
version comes from the file name, but maybe you have refuted that.
It is possible to make another release of binary files with the same
version, using the "build-tag" feature - see
https://github.com/h5py/h5py/issues/731#issuecomment-230826012 . I
wonder whether you could just delete the 0.10.0.0 release, rebuild the
wheels with the correct version number, and then re-upload the
manylinux files to the 0.10.0 release, with an increment to the build
tag number, as in something like:
SimpleITK-1-0.10.0-cp27-cp27m-manylinux1_i686.whl
etc (see https://gist.github.com/matthew-brett/1b2e76d0f4993c1ff6c1ed4d16a7384d).
If it really is an auditwheel bug, it would be good to nail that down...
> Do you know the way to contact the pypi maintainers to make this request?
How about emailing the `wheel-builders` mailing list at a first pass -
I think the relevant people are on there:
https://mail.python.org/mailman/listinfo/wheel-builders
Cheers,
Matthew
More information about the Community
mailing list