Bug 1897245

Summary: pydeps fails to build with Python 3.10: ValueError: No such version: 3.10
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: pydepsAssignee: Luis Bazan <bazanluis20>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bazanluis20, mhroncok, neuro-sig, thrnciar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pydeps-1.9.10-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-16 14:34:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1890881    

Description Tomáš Hrnčiar 2020-11-12 15:39:55 UTC
pydeps fails to build with Python 3.10.0a2.

version = '3.10'

    def get_canonical_version(version):
    
        if version in long_versions:
            version = ".".join(version.split(".")[:2])
        elif version not in short_versions:
>           raise ValueError("No such version: {}".format(version))
E           ValueError: No such version: 3.10

/usr/lib/python3.10/site-packages/stdlib_list/base.py:26: ValueError

stdlib_list does not have entry for Python3.10. 

https://github.com/jackmaney/python-stdlib-list/blob/master/stdlib_list/base.py#L12

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01757239-pydeps/

For all our attempts to build pydeps with Python 3.10, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/pydeps/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10:
https://copr.fedorainfracloud.org/coprs/g/python/python3.10/

Let us know here if you have any questions.

Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Ben Cotton 2021-02-09 15:23:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 2 Fedora Update System 2021-04-08 01:00:21 UTC
FEDORA-2021-09dc3693d2 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-09dc3693d2

Comment 3 Fedora Update System 2021-04-08 01:00:24 UTC
FEDORA-2021-fb975bdae8 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-fb975bdae8

Comment 4 Fedora Update System 2021-04-08 19:05:37 UTC
FEDORA-2021-09dc3693d2 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-09dc3693d2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-09dc3693d2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-04-08 20:58:37 UTC
FEDORA-2021-fb975bdae8 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-fb975bdae8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-fb975bdae8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-04-16 14:34:27 UTC
FEDORA-2021-fb975bdae8 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.