[Python-modules-team] Bug#772506: more tests

David Douard david.douard at logilab.fr
Mon Dec 8 08:45:05 UTC 2014


A bit more investigations on this problem.

In a fresh virtualenv (on a jessie box):

(tst)root at ead8881e8ed5:/# pip install requests
Downloading/unpacking requests
  Downloading requests-2.5.0-py2.py3-none-any.whl (464kB): 464kB downloaded
Installing collected packages: requests
Successfully installed requests
Cleaning up...
(tst)root at ead8881e8ed5:/# time python -c "import requests" 

real    0m0.087s
user    0m0.044s
sys     0m0.040s

(tst)root at ead8881e8ed5:/# pip install ndg-httpsclient
[...]
(req)root at ead8881e8ed5:/req# time python -c "import requests" 
/req/local/lib/python2.7/site-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type
  warnings.warn(import_error_msg)
/req/local/lib/python2.7/site-packages/ndg/httpsclient/ssl_peer_verification.py:24: UserWarning: SubjectAltName support is disabled - check pyasn1 package installation to enable
  warnings.warn(SUBJ_ALT_NAME_SUPPORT_MSG)
/req/local/lib/python2.7/site-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type
  warnings.warn(import_error_msg)

real    0m0.100s
user    0m0.080s
sys     0m0.012s

(req)root at ead8881e8ed5:/req# pip install pyasn1
[...]
(req)root at ead8881e8ed5:/req# time python -c "import requests" 

real    0m0.769s
user    0m0.712s
sys     0m0.052s



-- 

David DOUARD		 LOGILAB
Directeur du département Outils & Systèmes

+33 1 45 32 03 12	 david.douard at logilab.fr
+33 1 83 64 25 26	 http://www.logilab.fr/id/david.douard

Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: david_douard.vcf
Type: text/x-vcard
Size: 302 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20141208/24f38fac/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20141208/24f38fac/attachment.sig>


More information about the Python-modules-team mailing list