crops / poky-container

A container image that is able to run bitbake/poky. It has helpers to create users and groups within the container. This is so that the output generated in the container will be readable by the user on the host.
GNU General Public License v2.0
209 stars 95 forks source link

python-setuptools-scm in bionic is too outdated for some workflows #88

Closed jfernandz closed 1 year ago

jfernandz commented 1 year ago

Hi guys, I've noticed that setuptools-scm package in bionic it's pretty outdated so version cannot be determined at build time from scm(git) tags ... I've tested my software with a newer setuptools-scm version and it works as expected, but when I install python3-setuptools-scm and run python3 setup.py sdist inside the crops/poky container the setuptools sets 0.0.0 version.

Not sure if some fix is possible for this issue or I should wait until your crops/poky image be based over some newer Ubuntu version.

moto-timo commented 1 year ago

We actually build a matrix of ~14 distro/versions. You can choose a newer Ubuntu release: docker pull crops/poky:ubuntu-22.04 or docker pull crops/poky:ubuntu-20.04

The default (crops/poky:latest) is still Ubuntu 18.04 because MANY vendors are still stuck on requiring that version. And yes, it is 2022.

jfernandz commented 1 year ago

I didn't notice this, thank you very much, I've tested crops/poky:debian-11 and it's a little bit updated, sure :blush:

Thank you very much!