Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 855614

Summary: [Python 3.9 -> Python 3.10] app-office/libreoffice-bin should be fixed.
Product: Gentoo Linux Reporter: Álvaro Castillo <sincorchetes>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED DUPLICATE    
Severity: normal CC: office
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Álvaro Castillo 2022-07-01 23:32:01 UTC
According to this news Python 3.10 to become the default on 2022-07-01.

You should be able to upgrade your Python version following these instructions:

First, enable both Python 3.9 and Python 3.10, and then run the upgrade
commands:

    */* PYTHON_TARGETS: -* python3_9 python3_10
    */* PYTHON_SINGLE_TARGET: -* python3_9

Then switch PYTHON_SINGLE_TARGET and run the second batch of upgrades:

    */* PYTHON_TARGETS: -* python3_9 python3_10
    */* PYTHON_SINGLE_TARGET: -* python3_10

Finally, switch to the final version and upgrade:

    */* PYTHON_TARGETS: -* python3_10
    */* PYTHON_SINGLE_TARGET: -* python3_10

However, This package could not be upgraded because the only version able to use is python3_9 in its rebuild. (https://gitweb.gentoo.org/repo/gentoo.git/tree/app-office/libreoffice-bin/libreoffice-bin-7.3.3.2-r3.ebuild)

PYTHON_COMPAT=( python3_9 )

If you change the PYTHON_COMPAT=( python3_9 ) BY:
PYTHON_COMPAT=( python3_10 )

And regenerates the Manifest, you can be upgrade successfully like this:

sudo vim /var/db/repos/gentoo/app-office/libreoffice-bin/libreoffice-bin-7.3.3.2-r3.ebuild
sudo ebuild /var/db/repos/gentoo/app-office/libreoffice-bin/libreoffice-bin-7.3.3.2-r3.ebuild manifest

Upgrade:
sudo emerge --ask --verbose --update --deep --newuse @world

Ready! :D
Comment 1 Andreas Sturmlechner gentoo-dev 2022-07-02 06:06:28 UTC

*** This bug has been marked as a duplicate of bug 845546 ***