[Python-modules-team] Bug#810592: python3-cffi: Does not depend on py3-dev ?
Hi, >> # [ starting a crypto program ] >> /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x7af6e22bxb4fc9075.c:2:20: >> fatal error: Python.h: No such file or directory >> #include > That shouldn't happen. > > Packages using cffi should build extensions like that at build time, not > run time. > > Tell me more about this python3-cryptography package you're using? Cc'd: Maintainer: Tristan Seligmann-- -- Matthias Urlichs ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#810592: python3-cffi: Does not depend on py3-dev ?
Hi Goirand (2016.01.10_05:15:52_-0800) > > Installing python3-dev fixed this. Thus I conclude that there's a > > missing dependency here. There is a Suggests: python3-dev. This goes back to earlier days in cffi. Using the verifier requires -dev at build time, but not runtime. In the new out-of-line modes, runtime use will have the cffi-backend package installed, so we can strengthen the dependency to Recommends or Depends. That said, you need -dev when building ABI-level extensions, but not API-level ones. So maybe Recommends is the right thing to use... > If that's true, then the build-depends should be python-dev-all, not > just python-dev. Yes, I think for packages using ABI-level extensions should be build-depending on -dev-all. > # [ starting a crypto program ] > /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x7af6e22bxb4fc9075.c:2:20: > fatal error: Python.h: No such file or directory > #include That shouldn't happen. Packages using cffi should build extensions like that at build time, not run time. Tell me more about this python3-cryptography package you're using? SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272 ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#810592: python3-cffi: Does not depend on py3-dev ?
Package: python3-cffi Version: 0.8.6-1 Severity: important # [ starting a crypto program ] /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x7af6e22bxb4fc9075.c:2:20: fatal error: Python.h: No such file or directory #include ^ Installing python3-dev fixed this. Thus I conclude that there's a missing dependency here. I verified that this still applies to the version in Unstable. -- System Information: Debian Release: 8.2 APT prefers stable APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (550, 'experimental'), (550, 'oldstable') Architecture: i386 (i686) Kernel: Linux 4.2.0-1-686-pae (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-cffi depends on: ii libc6 2.19-18+deb8u1 ii libffi63.1-2+b2 ii python33.4.2-2 ii python3-pycparser 2.10+dfsg-3 python3-cffi recommends no packages. Versions of packages python3-cffi suggests: ii python3-dev 3.4.2-2 -- no debconf information ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#810592: python3-cffi: Does not depend on py3-dev ?
Sent from my Cyanogen phone On Jan 10, 2016 17:46, ?wrote: > > Package: python3-cffi > Version: 0.8.6-1 > Severity: important > > # [ starting a crypto program ] > /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x7af6e22bxb4fc9075.c:2:20: > fatal error: Python.h: No such file or directory > #include > ^ > > Installing python3-dev fixed this. Thus I conclude that there's a missing > dependency here. > > I verified that this still applies to the version in Unstable. If that's true, then the build-depends should be python-dev-all, not just python-dev. Thomas On Jan 10, 2016 17:46, ? wrote: Package: python3-cffi Version: 0.8.6-1 Severity: important # [ starting a crypto program ] /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__pycache__/_cffi__x7af6e22bxb4fc9075.c:2:20: fatal error: Python.h: No such file or directory #include ^ Installing python3-dev fixed this. Thus I conclude that there's a missing dependency here. I verified that this still applies to the version in Unstable. -- System Information: Debian Release: 8.2 APT prefers stable APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (550, 'experimental'), (550, 'oldstable') Architecture: i386 (i686) Kernel: Linux 4.2.0-1-686-pae (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-cffi depends on: ii libc6 2.19-18+deb8u1 ii libffi63.1-2+b2 ii python33.4.2-2 ii python3-pycparser 2.10+dfsg-3 python3-cffi recommends no packages. Versions of packages python3-cffi suggests: ii python3-dev 3.4.2-2 -- no debconf information ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team