Bug 2276606

Summary: [HEADS UP] python-pyswarms buildrequires python3-future which won't work with Python 3.13 (Fedora 41+)
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-pyswarmsAssignee: Iztok Fister Jr. <iztok>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gui1ty, iztok, neuro-sig, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-08 09:51:04 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:
Embargoed:
Bug Depends On: 2250662    
Bug Blocks: 2291879    

Description Karolina Surma 2024-04-23 10:25:54 UTC
python-pyswarms buildrequires python3-future which won't work with Python 3.13 (Fedora 41+).

future (python3-future) will not be buildable, installable and usable with Python 3.13, which removes lib2to3 and 2to3.
Python 3.13 will be the main Python in Fedora 41.

Please migrate python-pyswarms to stop depending on python3-future.

The upstream issues:
https://github.com/ljvmiranda921/pyswarms/issues/517

Comment 1 Sandro 2024-05-31 12:40:03 UTC
In the project's README they added (about a year ago):

NOTICE: I am not actively maintaining this repository anymore. My research interests have changed in the past few years. I highly recommend checking out scikit-opt for metaheuristic methods including PSO.

I don't think upstream will fix the compatibility issue. Downstream nothing depends on `pyswarms`.

Should we let it go?

Comment 2 Ankur Sinha (FranciscoD) 2024-09-09 13:47:57 UTC
I say we let it go (unless you want to look into fixing this Iztok?)---tooling should retire it automatically.

Comment 3 Miro HronĨok 2024-10-08 09:51:04 UTC
Automation has figured out the package is retired in rawhide.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement