MetOffice / MetOffice/fab

Python 3.14 appears to be broken

Open
#603 4 comments 0 reactions 0 assignees Claimed by @hiker View on GitHub
Dominant language
Python
Stars
9
Forks
9
Avg merge
12d 12h
Merged PRs (30d)
2

Description

The simplified profile mode, which uses class variables to store the inheritance, seems not to work with python3.14:
class variables are not sent to the child processes, therefore each child gets an empty inheritance dictionary only. While this is expected 3.14 behaviour, it breaks (parallel) Fab builds atm.

Note that this seems to be unrelated to #581 (since the change that triggers the failure was only added a few weeks ago, while this ticket is much older)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a parallel Fab build with Python 3.14 in simplified profile mode, then trace how the inheritance dictionary reaches child processes. The fix is complete when child processes receive the inherited profile data and parallel builds work under Python 3.14.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.