<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb, branch master-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-02-27T10:55:17+00:00</updated>
<entry>
<title>python3-setuptools-scm: upgrade 8.1.0 -&gt; 8.2.0</title>
<updated>2025-02-27T10:55:17+00:00</updated>
<author>
<name>Trevor Gamblin</name>
<email>tgamblin@baylibre.com</email>
</author>
<published>2025-02-26T02:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a8f507ba6c27cb100df76edcaa21497dd92c5acd'/>
<id>urn:sha1:a8f507ba6c27cb100df76edcaa21497dd92c5acd</id>
<content type='text'>
Patch '0001-respect-GIT_CEILING_DIRECTORIES.patch' is no longer required
as it's upstream in 979d79301da6.

Changelog (https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md):

Added
    - fix #960: add a --force-write-version-files flag for the cli

Changed
    - fix #950: ensure to pass encodings to io usage
    - fix #957: add subprocess timeout control env var
    - add sp-repo-review pre-commit hook

Fixed
    - fix #1018: allow non-normalized versions for semver
    - fix #1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels
    - fix #1081: add name normalized pipx entrypoint
    - fix #1080: clean pdm from PYTHONPATH to protect mercurial

(From OE-Core rev: 6bab759c00b44fc2793e095f991975b7eebf360f)

Signed-off-by: Trevor Gamblin &lt;tgamblin@baylibre.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-setuptools-scm: respect GIT_CEILING_DIRECTORIES</title>
<updated>2025-02-18T11:56:03+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2025-02-13T16:32:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d55cd3fc39b638b4b765b07c484e58880996febf'/>
<id>urn:sha1:d55cd3fc39b638b4b765b07c484e58880996febf</id>
<content type='text'>
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)

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-*: Update recipes to correctly check the upstream packages</title>
<updated>2024-12-17T11:41:53+00:00</updated>
<author>
<name>Derek Straka</name>
<email>derek@asterius.io</email>
</author>
<published>2024-12-13T19:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7dcc37c329a0f2ca2fda7849572d5ced34735306'/>
<id>urn:sha1:7dcc37c329a0f2ca2fda7849572d5ced34735306</id>
<content type='text'>
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka &lt;derek@asterius.io&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-setuptools-scm: remove python3-tomli dependency</title>
<updated>2024-07-24T21:51:40+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-07-23T14:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1d5520a9b0a8575f739d6265a10b1bb967104c16'/>
<id>urn:sha1:1d5520a9b0a8575f739d6265a10b1bb967104c16</id>
<content type='text'>
We have Python 3.11+ so setuptools-scm can use tomllib.

(From OE-Core rev: 5c8a0a26d3f63d90bc97eec4b115d51dfb1b3995)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-setuptools-scm: remove obsolete python3-tomli dependency</title>
<updated>2024-07-24T21:51:40+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-07-23T14:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=39abc000edc2eb8574a0cbca01c49c512ccb3359'/>
<id>urn:sha1:39abc000edc2eb8574a0cbca01c49c512ccb3359</id>
<content type='text'>
As we have Python 3.11+, tomllib will be used.

(From OE-Core rev: 524929e379f902a335aeda07dd08f026f88fc1e5)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-setuptools-scm: upgrade 8.0.4 -&gt; 8.1.0</title>
<updated>2024-05-23T10:26:39+00:00</updated>
<author>
<name>Trevor Gamblin</name>
<email>tgamblin@baylibre.com</email>
</author>
<published>2024-05-21T17:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7a1be7ee51079e60ed50d9d94c51a7bae27ef6fb'/>
<id>urn:sha1:7a1be7ee51079e60ed50d9d94c51a7bae27ef6fb</id>
<content type='text'>
PYPI_PACKAGE is updated since the upstream now uses an underscore in the
package name.

Changelog: https://github.com/pypa/setuptools_scm/releases/tag/v8.1.0

(From OE-Core rev: fa1cd6b172233615a6346b6fa777cfb141a4962b)

Signed-off-by: Trevor Gamblin &lt;tgamblin@baylibre.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
