Building wheel fails on Python 3.5 (homebrew) on OS X 10.11

Bug #1504926 reported by Andriy Yurchuk on 2015-10-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Undecided
Unassigned

Bug Description

Building lxml wheel fails with the following output:

====================================
$ pip install lxml
Collecting lxml
  Using cached lxml-3.4.4.tar.gz
Building wheels for collected packages: lxml
  Running setup.py bdist_wheel for lxml
  Complete output from command /Users/ay/virtualenvs/filmklapper/bin/python3.5 -c "import setuptools;__file__='/private/var/folders/n_/qfnmv2tj5594nbl68b3v79f00000gn/T/pip-build-_febucuj/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/n_/qfnmv2tj5594nbl68b3v79f00000gn/T/tmp2bqs1bm_pip-wheel-:
  Building lxml version 3.4.4.
  Building without Cython.
  Using build configuration of libxslt 1.1.28
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.11-x86_64-3.5
  creating build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/__init__.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/_elementpath.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/builder.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/cssselect.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/doctestcompare.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/ElementInclude.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/sax.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/usedoctest.py -> build/lib.macosx-10.11-x86_64-3.5/lxml
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/__init__.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/__init__.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/builder.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/clean.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/defs.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/diff.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/formfill.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/html5parser.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/soupparser.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/html
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron
  copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron
  copying src/lxml/lxml.etree.h -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.11-x86_64-3.5/lxml
  copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/config.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.11-x86_64-3.5/lxml/includes
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/rng
  copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/rng
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl
  copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl
  copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl
  creating build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  running build_ext
  building 'lxml.etree' extension
  creating build/temp.macosx-10.11-x86_64-3.5
  creating build/temp.macosx-10.11-x86_64-3.5/src
  creating build/temp.macosx-10.11-x86_64-3.5/src/lxml
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/libxml2 -I/private/var/folders/n_/qfnmv2tj5594nbl68b3v79f00000gn/T/pip-build-_febucuj/lxml/src/lxml/includes -I/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c src/lxml/lxml.etree.c -o build/temp.macosx-10.11-x86_64-3.5/src/lxml/lxml.etree.o -w -flat_namespace
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.11-x86_64-3.5/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.macosx-10.11-x86_64-3.5/lxml/etree.cpython-35m-darwin.so
  building 'lxml.objectify' extension
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/libxml2 -I/private/var/folders/n_/qfnmv2tj5594nbl68b3v79f00000gn/T/pip-build-_febucuj/lxml/src/lxml/includes -I/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c src/lxml/lxml.objectify.c -o build/temp.macosx-10.11-x86_64-3.5/src/lxml/lxml.objectify.o -w -flat_namespace
  clang -bundle -undefined dynamic_lookup build/temp.macosx-10.11-x86_64-3.5/src/lxml/lxml.objectify.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.macosx-10.11-x86_64-3.5/lxml/objectify.cpython-35m-darwin.so
  installing to build/bdist.macosx-10.11-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.macosx-10.11-x86_64
  creating build/bdist.macosx-10.11-x86_64/wheel
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/__init__.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/_elementpath.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/builder.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/cssselect.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/doctestcompare.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/ElementInclude.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/etree.cpython-35m-darwin.so -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/__init__.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/_diffcommand.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/_html5builder.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/_setmixin.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/builder.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/clean.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/defs.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/diff.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/ElementSoup.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/formfill.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/html5parser.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/soupparser.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/html/usedoctest.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/html
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/__init__.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/c14n.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/config.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/dtdvalid.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/etree_defs.h -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/etreepublic.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/htmlparser.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/lxml-version.h -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/relaxng.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/schematron.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/tree.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/uri.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/xinclude.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/xmlerror.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/xmlparser.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/xmlschema.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/xpath.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/includes/xslt.pxd -> build/bdist.macosx-10.11-x86_64/wheel/lxml/includes
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/__init__.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/rng
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/rng
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl
  creating build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/bdist.macosx-10.11-x86_64/wheel/lxml/isoschematron/resources/xsl
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/lxml.etree.h -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/lxml.etree_api.h -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/objectify.cpython-35m-darwin.so -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/pyclasslookup.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/sax.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  copying build/lib.macosx-10.11-x86_64-3.5/lxml/usedoctest.py -> build/bdist.macosx-10.11-x86_64/wheel/lxml
  running install_egg_info
  running egg_info
  writing requirements to src/lxml.egg-info/requires.txt
  writing top-level names to src/lxml.egg-info/top_level.txt
  writing dependency_links to src/lxml.egg-info/dependency_links.txt
  writing src/lxml.egg-info/PKG-INFO
  /usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'bugtrack_url'
    warnings.warn(msg)
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'src/lxml.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'src/lxml.egg-info/SOURCES.txt'
  Copying src/lxml.egg-info to build/bdist.macosx-10.11-x86_64/wheel/lxml-3.4.4-py3.5.egg-info
  running install_scripts
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/n_/qfnmv2tj5594nbl68b3v79f00000gn/T/pip-build-_febucuj/lxml/setup.py", line 230, in <module>
      **setup_extra_options()
    File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/Users/ay/virtualenvs/filmklapper/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 213, in run
      archive_basename = self.get_archive_basename()
    File "/Users/ay/virtualenvs/filmklapper/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 161, in get_archive_basename
      impl_tag, abi_tag, plat_tag = self.get_tag()
    File "/Users/ay/virtualenvs/filmklapper/lib/python3.5/site-packages/wheel/bdist_wheel.py", line 155, in get_tag
      assert tag == supported_tags[0]
  AssertionError

  ----------------------------------------
  Failed building wheel for lxml
Failed to build lxml
Installing collected packages: lxml
  Running setup.py install for lxml
Successfully installed lxml-3.4.4
$
====================================

Tried both 3.4.4 and 3.5.0b1 and both fail with the same error. Installation on the same machine with Python 2.7 (homebrew) works fine.

System info:
====================================
$ python
Python 3.5.0 (default, Sep 23 2015, 04:41:38)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> from lxml import etree
>>>
>>> print("%-20s: %s" % ('Python', sys.version_info))
Python : sys.version_info(major=3, minor=5, micro=0, releaselevel='final', serial=0)
>>> print("%-20s: %s" % ('lxml.etree', etree.LXML_VERSION))
lxml.etree : (3, 5, 0, -99)
>>> print("%-20s: %s" % ('libxml used', etree.LIBXML_VERSION))
libxml used : (2, 9, 2)
>>> print("%-20s: %s" % ('libxml compiled', etree.LIBXML_COMPILED_VERSION))
libxml compiled : (2, 9, 2)
>>> print("%-20s: %s" % ('libxslt used', etree.LIBXSLT_VERSION))
libxslt used : (1, 1, 28)
>>> print("%-20s: %s" % ('libxslt compiled', etree.LIBXSLT_COMPILED_VERSION))
libxslt compiled : (1, 1, 28)
>>>
====================================

Looks like this bug might be related: https://github.com/pypa/pip/issues/2875

Jon Skarpeteig (jskarpet) wrote :

Why not publish a precompiled wheel directly to PyPI?

Mikhail Korobov (kmike84) wrote :

I've had a similar failure on Travis; it was caused by outdated wheel package. Travis had wheel==0.24, upgrading it to wheel==0.26 fixed the issue.

Dan Loewenherz (dloewenherz) wrote :

Mikhail, your solution worked for me as well (Mac OS X 10.11). Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers