
I have some trouble using the offered Windows wheels; the following is what I get from pip: Could not find a version that satisfies the requirement lxml (from versions: ) So I had a look at the WHEEL file inside the ZIP lxml-3.6.0-cp32-none-win32.whl to see which requirements are stated inside. Is it okay that 'Tag' is set to 'cp27-none-linux_x86_64' inside that file? Might this be the reason why no version can be found? Maybe someone can enlighten me with respect to wheels? I have to admit that I'm completely new to wheels and quite new to Python packaging but I wouldn't expect metadata with "Linux" inside a Windows wheel? Thx in advance! Kind regards, Heiko Nardmann

Hi! Heiko Nardmann schrieb am 14.04.2016 um 16:24:
Thanks for noticing. I created them under Linux by converting the MSWindows installers. If it really says "Linux" in the metadata due to that, this feels like a bug in wheel. During conversion, it should reuse whatever metadata it finds in the source file and not consider the current runtime environment. I might not have had the latest wheel version installed, though, so it could be that the bug is already fixed. Stefan

Am 14.04.2016 um 16:33 schrieb Stefan Behnel:
So do you an idea what to manually change to correct this? Inside the pip wheel e.g. I see two tag lines, first 'py2-none-any' and second 'py3-none-any'. And another question: can this wheel only be used with python 3.2? I'm using 3.4.3 - that's why I wonder whether this is compatible? Heiko

Am 14.04.2016 um 16:44 schrieb Stefan Behnel:
Okay, then I have to build it myself? Anyways ... I get a step further by changing the wheel file and renaming the WHL file from 'lxml-3.6.0-cp32-none-win32.whl' to 'lxml-3.6.0-py3-none-any.whl' although this is of course not correct. Then I get the following error: Collecting lxml Exception: Traceback (most recent call last): File "d:\debug\_make\venv\lib\site-packages\pip\basecommand.py", line 209, in main status = self.run(options, args) File "d:\debug\_make\venv\lib\site-packages\pip\commands\install.py", line 310, in run wb.build(autobuilding=True) File "d:\debug\_make\venv\lib\site-packages\pip\wheel.py", line 748, in build self.requirement_set.prepare_files(self.finder) File "d:\debug\_make\venv\lib\site-packages\pip\req\req_set.py", line 360, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "d:\debug\_make\venv\lib\site-packages\pip\req\req_set.py", line 621, in _prepare_file dist = abstract_dist.dist(finder) File "d:\debug\_make\venv\lib\site-packages\pip\req\req_set.py", line 108, in dist self.req_to_install.source_dir))[0] IndexError: list index out of range @Clark: how do I build a wheel for my 3.4.3? Or is the wheel for 3.4.4 compatible to 3.4.3? Heiko

Am .04.2016, 16:38 Uhr, schrieb Heiko Nardmann <heiko.nardmann@itechnical.de>:
No, you'll need the wheels from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml @Stefan: Python 3.2? Really, my least favourite version! ;-) Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Kronenstr. 27a Düsseldorf D- 40217 Tel: +49-211-600-3657 Mobile: +49-178-782-6226

On Thu, Apr 14, 2016 at 04:47:18PM +0200, Charlie Clark wrote:
Some Zope people offered to build Windows eggs & installers for lxml, and Stefan gracefully accepted. It's not his fault that volunteer efforts flagged and Python 3.3+ or wheels never got implemented: https://github.com/zopefoundation/zope.wineggbuilder/issues The best way forward would be if someone could contribute an appveyor.yml so lxml would have eggs + wheels built there. In fact someone just contributed such a thing for one of the Zopeland packages: https://github.com/zopefoundation/BTrees/pull/30 Perhaps somebody could step up and craft one for lxml? (I keep meaning to, but I've learned to stop volunteering for things I'm not sure I'll have the energy to finish. Currently I get my lxml wheels from https://github.com/mgedmin/wheelwright, but these are only up to Python 3.2) Marius Gedminas -- The world is really obsessing over the UI preferences of the person who gave us git? -- Matthew Garrett

Hi! Heiko Nardmann schrieb am 14.04.2016 um 16:24:
Thanks for noticing. I created them under Linux by converting the MSWindows installers. If it really says "Linux" in the metadata due to that, this feels like a bug in wheel. During conversion, it should reuse whatever metadata it finds in the source file and not consider the current runtime environment. I might not have had the latest wheel version installed, though, so it could be that the bug is already fixed. Stefan

Am 14.04.2016 um 16:33 schrieb Stefan Behnel:
So do you an idea what to manually change to correct this? Inside the pip wheel e.g. I see two tag lines, first 'py2-none-any' and second 'py3-none-any'. And another question: can this wheel only be used with python 3.2? I'm using 3.4.3 - that's why I wonder whether this is compatible? Heiko

Am 14.04.2016 um 16:44 schrieb Stefan Behnel:
Okay, then I have to build it myself? Anyways ... I get a step further by changing the wheel file and renaming the WHL file from 'lxml-3.6.0-cp32-none-win32.whl' to 'lxml-3.6.0-py3-none-any.whl' although this is of course not correct. Then I get the following error: Collecting lxml Exception: Traceback (most recent call last): File "d:\debug\_make\venv\lib\site-packages\pip\basecommand.py", line 209, in main status = self.run(options, args) File "d:\debug\_make\venv\lib\site-packages\pip\commands\install.py", line 310, in run wb.build(autobuilding=True) File "d:\debug\_make\venv\lib\site-packages\pip\wheel.py", line 748, in build self.requirement_set.prepare_files(self.finder) File "d:\debug\_make\venv\lib\site-packages\pip\req\req_set.py", line 360, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "d:\debug\_make\venv\lib\site-packages\pip\req\req_set.py", line 621, in _prepare_file dist = abstract_dist.dist(finder) File "d:\debug\_make\venv\lib\site-packages\pip\req\req_set.py", line 108, in dist self.req_to_install.source_dir))[0] IndexError: list index out of range @Clark: how do I build a wheel for my 3.4.3? Or is the wheel for 3.4.4 compatible to 3.4.3? Heiko

Am .04.2016, 16:38 Uhr, schrieb Heiko Nardmann <heiko.nardmann@itechnical.de>:
No, you'll need the wheels from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml @Stefan: Python 3.2? Really, my least favourite version! ;-) Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Kronenstr. 27a Düsseldorf D- 40217 Tel: +49-211-600-3657 Mobile: +49-178-782-6226

On Thu, Apr 14, 2016 at 04:47:18PM +0200, Charlie Clark wrote:
Some Zope people offered to build Windows eggs & installers for lxml, and Stefan gracefully accepted. It's not his fault that volunteer efforts flagged and Python 3.3+ or wheels never got implemented: https://github.com/zopefoundation/zope.wineggbuilder/issues The best way forward would be if someone could contribute an appveyor.yml so lxml would have eggs + wheels built there. In fact someone just contributed such a thing for one of the Zopeland packages: https://github.com/zopefoundation/BTrees/pull/30 Perhaps somebody could step up and craft one for lxml? (I keep meaning to, but I've learned to stop volunteering for things I'm not sure I'll have the energy to finish. Currently I get my lxml wheels from https://github.com/mgedmin/wheelwright, but these are only up to Python 3.2) Marius Gedminas -- The world is really obsessing over the UI preferences of the person who gave us git? -- Matthew Garrett
participants (4)
-
Charlie Clark
-
Heiko Nardmann
-
Marius Gedminas
-
Stefan Behnel