Bug 2276611 - [HEADS UP] python-autograd buildrequires python3-future which won't work with Python 3.13 (Fedora 41+)
Summary: [HEADS UP] python-autograd buildrequires python3-future which won't work with...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-autograd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2250662
TreeView+ depends on / blocked
 
Reported: 2024-04-23 10:27 UTC by Karolina Surma
Modified: 2024-05-14 21:14 UTC (History)
3 users (show)

Fixed In Version: python-autograd-1.6.2-8.fc41
Clone Of:
Environment:
Last Closed: 2024-05-14 21:14:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-04-23 10:27:30 UTC
python-autograd 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-autograd to stop depending on python3-future.

The upstream issues:
https://github.com/HIPS/autograd/issues/606

Comment 1 Sandro 2024-04-23 16:09:49 UTC
Honestly, I don't recall how I became the maintainer of this package. Something I (co-)maintain must have depended on it at the time. Currently nothing depends on python-autograd.

Upstream states the following:

"Note: Autograd is still being maintained but is no longer actively developed. The main developers (Dougal Maclaurin, David Duvenaud, Matt Johnson, and Jamie Townsend) are now working on JAX, with Dougal and Matt working on it full-time. JAX combines a new version of Autograd with extra features such as jit compilation."

I'm inclined to let the package go and orphan or retire it. Though, going by the issue mentioned above, the future dependency looks fixable.

Thoughts?

Comment 2 Ben Beasley 2024-04-27 13:55:15 UTC
I don’t know much. This package was on the wish list in the past, https://pagure.io/neuro-sig/NeuroFedora/issue/341. Upstream still seems to be semi-active, with the last release a bit less than a year ago, and plenty of recent issues and PR’s.

Comment 3 Ben Beasley 2024-04-27 13:56:40 UTC
(I wonder if jax is possible to package in Fedora, with CUDA support disabled. It’s a lot more complicated than autograd.)

Comment 5 Ben Beasley 2024-04-27 14:18:40 UTC
https://github.com/HIPS/autograd/pull/619

Comment 6 Sandro 2024-04-27 15:01:02 UTC
(In reply to Ben Beasley from comment #3)
> (I wonder if jax is possible to package in Fedora, with CUDA support
> disabled. It’s a lot more complicated than autograd.)

As a replacement for autograd? Knock yourself out. But jax doesn't need autograd.

I'm fine with keeping autograd around, though, carrying the patch. I wouldn't mind getting an idea how many people use it actually.

Comment 7 Fedora Update System 2024-05-14 21:11:14 UTC
FEDORA-2024-570a42cfc9 (python-autograd-1.6.2-8.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-570a42cfc9

Comment 8 Fedora Update System 2024-05-14 21:14:09 UTC
FEDORA-2024-570a42cfc9 (python-autograd-1.6.2-8.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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