https://bugzilla.redhat.com/show_bug.cgi?id=1482577

Paul Howarth <p...@city-fan.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p...@city-fan.org



--- Comment #12 from Paul Howarth <p...@city-fan.org> ---
Upstream has issued an update for python-cryptography
(python2-cryptography-1.7.2-1.el7_4.1), which should probably be reflected in
this package.

Whilst doing that update, please add the runtime dependencies necessary. By way
of comparison:

$ rpm -qp --requires python2-cryptography-1.7.2-1.el7_4.1.x86_64.rpm
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
libcrypto.so.10(OPENSSL_1.0.2)(64bit)
libcrypto.so.10(libcrypto.so.10)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpython2.7.so.1.0()(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
openssl
python(abi) = 2.7
python-cffi >= 1.4.1
python-enum34
python-idna >= 2.0
python-ipaddress
python-pyasn1 >= 0.1.8
python-six >= 1.4.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

$ rpm -qp --requires python34-cryptography-1.7.2-2.el7.x86_64.rpm
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
libcrypto.so.10(OPENSSL_1.0.2)(64bit)
libcrypto.so.10(libcrypto.so.10)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpython3.4m.so.1.0()(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
openssl
python(abi) = 3.4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

The package is missing runtime dependencies on:
python%{python3_pkgversion}-cffi >= 1.4.1
python%{python3_pkgversion}-idna >= 2.0
python%{python3_pkgversion}-pyasn1 >= 0.1.8
python%{python3_pkgversion}-six >= 1.4.1

This causes problems for downstream users of python34-cryptography, such as
when running python-paramiko's test suite:

$ /usr/bin/python3.4 ./test.py --no-sftp --no-big-file
Traceback (most recent call last):
  File "./test.py", line 30, in <module>
    import paramiko
  File "/builddir/build/BUILD/paramiko-2.1.1/paramiko/__init__.py", line 30, in
<module>
    from paramiko.transport import SecurityOptions, Transport
  File "/builddir/build/BUILD/paramiko-2.1.1/paramiko/transport.py", line 33,
in <module>
    from cryptography.hazmat.backends import default_backend
  File
"/usr/lib64/python3.4/site-packages/cryptography/hazmat/backends/__init__.py",
line 9, in <module>
    from cryptography.hazmat.backends.multibackend import MultiBackend
  File
"/usr/lib64/python3.4/site-packages/cryptography/hazmat/backends/multibackend.py",
line 9, in <module>
    from cryptography.hazmat.backends.interfaces import (
  File
"/usr/lib64/python3.4/site-packages/cryptography/hazmat/backends/interfaces.py",
line 9, in <module>
    import six
ImportError: No module named 'six'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org

Reply via email to