Skip to Main Content

Developer Community

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Python 3.12 shipped with OL9 is not compatible with black

Marco FaveroMar 28 2025

Hello,

I have the following system:

# cat /etc/oracle-release
Oracle Linux Server release 9.5

# pip show black
Name: black
Version: 25.1.0
Summary: The uncompromising code formatter.
Home-page:
Author:
Author-email: Ɓukasz Langa <lukasz@langa.pl>
License-Expression: MIT
Location: /usr/local/lib64/python3.12/site-packages
Requires: click, mypy-extensions, packaging, pathspec, platformdirs
Required-by: ansible-lint

The problem is:

# black --check
**Python 3.12.5 has a memory safety issue that can cause Black's AST safety checks to fail. Please upgrade to Python 3.12.6 or downgrade to Python 3.12.4**

# dnf list python3.12
Installed Packages
python3.12.x86_64 3.12.5-2.el9_5.2 @ol9_appstream

I can't choose the minor release.

Does Oracle plan to update Python 3.12 in ol9_appstream?

Thank you very much for every hints

Kind Regards

Marco

Comments
Post Details
Added on Mar 28 2025
0 comments
433 views