fails to install req (DistlibException)
2013-11-03 18:23:48,520:curdling.services.base:DEBUG:finder.start()
2013-11-03 18:23:48,521:curdling.services.base:DEBUG:downloader.start()
2013-11-03 18:23:48,523:curdling.services.base:DEBUG:curdler.start()
2013-11-03 18:23:48,524:curdling.services.base:DEBUG:dependencer.start()
2013-11-03 18:23:48,525:curdling.services.base:DEBUG:downloader.queue(from="main", data="{u'url': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default', 'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}")
2013-11-03 18:23:48,525:curdling.services.base:DEBUG:downloader[Thread-11].run(data="{u'url': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default', 'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}")
2013-11-03 18:23:49,189:curdling.services.base:DEBUG:downloader[Thread-11].run(data="{u'url': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default', 'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}"): {u'directory': '/tmp/tmp9Zmflc', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}
2013-11-03 18:23:49,190:curdling.services.base:DEBUG:curdler.queue(from="downloader", data="{u'directory': '/tmp/tmp9Zmflc', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}")
2013-11-03 18:23:49,190:curdling.services.base:DEBUG:curdler[Thread-21].run(data="{u'directory': '/tmp/tmp9Zmflc', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}")
2013-11-03 18:23:49,327:curdling.services.base:DEBUG:curdler[Thread-21].run(data="{u'directory': '/tmp/tmp9Zmflc', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}"): {u'wheel': u'/home/starenka/.curds/template_utils-mycompany-py27-none-any.whl', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}
2013-11-03 18:23:49,328:curdling.services.base:DEBUG:dependencer.queue(from="curdler", data="{u'wheel': u'/home/starenka/.curds/template_utils-mycompany-py27-none-any.whl', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}")
2013-11-03 18:23:49,328:curdling.services.base:DEBUG:dependencer[Thread-31].run(data="{u'wheel': u'/home/starenka/.curds/template_utils-mycompany-py27-none-any.whl', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}")
2013-11-03 18:23:49,328:curdling.services.base:ERROR:dependencer[Thread-31].run(from="curdler", data="{u'wheel': u'/home/starenka/.curds/template_utils-mycompany-py27-none-any.whl', u'requirement': 'hg+ssh://[email protected]//home/mycompany/repos/3rdparty/template_utils@default'}") failed:
/data/.envs/ae662e1269652509/local/lib/python2.7/site-packages/curdling/services/base.py:79 (_worker) result = self(requester, **sender_data) or {}
Traceback (most recent call last):
File "/data/.envs/ae662e1269652509/local/lib/python2.7/site-packages/curdling/services/base.py", line 79, in _worker
result = self(requester, **sender_data) or {}
File "/data/.envs/ae662e1269652509/local/lib/python2.7/site-packages/curdling/services/base.py", line 66, in __call__
return self.handle(requester, kwargs)
File "/data/.envs/ae662e1269652509/local/lib/python2.7/site-packages/curdling/services/dependencer.py", line 16, in handle
wheel = Wheel(data['wheel'])
File "/data/.envs/ae662e1269652509/local/lib/python2.7/site-packages/distlib/wheel.py", line 159, in __init__
'filename: %r' % filename)
DistlibException: Invalid name or filename: u'template_utils-mycompany-py27-none-any.whl'
This error happens because the new binary file format for python packages (wheel) didn't like the version number in the package template_utils-mycompany-py27-none-any.whl. It should work if you change it to anything compatible to the PEP-0440.
Interesting. a wheel file can be generated with a non standard version number, but it can't be read!
It's not actually a bug in curdling but I'm definitely interested in fixing it on distlib or wherever it is happening.
Thanks for the heads up!
Thanks for hint, but the version nr was '1.0.0', which I've changed in pure desperation to '1.0', which produces same error (even if i rm the already existing wheel file in ~/.curds before reruning).. ;)