Bug 2309198 - tox should recommend python3.11
Summary: tox should recommend python3.11
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tox
Version: 40
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-02 14:42 UTC by Alyssa Coghlan
Modified: 2024-09-03 10:49 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-09-02 22:10:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alyssa Coghlan 2024-09-02 14:42:04 UTC
While illustrating how Fedora integrated its multiple Python versions into its recommended dependency for tox, I noticed that python3.11 didn't get added after the system Python package was bumped up to Python 3.12:

$ sudo dnf repoquery --recommends tox 2>/dev/null
pypy2-devel
pypy3-devel
python2-devel
python2.7
python3-devel
python3.10
python3.6
python3.7
python3.8
python3.9




Reproducible: Always

Steps to Reproduce:
Query the recommended requirements for the tox package
Actual Results:  
python3.11 is not listed

Expected Results:  
python3.11 should be listed

Adding the extra recommends to the tox package for the previous major version should be noted as a task in the Python major feature bump proposals like https://fedoraproject.org/wiki/Changes/Python3.12

This missing recommendation hasn't been noticeable on system upgrades (presumably due to the requires/recommends cycle between python3.x and python3.x-libs keeping the former major version installed if it was previously installed)

Comment 1 Alyssa Coghlan 2024-09-02 22:10:58 UTC
Never mind, the problem was in my queries, not the RPM metadata; I didn't check the reverse supplements declarations (as per https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/NVVUXSVSPFQOWIGBE2JNI67HEO7R63ZQ/)

Sorry for the noise.

Comment 2 Miro Hrončok 2024-09-03 10:49:17 UTC
> While illustrating how Fedora integrated its multiple Python versions into its recommended dependency for tox, I noticed that python3.11 didn't get added after the system Python package was bumped up to Python 3.12.

This is still a problem. But it isn't caused by missing Recommends, but generally by the way weak dependencies are handled by dnf :(


Note You need to log in before you can comment on or make changes to this bug.