python-toml has been orphaned and will likely be retired in the coming weeks. There are still a handful of packages that have not migrated, so I am creating a tracker bug here and later create corresponding bugs to the other packages. The original document seems to be still very helpful for the affected packages https://fedoraproject.org/wiki/Changes/DeprecatePythonToml, specifically I am highlighting the following snippets: - Importing tomlib with backport to tomli ``` if sys.version_info < (3, 11): import tomli as tomllib else: import tomllib ``` - Dependency required `tomli;python_version<"3.11"` - Only other API changes should be + Change all references of TomlDecodeError to TOMLDecodeError. + Open files in binary mode, if passing file objects to tomllib.load() Reproducible: Always
Automation has figured out the package is retired in Fedora Rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement