Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855614 - [Python 3.9 -> Python 3.10] app-office/libreoffice-bin should be fixed.
Summary: [Python 3.9 -> Python 3.10] app-office/libreoffice-bin should be fixed.
Status: RESOLVED DUPLICATE of bug 845546
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-01 23:32 UTC by Álvaro Castillo
Modified: 2022-07-02 06:06 UTC (History)
1 user (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 Á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 ***