]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3: Update stringold summary
authorOmri Sarig <omri.sarig13@gmail.com>
Tue, 28 Jan 2025 11:50:44 +0000 (12:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jan 2025 13:15:28 +0000 (13:15 +0000)
The string package in python currently contains common string
operations. This package is still in full use.
However, the old summary line of the package marked it as deprecated. As
this is not the case, this commit updates the summary line to better
represent this Python package.
The new summary line was taken from Python's documentation for the
package (https://docs.python.org/3.13/library/string.html).

In the past, the string library used to contain functionality that later
was moved to the str object in Python. The assumption is that during
this change, this library was marked as deprecated here. However, as
this package contains more functionality, which is still relevant and
used by python, the package itself should not be marked as deprecated.

This commit changes the description of the package, but does not change
the name of the package. The proper name for this package should be
"string" (instead of "stringold"). However, changing the package's name
will break compatibility with anyone using the string package in their
project. As this is a big change, it is decided not to be done yet.
The change in description, as well as this commit message, should be
enough to let users understand that the string package in python is
still valid, and should not be treated as deprecated.

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/python3-manifest.json

index 4b7f9cc7e331743d5ac05e80dabd34f3834c8183..f99cc5e2f0e83cc41ad14a738e1c5f40e90bc18e 100644 (file)
         ]
     },
     "stringold": {
-        "summary": "Python string APIs [deprecated]",
+        "summary": "Common string operations",
         "rdepends": [
             "core"
         ],