Hi, I have a Python code I'd like to add to my Yocto build. In this code, I use the string module ( https://docs.python.org/3/library/string.html ) from Python.
To make my code run on the target, I need to add the dependency of "python3-stringold" to my recipe. I've looked at the description of this package, and it says: "Python string APIs [deprecated]". My code works as expected on the target, but the naming of the package, and its description confuses me. As far as I can tell, Python's string module is not currently deprecated. In the past, this module did use to contain more functionality, which moved to be part of the str object itself, but the module still contains other functionality, which is not deprecated. I tried to trace the log of meta-poky to see when the deprecation notice was added, and it looks like it is there from the first commit adding this python (and this package) to the project: commit 7defc582e098a099f9056aa4ff18e200361ad512 Author: Richard Purdie <[email protected]> Date: Tue May 23 11:07:10 2006 +0000 Add python+pyhton-pygtk2 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@415 311d38ba-8fff-0310-9ca6-ca027cbcb966 Is this deprecation message for the package wrong, or am I doing something wrong by using it? Thanks for the help, With Kind Regards, Omri
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64633): https://lists.yoctoproject.org/g/yocto/message/64633 Mute This Topic: https://lists.yoctoproject.org/mt/110835885/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
