Support for Python 3.12 in KUSANAGI

概要

KUSANAGI 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.

Scope of Impact

All editions listed below are applicable.

  • KUSANAGI Free Edition
  • KUSANAGI Business Edition
  • KUSANAGI Premium Edition
  • KUSANAGI Security Edition (The availability date will be announced separately.)

All of the following RPMs are applicable.

  • kusanagi 9.7.0-1 or later
  • kusanagi-biz 3.0.0-1 or later
  • kusanagi-biz-python 3.0.0-1 or later
  • kusanagi-prem3 3.4.0-1 or later
  • kusanagi-prem3-python 3.0.0-1 or later

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

Solution

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.

For KUSANAGI Free Edition
# dnf upgrade kusanagi

For KUSANAGI Business Edition
# dnf upgrade kusanagi kusanagi-biz kusanagi-biz-python

For KUSANAGI Premium Edition
# dnf upgrade kusanagi kusanagi-biz kusanagi-biz-python kusanagi-prem3 kusanagi-prem3-python

After updating, please restart using the following command.

# kusanagi restart

In the Future

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

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.