siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
130 stars 79 forks source link

classes/npm: let gyp use python3 #327

Closed chombourger closed 2 years ago

chombourger commented 2 years ago

While gyp needs /usr/bin/python, it will happily work with python3 (removing the need to to pull python2): use Debian's package python-is-python3 instead of python

Signed-off-by: Cedric Hombourger cedric.hombourger@siemens.com

BaochengSu commented 2 years ago

@chombourger , this commit is only let gyp use python3 instead of python2, my understanding is that it does not impact the functionalities?

jan-kiszka commented 2 years ago

CI passed, so none of our self-installed npm packages has problems with that. Not really a surprise, given that python2 is dead, and we do not have old versions of the packages in use.