Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774372 - media-gfx/blender-2.91.2: Add python3_9 support
Summary: media-gfx/blender-2.91.2: Add python3_9 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py39, python3.9-compat
  Show dependency tree
 
Reported: 2021-03-05 22:47 UTC by MW
Modified: 2021-06-17 04:14 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MW 2021-03-05 22:47:38 UTC
=media-gfx/blender-2.91.0 builds successfully and runs here with python3_9 (added to PYTHON_COMPAT).
Comment 1 Thomas 2021-06-05 08:05:19 UTC
Now after the switch to python 3.9 as default target a world update is broken (numpy wanting python 3.8 as single target cause of blender but everything else wanting numpy to use python 3.9). Adding python3_9 to PYTHON_COMPAT works for me, too:


--- blender-2.91.2.ebuild.old   2021-06-05 10:01:06.702852347 +0200
+++ blender-2.91.2.ebuild       2021-06-05 09:58:28.497615285 +0200
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit check-reqs cmake flag-o-matic pax-utils python-single-r1 \
        toolchain-funcs xdg-utils
Comment 2 MW 2021-06-05 14:26:44 UTC
I really don't understand what is taking so long here. Is there anything I can do to assist?

UNCONFIRMED --> CONFIRMED:
 - Time required: < 20 seconds
 - Action: simply look at PYTHON_COMPAT in blender-2.91.2.ebuild

CONFIRMED --> RESOLVED:
 - Time required: < 20 minutes
 - Action: add python3_9 to PYTHON_COMPAT, recompile, verify that your python stuff works in blender.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-08 09:38:23 UTC
(In reply to MW from comment #2)
> I really don't understand what is taking so long here. Is there anything I
> can do to assist?
> 

I thought I'd already explained in this bug but it must've been another one. Upstream doesn't support Python 3.9 for this precise version. It may work but they don't guarantee plugins work _correctly_.

They do, however, for the new LTS release (for which a PR is pending from an upstream developer).
Comment 4 Larry the Git Cow gentoo-dev 2021-06-10 00:51:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c7536f66bd3a6a3347800226cd8dc969671116

commit 61c7536f66bd3a6a3347800226cd8dc969671116
Author:     Sebastian Parborg <darkdefende@gmail.com>
AuthorDate: 2021-04-28 01:08:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-10 00:19:21 +0000

    media-gfx/blender: Slot, bump to 2.93.0, and add live ebuild
    
    Closes: https://bugs.gentoo.org/795003
    Closes: https://bugs.gentoo.org/778008
    Closes: https://bugs.gentoo.org/774372
    Closes: https://bugs.gentoo.org/673422
    Closes: https://bugs.gentoo.org/737388
    Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/20565
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/blender/Manifest                         |   4 +-
 ...ender-2.83.12.ebuild => blender-2.83.15.ebuild} | 192 ++++++----
 ...blender-2.91.2.ebuild => blender-2.93.0.ebuild} | 211 ++++++-----
 media-gfx/blender/blender-9999.ebuild              | 385 +++++++++++++++++++++
 .../blender/files/blender-2.83.13-ffmpeg-4_4.patch |  27 ++
 .../files/blender-2.83.6-constraints_test.patch    |  13 +
 .../files/blender-2.83.6-fix_opevdb_abi.patch      |  21 ++
 .../blender-2.83.6-libmv_eigen_alignment.patch     | 219 ++++++++++++
 media-gfx/blender/metadata.xml                     |  23 +-
 9 files changed, 930 insertions(+), 165 deletions(-)