Open Cykooz opened 9 years ago
Thanks for the hint. It seems this need some work to be fixed because URLOpener is no longer used when running with python 2 but out patch is based on URLOpener.
Workaround: run bootstrap with -v option and provide a working zc.buildout version.
Example: python bootstrap.py -v 2.0.0
Yes, I will be use this workaround, and I hope what you can a quick fix errors in the lovely.buildouthttp :)
@jukart got any timeframe for fixing this?
Apparently zc.buildout == 2.4.0 also works. I also needed to pin six to new version and make sure setuptools is recent enough. Sigh.
I then managed to have buildout run - up to the point of basic auth with remote PyPI server, at which point I now always get unauthorized 401. Switching back to lovely.buildouthttp 0.5.0 works.
Given all this, from my point of view, lovely.buildouthttp > 0.50 is currently completely useless on Python2. Cannot make it work.
I'm using zc.buildout 2.5.1 and lovely.buildouthttp 0.6.1 on Python 3.5. I'm getting:
File "/<buildout_path>/eggs/lovely.buildouthttp-0.6.1-py3.5.egg/lovely/buildouthttp/buildouthttp.py", line 331, in <module>
class URLOpener(download.URLOpener):
AttributeError: module 'zc.buildout.download' has no attribute 'URLOpener'
Is there a fix to this?
@marcoBanse you can try cykooz.buildout.basicauth. It is my fork of isotoma.buildout.basicauth and it has support of Python 3+.
@Cykooz Man, thanks a lot, I could install it and it works out of the box with my ~/.pypirc. Now I can go to weekend!