Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886983 - dev-python/backports-zoneinfo-0.2.1-r2: allow use of python versions 9 and 10
Summary: dev-python/backports-zoneinfo-0.2.1-r2: allow use of python versions 9 and 10
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-18 13:23 UTC by Jocelyn Mayer
Modified: 2022-12-18 15:44 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 Jocelyn Mayer 2022-12-18 13:23:20 UTC
To avoid keeping multiple python versions installed, I suggest to change the PYTHON_COMPAT to PYTHON_COMPAT=( python3_{7..10} pypy3 )
There seem to be no noticeable issue from what I've seen from now.

Reproducible: Always

Steps to Reproduce:
1. Remove all python versions except version 3.10, masking previous versions
2. Try to merge dev-python/backports-zoneinfo

Actual Results:  
emerge refuses to merge the package as python version 3.10 is not listed in PYTHON_COMPAT

Expected Results:  
emerge to use python 3.10 to merge this package
Comment 1 Andreas Sturmlechner gentoo-dev 2022-12-18 13:26:28 UTC
This is a backport of a standard library, what purpose does it serve when there is the standard library available?
Comment 2 Andreas Sturmlechner gentoo-dev 2022-12-18 15:44:07 UTC
Revdeps have this particular code in common:

>        $(python_gen_cond_dep '
>                dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
>        ' 3.8)

It does not seem there is any need for this package in >=3.9 for any existing revdep in ::gentoo.