On 19/11/14 08:17, Stefano Rivera wrote: > Hi Renat (2014.08.06_05:27:47_-0700) >> I tried to replace {} with % operator and now I'm having following errors: > >> ImportError: cannot import name CertificateError > > That is being tracked in #755106 and #763389, and I intend to fix it > soon. > > SR >
With #755106 and #763389 resolved the attached patch now fixes this issue for me.
Index: python-virtualenv-1.11.6+ds-1/debian/patches/use-wheels.patch =================================================================== --- python-virtualenv-1.11.6+ds-1/debian/patches/use-wheels.patch +++ python-virtualenv-1.11.6+ds-1/debian/patches/use-wheels.patch @@ -89,9 +89,9 @@ + if error.errno != errno.EEXIST: + raise + for project in DEBIAN_WHEEL_DEPS: + wheel_names = glob.glob( ++ '/usr/share/python-wheels/{0}-*.whl'.format(project)) -+ '/usr/share/python-wheels/{}-*.whl'.format(project)) + if len(wheel_names) == 0: + raise RuntimeError('missing dependency wheel %s' % project) + assert len(wheel_names) == 1, wheel_names + wheel_name = os.path.basename(wheel_names[0])