Bug 2348944

Summary: Please branch and build ipython in epel10 in non-bootstrap (add python-ipython+notebook back)
Product: [Fedora] Fedora EPEL Reporter: Kaleb KEITHLEY <kkeithle>
Component: ipythonAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: carl, dcantrell, epel-packagers-sig, extras-qa, kkeithle, lbalhar, mhroncok, michel, mrunge, orion, python-packagers-sig, romain.geissler
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipython-8.32.0-3.el10_1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2331016 Environment:
Last Closed: 2025-05-31 02:12:23 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: 2331016, 2331017, 2331018, 2331019, 2331020, 2331022, 2347209, 2347210    
Bug Blocks: 1914423, 2332437, 2337243, 2344736    

Description Kaleb KEITHLEY 2025-02-27 23:30:59 UTC
+++ This bug was initially created as a clone of Bug #2331016 +++

Hi,

Please branch and build ipython in epel10.

Cheers,
Romain

--- Additional comment from Romain Geissler on 2025-01-09 08:35:32 UTC ---

It seems this eventually create a circular dependency with python-stack-data. To build python-stack-data, we need python-executing, which needs ipython. Most likely there is some bootstrapping or some doc/test disabling to do.

--- Additional comment from Kaleb KEITHLEY on 2025-01-09 16:43:10 UTC ---



--- Additional comment from Kaleb KEITHLEY on 2025-01-09 16:46:08 UTC ---

If you do not wish to maintain python-sphinx-basic-ng in epel10,
or do not think you will be able to do this in a timely manner,
I would be happy to be a co-maintainer of the package (FAS: kkeithle);
please add me through https://src.fedoraproject.org/rpms/python-ipython/adduser

--- Additional comment from David Cantrell on 2025-01-22 18:17:18 UTC ---

python-executing can be built without tests, which drops the ipython BuildRequire.

rpmbuild -ba --without=tests --without=slow_tests

Then you can build python-stack-data and python-jedi which are also needed for ipython.  Once those exist, I can branch and build ipython.  But to do this I need all of the BuildRequires for ipython in EPEL.

--- Additional comment from Fedora Update System on 2025-02-10 20:46:31 UTC ---

FEDORA-EPEL-2025-a293b023b2 (ipython-8.31.0-2.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a293b023b2

--- Additional comment from Fedora Update System on 2025-02-11 03:14:25 UTC ---

FEDORA-EPEL-2025-a293b023b2 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a293b023b2

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

--- Additional comment from Carl George 🤠 on 2025-02-27 05:57:58 UTC ---

The proposed updated does not install.  Please take a look at the missing dependencies.

--- Additional comment from Kaleb KEITHLEY on 2025-02-27 13:01:52 UTC ---

One option would be to "bootstrap" this without the python3-ipython+notebook subpackage until all the +notebook dependencies are resolved.

scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=129655927

--- Additional comment from Romain Geissler on 2025-02-27 13:08:33 UTC ---

Yes I also think we should do that, I am trying to release the notebook dependencies and quite some do depend on ipython.

--- Additional comment from Kaleb KEITHLEY on 2025-02-27 13:27:20 UTC ---

(In reply to Romain Geissler from comment #9)
> Yes I also think we should do that, I am trying to release the notebook
> dependencies and quite some do depend on ipython.

Are you saying there's a circular dependency? That would be a good argument *for* a bootstrap build.

--- Additional comment from Romain Geissler on 2025-02-27 13:30:53 UTC ---

At least for some tests yes, but I didn't check if there is also a circular dependency for runtime dependencies. For now I haven't dig enough to really know what depends on what exactly, but I can tell you that in the python-jupyter-* packages that I recently asked in EPEL and which are needed to build python-notebook I saw multiple times dependencies on ipython. My plan was to actually propose a bootstrap of ipython without the notebook sub package, but I was waiting to have more concrete information before proposing this.

--- Additional comment from Carl George 🤠 on 2025-02-27 19:52:23 UTC ---

> One option would be to "bootstrap" this without the python3-ipython+notebook subpackage until all the +notebook dependencies are resolved.

It's totally fine to make the +notebook subpackage conditional and disable it on releases that don't have the necessary dependencies available.  Those type of subpackages are inherently optional.  I would just caution against making them literal bootstrap builds (`%bcond bootstrap 1` or `%bcond_without bootstrap` in the spec file, or `_with_bootstrap=1` on a sidetag) because that will add `~bootstrap` to the release, which ideally wouldn't be released to the stable repos.

> Are you saying there's a circular dependency? That would be a good argument *for* a bootstrap build.

I don't think that is the case, I don't see anything in rawhide that requires +notebook.  I think Romain is referring to python-jupyter-* packages that require python-ipython itself, not the +notebook subpackage.

--- Additional comment from Fedora Update System on 2025-02-27 20:12:12 UTC ---

FEDORA-EPEL-2025-f440f7f8c0 (ipython-8.31.0-4.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-f440f7f8c0

--- Additional comment from Fedora Update System on 2025-02-27 20:42:44 UTC ---

FEDORA-EPEL-2025-2752762aa1 (ipython-8.32.0-2.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-2752762aa1

--- Additional comment from Romain Geissler on 2025-02-27 22:40:32 UTC ---

> I would just caution against making them literal bootstrap builds (`%bcond bootstrap 1` or `%bcond_without bootstrap` in the spec file, or `_with_bootstrap=1` on a sidetag) because that will add `~bootstrap` to the release, which ideally wouldn't be released to the stable repos.

So bootstrap package shall ideally never hit any user installation ? Because we have been doing that on couple of other packages these last months, so I thought it was "ok-ish".

> I don't think that is the case, I don't see anything in rawhide that requires +notebook.  I think Romain is referring to python-jupyter-* packages that require python-ipython itself, not the +notebook subpackage.

Yes this is what I meant.

Shall we create a duplicate bug tracker for releasing the "full" ipython thing with all subpackages once the notebook/jupyter dependencies will be out ?

--- Additional comment from Kaleb KEITHLEY on 2025-02-27 23:29:26 UTC ---

(In reply to Romain Geissler from comment #15)
> 
> Shall we create a duplicate bug tracker for releasing the "full" ipython
> thing with all subpackages once the notebook/jupyter dependencies will be
> out ?

yes ;-)

Comment 1 Romain Geissler 2025-05-08 01:28:33 UTC
Once https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c00ce91ec1 will be pushed to stable we will be able to merge https://src.fedoraproject.org/rpms/ipython/pull-request/91 which should unblock this request.

Comment 2 Fedora Update System 2025-05-22 20:41:56 UTC
FEDORA-EPEL-2025-85edaae922 (ipython-8.32.0-3.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-85edaae922

Comment 3 Fedora Update System 2025-05-23 04:28:29 UTC
FEDORA-EPEL-2025-85edaae922 has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-85edaae922

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

Comment 4 Fedora Update System 2025-05-31 02:12:23 UTC
FEDORA-EPEL-2025-85edaae922 (ipython-8.32.0-3.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.