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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...