[tahoe-lafs-trac-stream] [tahoe-lafs] #2193: pyOpenSSL 0.14 pulls in a bunch of new dependencies
tahoe-lafs
trac at tahoe-lafs.org
Wed Mar 5 04:06:59 UTC 2014
#2193: pyOpenSSL 0.14 pulls in a bunch of new dependencies
-------------------------+-------------------------------------------------
Reporter: daira | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: | Version: 1.10.0
packaging | Keywords: packaging setuptools pyopenssl
Resolution: | cryptography six cffi pycparser
Launchpad Bug: |
-------------------------+-------------------------------------------------
Description changed by daira:
Old description:
> {{{
> cat pyOpenSSL-0.14-py2.7.egg/EGG-INFO/requires.txt
> cryptography>=0.2.1
> six>=1.5.2
> }}}
>
> `cryptography` in turn depends on `cffi` and `pycparser`, resulting in
> the following warnings:
> {{{
> $ tahoe --version-and-path
> allmydata-tahoe: 1.10.0 (/usr/local/lib/python2.7/dist-packages)
> foolscap: 0.6.4 (/usr/local/lib/python2.7/dist-packages)
> pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
> (/usr/local/lib/python2.7/dist-packages)
> zfec: 1.4.24 (/usr/local/lib/python2.7/dist-packages)
> Twisted: 13.2.0 (/usr/local/lib/python2.7/dist-packages)
> Nevow: 0.10.0 (/usr/local/lib/python2.7/dist-packages)
> zope.interface: unknown (/usr/local/lib/python2.7/dist-packages/zope)
> python: 2.7.3 (/usr/bin/python)
> platform: Linux-debian_7.4-x86_64-64bit_ELF (None)
> pyOpenSSL: 0.14 (/usr/local/lib/python2.7/dist-packages)
> simplejson: 3.3.3 (/usr/local/lib/python2.7/dist-packages)
> pycrypto: 2.6.1 (/usr/local/lib/python2.7/dist-packages)
> pyasn1: 0.1.7 (/usr/local/lib/python2.7/dist-packages)
> mock: 1.0.1 (/usr/local/lib/python2.7)
> setuptools: 2.2 (/usr/local/lib/python2.7/dist-
> packages/setuptools-2.2-py2.7.egg)
>
> Warning: dependency 'cryptography' (version '0.2.2') found by
> pkg_resources not found by import.
> Warning: dependency 'six' (version '1.5.2') found by pkg_resources not
> found by import.
> Warning: dependency 'cffi' (version '0.8.1') found by pkg_resources not
> found by import.
> Warning: dependency 'pycparser' (version '2.10') found by pkg_resources
> not found by import.
>
> For debugging purposes, the PYTHONPATH was
> None
> install_requires was
> ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
> 'zope.interface == 3.6.0, == 3.6.1, == 3.6.2, >= 3.6.5', 'Twisted >=
> 11.0.0', 'foolscap >= 0.6.3', 'pyOpenSSL', 'Nevow >= 0.6.0', 'pycrypto ==
> 2.1.0, == 2.3, >= 2.4.1', 'pyasn1 >= 0.0.8a', 'mock >= 0.8.0',
> 'pycryptopp >= 0.6.0']
> sys.path after importing pkg_resources was
> /usr/local/bin:
> /usr/local/lib/python2.7/dist-packages/pip-1.5.4-py2.7.egg:
> /usr/local/lib/python2.7/dist-packages/distribute-0.7.3-py2.7.egg:
> /usr/local/lib/python2.7/dist-packages/setuptools-2.2-py2.7.egg:
> /usr/lib/python2.7:
> /usr/lib/python2.7/plat-linux2:
> /usr/lib/python2.7/lib-tk:
> /usr/lib/python2.7/lib-old:
> /usr/lib/python2.7/lib-dynload:
> /usr/local/lib/python2.7/dist-packages:
> /usr/lib/python2.7/dist-packages
> }}}
>
> This is annoying, since it's going backwards with respect to our goal of
> reducing the number of crypto library dependencies.
New description:
{{{
$ cat pyOpenSSL-0.14-py2.7.egg/EGG-INFO/requires.txt
cryptography>=0.2.1
six>=1.5.2
}}}
`cryptography` in turn depends on `cffi` and `pycparser`, resulting in the
following warnings:
{{{
$ tahoe --version-and-path
allmydata-tahoe: 1.10.0 (/usr/local/lib/python2.7/dist-packages)
foolscap: 0.6.4 (/usr/local/lib/python2.7/dist-packages)
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
(/usr/local/lib/python2.7/dist-packages)
zfec: 1.4.24 (/usr/local/lib/python2.7/dist-packages)
Twisted: 13.2.0 (/usr/local/lib/python2.7/dist-packages)
Nevow: 0.10.0 (/usr/local/lib/python2.7/dist-packages)
zope.interface: unknown (/usr/local/lib/python2.7/dist-packages/zope)
python: 2.7.3 (/usr/bin/python)
platform: Linux-debian_7.4-x86_64-64bit_ELF (None)
pyOpenSSL: 0.14 (/usr/local/lib/python2.7/dist-packages)
simplejson: 3.3.3 (/usr/local/lib/python2.7/dist-packages)
pycrypto: 2.6.1 (/usr/local/lib/python2.7/dist-packages)
pyasn1: 0.1.7 (/usr/local/lib/python2.7/dist-packages)
mock: 1.0.1 (/usr/local/lib/python2.7)
setuptools: 2.2 (/usr/local/lib/python2.7/dist-
packages/setuptools-2.2-py2.7.egg)
Warning: dependency 'cryptography' (version '0.2.2') found by
pkg_resources not found by import.
Warning: dependency 'six' (version '1.5.2') found by pkg_resources not
found by import.
Warning: dependency 'cffi' (version '0.8.1') found by pkg_resources not
found by import.
Warning: dependency 'pycparser' (version '2.10') found by pkg_resources
not found by import.
For debugging purposes, the PYTHONPATH was
None
install_requires was
['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
'zope.interface == 3.6.0, == 3.6.1, == 3.6.2, >= 3.6.5', 'Twisted >=
11.0.0', 'foolscap >= 0.6.3', 'pyOpenSSL', 'Nevow >= 0.6.0', 'pycrypto ==
2.1.0, == 2.3, >= 2.4.1', 'pyasn1 >= 0.0.8a', 'mock >= 0.8.0', 'pycryptopp
>= 0.6.0']
sys.path after importing pkg_resources was
/usr/local/bin:
/usr/local/lib/python2.7/dist-packages/pip-1.5.4-py2.7.egg:
/usr/local/lib/python2.7/dist-packages/distribute-0.7.3-py2.7.egg:
/usr/local/lib/python2.7/dist-packages/setuptools-2.2-py2.7.egg:
/usr/lib/python2.7:
/usr/lib/python2.7/plat-linux2:
/usr/lib/python2.7/lib-tk:
/usr/lib/python2.7/lib-old:
/usr/lib/python2.7/lib-dynload:
/usr/local/lib/python2.7/dist-packages:
/usr/lib/python2.7/dist-packages
}}}
This is annoying, since it's going backwards with respect to our goal of
reducing the number of crypto library dependencies.
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2193#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list