Support for Python 3.12 in KUSANAGI Security Edition

Overview

KUSANAGI Security Edition uses Python 3.9 as its Python version, but Python 3.9 will reach its end-of-life (EOL) in October 2025. Consequently, we will change the Python version used by KUSANAGI to Python 3.12. This change requires updating all modules that use Python within KUSANAGI. Therefore, it is necessary to update all relevant RPMs in bulk using the dnf command, rather than updating individual RPMs. If RPMs are updated individually, KUSANAGI will not work correctly.

For KUSANAGI Free Edition, KUSANAGI Business Edition, and KUSANAGI Premium Edition, please refer to Support for Python 3.12 in KUSANAGI.

Scope of Impact

All editions listed below are applicable.

  • KUSANAGI Security Edition

All of the following RPMs are applicable.

  • kusanagi 10.2.0-1 or later

After updating all RPMs to use Python 3.12, individual updates can be performed.

Solution

Update by Automatic Updates for OS & Middleware

If OS & middleware automatic updates are enabled, updating is done automatically. You can check whether automatic updates are enabled using the following command.

# kusanagi autoupdate status

After updating, the required middleware will automatically restart.

Update All RPMs

To update all modules at once, you can apply the following command.

# dnf upgrade

After updating, please restart using the following command.

# kusanagi restart

Update only the KUSANAGI Python Module

If for some reason you cannot update all modules at once, you can apply updates only to KUSANAGI modules related to Python 3.12 using the following command. Note that other modules may also be updated due to dependencies.

# dnf upgrade kusanagi

After updating, please restart using the following command.

# kusanagi restart

In the Future

The release of KUSANAGI Security Edition RPMs using Python 3.12 is scheduled for October 6, 2025.
After this date, updates will only be provided for KUSANAGI using Python 3.12. Please ensure you update the relevant RPMs.

KUSANAGI
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.