Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737392 - media-gfx/yafaray: need py3.7, 3.8 port
Summary: media-gfx/yafaray: need py3.7, 3.8 port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: python3.7-compat
  Show dependency tree
 
Reported: 2020-08-16 09:51 UTC by Michał Górny
Modified: 2020-10-03 13:43 UTC (History)
3 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-16 09:51:00 UTC
The packages are stuck on py3.6 which means they will be pain once we switch to 3.7.  Please test them on 3.7 *and* 3.8 (so we don't to revisit this in a few months), and update PYTHON_COMPAT appropriately.  If it doesn't work, please either fix it, remove Python or issue last rites.  Please consider this urgent.
Comment 1 Adrian 2020-08-18 17:02:54 UTC
Currently the yafaray website is down, but from what I can see yafaray depends on blender-2.79b as github states that the blender exporter does not work for >=blender-2.80.

However blender 2.79b does not compile with python 3.7 and so will likely be removed with the python 3.6 retirement process. I have submitted a pr for blender to update to 2.83.4.

I did find comments that it might be possible to compile yafaray with python 3.8 though. So it might be possible to keep yafaray without the blender USE flag if it is incompatible with blender 2.80+
Comment 2 Bernd 2020-08-18 20:13:18 UTC
Some time ago they split and renamed their repos. Core has become libYafaRay and Blender-Exporter has become YafaRay-Blender with more strictly separated development efforts and targeting against blender-2.8.

The development has been somewhat slow in the past. AFAIK it's a very small team developing this, so we might have to wait some time before it's working with blender-2.8. The swig bindings itself should be compatible with newer python releases.

From my POV, the blender exporter is the most useful thing about YafaRay. Like POVRay it is somewhat of a niche product and I don't know how big the installation base is. That's a point where results from the goose project would be helpful.

I'm trying to update it for py3.{7,8,9} and at the same time remove the blender support. I'd suggest we either re-add the blender support when they get the YafaRay-Blender working with blender-2.8 or add it as a new package then.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-01 10:53:52 UTC
ping.
Comment 4 Larry the Git Cow gentoo-dev 2020-10-03 13:43:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c596be4f93965cfdaf1b200379c4fe5d9cba4ae

commit 3c596be4f93965cfdaf1b200379c4fe5d9cba4ae
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-09-09 20:31:41 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-10-03 13:43:05 +0000

    media-gfx/yafaray: add support for python-3.{7,8}
    
    - Remove support for python-3.6
    - Remove blender USE flag and support. The blender plugin isn't ready
      for blender-2.8 series yet. Blender-2.79 is python-3.6 only, which
      is going to be removed soon. Support will be re-added, as soon as
      upstream has updated the plugin for blender-2.8*.
    
    Closes: https://bugs.gentoo.org/737392
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17485
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/yafaray/Manifest             |  1 -
 media-gfx/yafaray/metadata.xml         |  1 -
 media-gfx/yafaray/yafaray-3.4.1.ebuild | 40 +++++-----------------------------
 3 files changed, 5 insertions(+), 37 deletions(-)