I am using Matthew Brett's manylinux builder setup (https://github.com/matthew-brett/multibuild) for reportlab and just started to
see this
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'
at the same time my appveyor builds have started to fail with this
c:\Python%PYTHON%\scripts\pip.exe --version
pip 18.0 from c:\python34\lib\site-packages\pip (python 3.4)
c:\Python%PYTHON%\scripts\pip.exe install wheel
Collecting wheel
Using cached
https://files.pythonhosted.org/packages/b3/bb/42354ce8c08f66ae0cd0f4a841f40ed41d709ac9c28f292bfeb383236a4a/wheel-0.32.0-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.32.0
c:\Python%PYTHON%\python.exe -W ignore setup.py bdist_wheel
================================================
Attempting build of _rl_accel & pyHnj
................
File "c:\Python34\lib\site-packages\wheel\bdist_wheel.py", line 237, in run
self.egg2dist(self.egginfo_dir, distinfo_dir)
File "c:\Python34\lib\site-packages\wheel\bdist_wheel.py", line 344, in
egg2dist
pkg_info = pkginfo_to_metadata(egginfo_path, pkginfo_path)
File "c:\Python34\lib\site-packages\wheel\metadata.py", line 88, in
pkginfo_to_metadata
for key, value in generate_requirements({extra: reqs}):
File "c:\Python34\lib\site-packages\wheel\metadata.py", line 67, in
generate_requirements
for new_req in convert_requirements(depends):
File "c:\Python34\lib\site-packages\wheel\metadata.py", line 36, in
convert_requirements
spec = requires_to_requires_dist(parsed_requirement)
File "c:\Python34\lib\site-packages\wheel\metadata.py", line 21, in
requires_to_requires_dist
if requirement.url:
AttributeError: 'Requirement' object has no attribute 'url'
Command exited with code 1
I assume these are related to wheel changes just announced. Certainly the
multibuild docker was updated to use 0.32.0
I'm not sure if I have to do something or how I can fix this.
--
Robin Becker
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at
https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/V4Q7XOL3Z7YB4KMX3O7KGJ7EEPRIP4EN/