summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-setuptools-scm_8.0.4.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-setuptools-scm: respect GIT_CEILING_DIRECTORIESEtienne Cordonnier2025-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=15740 python3-setuptools-scm was ignoring GIT_CEILING_DIRECTORIES which is set by poky, and it was thus finding a wrong value of "toplevel" in ./src/setuptools_scm/_file_finders/git.py The code is supposed to generate the list of files contained in python3-setuptools-scm, but it was instead running "git archive" on whatever git repository was above the build directory, because the tarball containing the sources of python3-setuptools-scm does not contain a .git directory. This is barely noticeable when building as a subdirectory of poky which is only 48MB, but this was causing serious slowdowns of python3-setuptools-scm:do_compile when building inside a big git repository with files tracked using git-lfs (50 minutes in my use-case). Reported upstream as https://github.com/pypa/setuptools-scm/issues/1103 (From OE-Core rev: 4ebe72477484cf68165b6f736ce10373e97d0e6d) (From OE-Core rev: 369eebad4f38c3641be73dbc0490c87636e0912d) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* python: Drop ${PYTHON_PN}Richard Purdie2024-02-201-8/+8
| | | | | | | | | | | python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. The definition in python3-dir.bbclass is left for now for other layers. (From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: upgrade 7.1.0 -> 8.0.4Tim Orling2023-11-201-0/+31
See 8.0.0 changelog for breaking changes. 8.0.1, 8.0.2 and 8.0.3 were bug fix releases 8.0.4 has bug fixes and other changes https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v804 https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v803 https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v802 https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v801 https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v800 * Drop PYPI_PACKAGE override (no longer needed) * Wrap DESCRIPTION so the line length is <80 chars. License-Update: use LICENSE file for checksum, remains MIT (From OE-Core rev: e167dd40e54c227ea1035255e9f33674391adc38) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>