Skip to content

build_extension.py: bundle python3.14#35

Closed
Scafir wants to merge 1 commit into
aesc-silicon:mainfrom
Scafir:python3.14
Closed

build_extension.py: bundle python3.14#35
Scafir wants to merge 1 commit into
aesc-silicon:mainfrom
Scafir:python3.14

Conversation

@Scafir

@Scafir Scafir commented Jun 15, 2026

Copy link
Copy Markdown

Since newer releases, blender requires the use of python3.14

I tested it working on my machine (fedora flatpak, blender 5.1.1, fedora 44)

@Scafir Scafir requested a review from dnltz as a code owner June 15, 2026 15:34

@dnltz dnltz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to sign your commit with a signed-off-by.

Comment thread scripts/build_extension.py Outdated
Comment on lines +31 to +32
# Blender 4.2/4.3 uses Python 3.11, Blender 4.4+ uses Python 3.13, Blender 4.5+
# uses Python 3.14

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, the existing comment is wrong. Blender 5.1 switched to Python 3.13: https://developer.blender.org/docs/release_notes/5.1/

I can't see that Blender 5.1.1 switched to Python 3.14. Did you run in any issues?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, sorry about the wrong comment, I should have checked better when Blender officially switched python versions.

Nonetheless, the fedora flatpak version seems to be using 3.14:
image

image
> flatpak list --app | grep -i blender
Blender	org.blender.Blender	5.1	stable	fedora	system

On the main flathub version, the plugin installs without issues:
image

image
> flatpak list --app | grep -i blender
Blender	org.blender.Blender	5.1	stable	flathub	system

So this issue seems to be specifically for the fedora's flatpak version.
I will edit my commit to sign it and to correct the comment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Scafir thanks for those additional information. I did some more research and those flatpak packages are not officially mainted by the Blender Foundation. The second screenshot also shows that there is clearly something wrong with this package, because Date, Hash and Branch are missing. Additionally, Blender is untested wiith Python3.14 and no other extension will work with this package.

Adding Python here is a workaround for a broken package. You should raise this issue at the fedora flatpak repo.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, thanks for your input. I have raised the issue in https://forge.fedoraproject.org/flatpak/tickets/issues/69

I will now close this merge request, you are right that it should not be merged.

Since newer releases, blender requires the use of python3.14

Signed-off-by: Clyde Laforge <clyde.laforge@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants