Bug#892112: python-cryptography appears to intend to install python-cffi as a dependency, but it isn't installed

2018-03-08 Thread Corey Bryant
Tristan,

Agreed this is not looking like a dependency issue. I wasn't able to
recreate with a small script that takes the same path as the traceback. For
now I've moved the Ubuntu bug to Incomplete until we can recreate.

Thanks,
Corey

On Mon, Mar 5, 2018 at 4:26 PM, Corey Bryant 
wrote:

>
>
> On Mon, Mar 5, 2018 at 3:07 PM, Tristan Seligmann  > wrote:
>
>> On Mon, 5 Mar 2018 at 20:12 Corey Bryant 
>> wrote:
>>
>>>Installation of python-cryptography doesn't install python-cffi. This
>>>is on Ubuntu Bionic. The following bug has some more details:
>>>https://bugs.launchpad.net/ubuntu/+source/python-cryptograp
>>> hy/+bug/1752660
>>>
>>>The package currently has 'dh_python(2|3) --depends=cffi' but that is
>>>apparently not working, at least on bionic.
>>>
>>
>> In Debian, python-cffi is only required at build time. At runtime, it is
>> not required (only python-cffi-backend is required). This is mostly
>> driven by the python-cffi package itself: see 
>> /usr/share/python/dist/python-cffi
>> for details.
>>
>> I don't immediately know why or if this would be different in Ubuntu, and
>> I don't immediately see what the stack trace in the Ubuntu bug report has
>> to do with cffi being installed or not.
>>
>
> Thanks for the quick feedback. For now I've asked the reporter if they'd
> be able to test with package version that has python-cffi added to binary
> Depends.
>


Bug#892112: python-cryptography appears to intend to install python-cffi as a dependency, but it isn't installed

2018-03-05 Thread Corey Bryant
On Mon, Mar 5, 2018 at 3:07 PM, Tristan Seligmann 
wrote:

> On Mon, 5 Mar 2018 at 20:12 Corey Bryant 
> wrote:
>
>>Installation of python-cryptography doesn't install python-cffi. This
>>is on Ubuntu Bionic. The following bug has some more details:
>>https://bugs.launchpad.net/ubuntu/+source/python-
>> cryptography/+bug/1752660
>>
>>The package currently has 'dh_python(2|3) --depends=cffi' but that is
>>apparently not working, at least on bionic.
>>
>
> In Debian, python-cffi is only required at build time. At runtime, it is
> not required (only python-cffi-backend is required). This is mostly
> driven by the python-cffi package itself: see 
> /usr/share/python/dist/python-cffi
> for details.
>
> I don't immediately know why or if this would be different in Ubuntu, and
> I don't immediately see what the stack trace in the Ubuntu bug report has
> to do with cffi being installed or not.
>

Thanks for the quick feedback. For now I've asked the reporter if they'd be
able to test with package version that has python-cffi added to binary
Depends.


Bug#892112: python-cryptography appears to intend to install python-cffi as a dependency, but it isn't installed

2018-03-05 Thread Tristan Seligmann
On Mon, 5 Mar 2018 at 20:12 Corey Bryant  wrote:

>Installation of python-cryptography doesn't install python-cffi. This
>is on Ubuntu Bionic. The following bug has some more details:
>
> https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1752660
>
>The package currently has 'dh_python(2|3) --depends=cffi' but that is
>apparently not working, at least on bionic.
>

In Debian, python-cffi is only required at build time. At runtime, it is
not required (only python-cffi-backend is required). This is mostly driven
by the python-cffi package itself: see /usr/share/python/dist/python-cffi
for details.

I don't immediately know why or if this would be different in Ubuntu, and I
don't immediately see what the stack trace in the Ubuntu bug report has to
do with cffi being installed or not.


Bug#892112:

2018-03-05 Thread Corey Bryant
I tested version 2.1.4 and 1.2.3-1 and both had the same behavior. py2 and
py3 versions don't install python(3)-cffi.


Bug#892112: python-cryptography appears to intend to install python-cffi as a dependency, but it isn't installed

2018-03-05 Thread Corey Bryant
Package: python-cryptography
Version: 2.1.4-1build2
Severity: important

Dear Maintainer,

   Installation of python-cryptography doesn't install python-cffi. This
   is on Ubuntu Bionic. The following bug has some more details:
   https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1752660

   The package currently has 'dh_python(2|3) --depends=cffi' but that is
   apparently not working, at least on bionic.

-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic'), (500, 'artful-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-10-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-cryptography depends on:
ii  libc62.27-0ubuntu2
ii  libssl1.11.1.0g-2ubuntu2
ii  python   2.7.14-4
ii  python-asn1crypto0.24.0-1
pn  python-cffi-backend-api-max  
pn  python-cffi-backend-api-min  
ii  python-enum341.1.6-2
ii  python-idna  2.6-1
ii  python-ipaddress 1.0.17-1
ii  python-six   1.11.0-2

python-cryptography recommends no packages.

Versions of packages python-cryptography suggests:
pn  python-cryptography-doc  
pn  python-cryptography-vectors  

-- no debconf information