[Buildroot] [PATCH v2, 1/1] package/python-cryptography: add host-python-six dependency
Arnout Vandecappelle
arnout at mind.be
Mon Nov 8 18:14:46 UTC 2021
On 04/11/2021 21:17, Thomas Petazzoni wrote:
> On Tue, 26 Oct 2021 18:32:22 +0200
> Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>> ---
>> Changes v1 -> v2 (after review of Arnout Vandecappelle):
>> - Use host-python-six instead of host-python3-six
>
> I *think* this was incorrect from Arnout. Indeed,
> host-python-cryptography is a dependency of ca-certificates, and it is
> perfectly possible to have this with a Python 2.x enabled for the
> target (which would mean host-python-six installs for Python 2.x on the
> host).
commit 0c7e30b43a5e98abfc8db521a6415b5a5c1c267f
Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Date: Sat Jul 10 23:55:32 2021
package/python-idna: bump to version 3.2
- Python 2 is not supported since version 3.0 so update all reverse
dependencies and remove python-coherence
Since python-cryptography has a (runtime) dependency on python-idna, I had
assumed that host-python-cryptography would have the same dependency, and
therefore be python3-only as well. This seems to be a mistake, however. I guess
ca-certificates only uses host-python-cryptography to a very limited extent that
doesn't actually trigger all those runtime dependencies.
Anyway, we need to get f**g rid of python2!
Regards,
Arnout
More information about the buildroot
mailing list