Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Resolved auditwheel error by further pinning of wheel to 0.31.1 #102

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

radarhere
Copy link
Member

I have found new errors generated on Linux by the upgrade to wheel 0.32, so this is a sequel to #100.

https://travis-ci.org/python-pillow/pillow-wheels/jobs/435427307#L4860

Traceback (most recent call last):
  File "/usr/local/bin/auditwheel", line 11, in <module>
    sys.exit(main())
  File "/opt/_internal/cpython-3.6.6/lib/python3.6/site-packages/auditwheel/main.py", line 49, in main
    rval = args.func(args, p)
  File "/opt/_internal/cpython-3.6.6/lib/python3.6/site-packages/auditwheel/main_repair.py", line 43, in execute
    from .repair import repair_wheel
  File "/opt/_internal/cpython-3.6.6/lib/python3.6/site-packages/auditwheel/repair.py", line 13, in <module>
    from .wheeltools import InWheelCtx, add_platforms
  File "/opt/_internal/cpython-3.6.6/lib/python3.6/site-packages/auditwheel/wheeltools.py", line 14, in <module>
    from wheel.util import urlsafe_b64encode, open_for_csv, native  # type: ignore
ImportError: cannot import name 'open_for_csv'

auditwheel uses Python 3, so I've pinned the wheel for Python 3 using another custom function.

@hugovk
Copy link
Member

hugovk commented Oct 1, 2018

Great timing :)

I've reported this upstream: pypa/auditwheel#102.

@radarhere radarhere merged commit 58e29c2 into python-pillow:master Oct 1, 2018
@radarhere radarhere deleted the wheel branch October 1, 2018 07:10
jni added a commit to scikit-image/multibuild that referenced this pull request Oct 1, 2018
0.32 broke the universe. See the following for more info:

pypa/auditwheel#102
pypa/wheel#255
python-pillow/pillow-wheels#102
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants