Jump to content

Python 3.13 and compilation of 0ad.


Recommended Posts

Yesterday, Debian Experimental made Python 3.13 the default version.

https://tracker.debian.org/pkg/python3-defaults

Quote

[2024-12-25] Accepted python3-defaults 3.13.1-1~exp2 (source) into experimental (Stefano Rivera)
[2024-12-25] Accepted python3-defaults 3.13.1-1~exp1 (source) into experimental (Stefano Rivera)

Since Python 3.12 was a problem when compiling 0ad, I decided to check how 0ad handles version 3.13.

Debian Trixie with Python 3.13 installed from the Experimental branch as default.

$ python3 --version
Python 3.13.1

Compilation (svn update, cd libraries/, ./build-source-libs.sh and so on) went fine.
The game starts without problems.

I updated ver. 109 (L"main, dba968") to ver. 117 (L"release-a27, b08cf")

Christmas greetings.

Edited by zyli
  • Like 2
Link to comment
Share on other sites

It's a build only dependency of Pyrogenesis. Then there are various tools written in python like code quality checks, generating fonts or list of translatable strings for Transifex and more. The one causing issues over and over again is mach, the mozilla build system. https://firefox-source-docs.mozilla.org/mach/index.html

 

Edit: Mach shipped with Spidermonkey 115 is broken for 3.13, we just have been lucky to only require the parts that are not :).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...