Bug ID 1193962
Summary [python][jupyter][notebook] broken dependency: send2trash
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter guillaume.lang@pipot.net
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Breakage when starting the Jupyter notebook.

openSUSE-release-20211219-1337.1
python38-3.8.12-3.1
python38-notebook-6.4.6-1.1
python38-Send2Trash-1.5.0-1.10

Full traceback:
####################################################################################################################
####################################################################################################################
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 568,
in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 886,
in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 777,
in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Send2Trash 1.5.0
(/usr/lib/python3.8/site-packages), Requirement.parse('Send2Trash>=1.8.0'),
{'notebook'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/jupyter-notebook-3.8", line 33, in <module>
    sys.exit(load_entry_point('notebook==6.4.6', 'console_scripts',
'jupyter-notebook')())
  File "/usr/lib/python3.8/site-packages/jupyter_core/application.py", line
264, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/usr/lib/python3.8/site-packages/traitlets/config/application.py", line
663, in launch_instance
    app.initialize(argv)
  File "/usr/lib/python3.8/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/usr/lib/python3.8/site-packages/traitlets/config/application.py", line
87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 2151,
in initialize
    self.init_webapp()
  File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 1759,
in init_webapp
    self.web_app = NotebookWebApplication(
  File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 179, in
__init__
    settings = self.init_settings(
  File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 302, in
init_settings
    nbextensions_path=jupyter_app.nbextensions_path,
  File "/usr/lib/python3.8/site-packages/notebook/notebookapp.py", line 1329,
in nbextensions_path
    from IPython.paths import get_ipython_dir
  File "/usr/lib/python3.8/site-packages/IPython/__init__.py", line 56, in
<module>
    from .terminal.embed import embed
  File "/usr/lib/python3.8/site-packages/IPython/terminal/embed.py", line 15,
in <module>
    from IPython.core.interactiveshell import DummyMod, InteractiveShell
  File "/usr/lib/python3.8/site-packages/IPython/core/interactiveshell.py",
line 94, in <module>
    import docrepr.sphinxify as sphx
  File "/usr/lib/python3.8/site-packages/docrepr/sphinxify.py", line 34, in
<module>
    from sphinx.application import Sphinx
  File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 26, in
<module>
    from docutils.parsers.rst import Directive, roles
  File "/usr/lib/python3.8/site-packages/docutils/parsers/rst/__init__.py",
line 75, in <module>
    from docutils.parsers.rst import roles, states
  File "/usr/lib/python3.8/site-packages/docutils/parsers/rst/roles.py", line
78, in <module>
    from docutils.utils.code_analyzer import Lexer, LexerError
  File "/usr/lib/python3.8/site-packages/docutils/utils/code_analyzer.py", line
11, in <module>
    from pkg_resources import DistributionNotFound as ResourceError
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3243,
in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3226,
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255,
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 570,
in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583,
in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772,
in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Send2Trash>=1.8.0' distribution was
not found and is required by notebook
####################################################################################################################
####################################################################################################################


You are receiving this mail because: