breakages in travis-ci and ci.appveyor
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/42354ce8c08f66ae0cd0f4a841f40e... 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
Here is the relevant issue: https://github.com/pypa/auditwheel/issues/102
On Mon, Oct 1, 2018 at 7:54 AM Robin Becker
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/42354ce8c08f66ae0cd0f4a841f40e... 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-leave@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/V...
Thanks Dustin & Matthew, Appveyor pinning was relatively easy. I tried to pin in multibuild using the approach of pillow, but now I am getting
macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Traceback (most recent call last): File "multibuild/supported_wheels.py", line 38, in <module> main() File "multibuild/supported_wheels.py", line 32, in main tags = set(tags_for(fname)) File "multibuild/supported_wheels.py", line 21, in tags_for parsed_filename = WHEEL_INFO_RE.match(basename(fname)) AttributeError: 'builtin_function_or_method' object has no attribute 'match'
in OSX and the same for manylinux. I think that's related to changes in "multibuild/supported_wheels.py" intended to address wheel 0.32.0 :( On 01/10/2018 16:03, Dustin Ingram wrote:
Here is the relevant issue: https://github.com/pypa/auditwheel/issues/102
On Mon, Oct 1, 2018 at 7:54 AM Robin Becker
wrote: I am using Matthew Brett's manylinux builder setup ( https://github.com/matthew-brett/multibuild) for reportlab and just started to .........
-- Robin Becker
Hi,
On Mon, Oct 1, 2018 at 3:51 PM Robin Becker
Thanks Dustin & Matthew,
Appveyor pinning was relatively easy. I tried to pin in multibuild using the approach of pillow, but now I am getting
macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Traceback (most recent call last): File "multibuild/supported_wheels.py", line 38, in <module> main() File "multibuild/supported_wheels.py", line 32, in main tags = set(tags_for(fname)) File "multibuild/supported_wheels.py", line 21, in tags_for parsed_filename = WHEEL_INFO_RE.match(basename(fname)) AttributeError: 'builtin_function_or_method' object has no attribute 'match'
in OSX and the same for manylinux. I think that's related to changes in "multibuild/supported_wheels.py" intended to address wheel 0.32.0 :(
Thanks for the report. I think that's fixed now, in the `devel` branch of multibuild. Nathaniel just merged the PR to Manylinux, so I think there is no longer any need to pinning the wheel version (doesn't need pinning on Mac, already pinned on Manylinux). Cheers, Matthew
On 01/10/2018 20:17, Matthew Brett wrote:
Hi, ...............
in OSX and the same for manylinux. I think that's related to changes in "multibuild/supported_wheels.py" intended to address wheel 0.32.0 :(
Thanks for the report. I think that's fixed now, in the `devel` branch of multibuild.
Nathaniel just merged the PR to Manylinux, so I think there is no longer any need to pinning the wheel version (doesn't need pinning on Mac, already pinned on Manylinux).
I confirm that for reportlab builds at least - BUILD_DEPENDS="wheel==0.31.1" - TEST_DEPENDS="pillow wheel==0.31.1" works for 2.7,3.4-3.7 manylinux i686 x86_64 and OSX as does removing 'wheel==0.31.1' (no pinning) If I try pinning like this - BUILD_DEPENDS="wheel==0.32.0" - TEST_DEPENDS="pillow wheel==0.32.0" than I get failures in the manylinux 3.6 builds (auditwheel ImportError: cannot import name 'open_for_csv') I think that's expected from auditwheel as it seems not to be behind the wheel :) -- Robin Becker
participants (3)
-
Dustin Ingram
-
Matthew Brett
-
Robin Becker