Bug 2173518 - Missing dependency from python3-root to python-distrdf
Summary: Missing dependency from python3-root to python-distrdf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: root
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-27 07:56 UTC by Steve Traylen
Modified: 2023-04-01 02:22 UTC (History)
2 users (show)

Fixed In Version: root-6.24.08-2.el7 root-6.28.02-1.fc38 root-6.28.02-1.fc36 root-6.28.02-1.fc37 root-6.28.02-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-30 02:40:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github root-project root pull 12407 0 None open Graceful no DistRDF 2023-03-02 07:41:40 UTC

Description Steve Traylen 2023-02-27 07:56:08 UTC
Description of problem:

/usr/lib64/python3.9/site-packages/ROOT/_facade.py  contains:

import DistRDF

Version-Release number of selected component (if applicable):

python3-root-6.26.10-1.el9.x86_64

How reproducible:

Every time

Steps to Reproduce:
1. dnf install python3-root
2.

The crash is in the command   modelmupertrig= ROOT.RDF.TH1DModel('mu', tit, 100, 0., 100.) 


  Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/ROOT/_facade.py", line 326, in RDF
    ns.Experimental.Distributed = _create_rdf_experimental_distributed_module(ns.Experimental)
  File "/usr/lib64/python3.9/site-packages/ROOT/_facade.py", line 64, in _create_rdf_experimental_distributed_module
    import DistRDF
  File "/usr/lib64/python3.9/site-packages/ROOT/_facade.py", line 153, in _importhook
    return _orig_ihook(name, *args, **kwds)
ModuleNotFoundError: No module named 'DistRDF'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/t/tcarli/incljets/jetspectra.py", line 354, in <module>
    modelmupertrig= ROOT.RDF.TH1DModel('mu', tit, 100, 0., 100.)   
  File "/usr/lib64/python3.9/site-packages/ROOT/_facade.py", line 328, in RDF
    raise Exception('Failed to pythonize the namespace RDF')
Exception: Failed to pythonize the namespace RDF

Expected results:

shoudl not crash.

Additional info:

python3-root should pull in the distrdf lib (also part of the root package)

Comment 1 Steve Traylen 2023-02-27 08:41:18 UTC
I am unsure why but I notice that while EPEL7 has

* python36-distrdf
* python2-distrdf

and EPEL9 has

python3-distrdf

there are not distrdf packages in EPEL8?

Steve.

Comment 2 Mattias Ellert 2023-03-02 08:07:33 UTC
(In reply to Steve Traylen from comment #1)
> I am unsure why but I notice that while EPEL7 has
> 
> * python36-distrdf
> * python2-distrdf
> 
> and EPEL9 has
> 
> python3-distrdf
> 
> there are not distrdf packages in EPEL8?
> 
> Steve.

EPEL 7 has root 6.24.08 since it is the last version that supports the default gcc version in RHEL 7. DistRDF in root 6.24 did not have a requirement on the python version.
EPEL 8 and 9 have root 6.26.10. DistRDF in root 6.26 has a minimum Python version requirement on Python 3.7, and the default Python 3 in RHEL 8 is Python 3.6, so DistRDF is not compatible and therfore there is no python3-distrdf package in EPEL 8. The error reported in this BZ should not happen though since there is a check on the Python version before DistRDF is attempted to be loaded.

Comment 3 Fedora Update System 2023-03-21 07:02:38 UTC
FEDORA-2023-9af0779bf0 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9af0779bf0

Comment 4 Fedora Update System 2023-03-21 07:02:43 UTC
FEDORA-2023-6e289cee74 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6e289cee74

Comment 5 Fedora Update System 2023-03-21 07:02:45 UTC
FEDORA-2023-a226780f05 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a226780f05

Comment 6 Fedora Update System 2023-03-21 07:02:46 UTC
FEDORA-EPEL-2023-9949bf255a has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9949bf255a

Comment 7 Fedora Update System 2023-03-21 07:09:33 UTC
FEDORA-EPEL-2023-bb3241f2d1 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-bb3241f2d1

Comment 8 Fedora Update System 2023-03-22 01:26:04 UTC
FEDORA-2023-a226780f05 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a226780f05`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a226780f05

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

Comment 9 Fedora Update System 2023-03-22 02:03:23 UTC
FEDORA-EPEL-2023-9949bf255a has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9949bf255a

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

Comment 10 Fedora Update System 2023-03-22 02:16:49 UTC
FEDORA-2023-9af0779bf0 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9af0779bf0

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

Comment 11 Fedora Update System 2023-03-22 02:24:37 UTC
FEDORA-2023-6e289cee74 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6e289cee74`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6e289cee74

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

Comment 12 Fedora Update System 2023-03-22 02:54:08 UTC
FEDORA-EPEL-2023-bb3241f2d1 has been pushed to the Fedora EPEL 7 testing repository.

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

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

Comment 13 Fedora Update System 2023-03-24 01:20:18 UTC
FEDORA-2023-a226780f05 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a226780f05`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a226780f05

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

Comment 14 Fedora Update System 2023-03-24 02:53:20 UTC
FEDORA-2023-6e289cee74 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6e289cee74`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6e289cee74

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

Comment 15 Fedora Update System 2023-03-24 03:00:50 UTC
FEDORA-2023-9af0779bf0 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9af0779bf0

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

Comment 16 Fedora Update System 2023-03-24 03:31:35 UTC
FEDORA-EPEL-2023-9949bf255a has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9949bf255a

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

Comment 17 Fedora Update System 2023-03-30 02:40:08 UTC
FEDORA-EPEL-2023-bb3241f2d1 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2023-04-01 00:15:47 UTC
FEDORA-2023-9af0779bf0 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2023-04-01 00:42:15 UTC
FEDORA-2023-a226780f05 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-04-01 01:20:46 UTC
FEDORA-2023-6e289cee74 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-04-01 02:22:53 UTC
FEDORA-EPEL-2023-9949bf255a has been pushed to the Fedora EPEL 9 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.