Bug 1897929

Summary: python3-widgetsnbextension conflicts with sagemath-jupyter
Product: [Fedora] Fedora Reporter: Edgar Hoch <edgar.hoch>
Component: python-widgetsnbextensionAssignee: Lumír Balhar <lbalhar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: lbalhar, mhroncok, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-16 09:24:29 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:

Description Edgar Hoch 2020-11-15 16:49:27 UTC
Description of problem:

# LANG=C dnf install python3-widgetsnbextension sagemath-jupyter
...
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/lib/python3.9/site-packages/widgetsnbextension/__pycache__/__init__.cpython-39.opt-1.pyc conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/lib/python3.9/site-packages/widgetsnbextension/__pycache__/__init__.cpython-39.pyc conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/lib/python3.9/site-packages/widgetsnbextension/__pycache__/_version.cpython-39.opt-1.pyc conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/lib/python3.9/site-packages/widgetsnbextension/__pycache__/_version.cpython-39.pyc conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/lib/python3.9/site-packages/widgetsnbextension/_version.py conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/lib/python3.9/site-packages/widgetsnbextension/static/extension.js conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/lib/python3.9/site-packages/widgetsnbextension/static/extension.js.map conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/share/jupyter/nbextensions/jupyter-js-widgets/extension.js conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64
  file /usr/share/jupyter/nbextensions/jupyter-js-widgets/extension.js.map conflicts between attempted installs of python3-widgetsnbextension-3.5.1-2.fc33.noarch and sagemath-jupyter-9.1-4.fc33.x86_64



Version-Release number of selected component (if applicable):
python3-widgetsnbextension-3.5.1-2.fc33.noarch

How reproducible:
Always

Steps to Reproduce:
1. dnf install python3-widgetsnbextension sagemath-jupyter


Additional info:

What is the state of python3-widgetsnbextension?
It seams that it wasn't build in koji for rawhide.
Will it be retired?
Then it would be helpful if it is listed as retired package already for Fedora 33 now so it will not be selected for installation and doesn't abort dnf installation.

Comment 1 Lumír Balhar 2020-11-16 06:14:09 UTC
Hello.

Thank you for the report. I knew about this problem even before I packaged python-widgetsnbextension for Fedora. The problem is that sagemath-jupyter bundles this library instread of listing it as a dependency.

See this bugzilla report from August: https://bugzilla.redhat.com/show_bug.cgi?id=1856311

I'm afraid that there is nothing I can do about it.

By the way, the fact that it hasn't been build in rawhide yet doesn't mean it will be or should be retire. I just had no reason to rebuild the package.

Comment 2 Miro Hrončok 2020-11-16 09:24:29 UTC

*** This bug has been marked as a duplicate of bug 1856311 ***