[Bug 1193962] New: [python][jupyter][notebook] broken dependency: send2trash
http://bugzilla.opensuse.org/show_bug.cgi?id=1193962 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: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1193962 http://bugzilla.opensuse.org/show_bug.cgi?id=1193962#c1 G Tgz <grdfkbxt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent Component|Other |Development Severity|Normal |Critical --- Comment #1 from G Tgz <grdfkbxt@gmail.com> --- Summary: On OpenSuse Tumbleweed, cannot to start Jupyter Notebook for Python. Impact: Critical blocker. Cannot do any work at all in Jupyter Notebook. Root Cause: The 'Send2Trash>=1.8.0' distribution was not found and is required by Jupyter notebook. This is due to an update to jupyter-notebook on 28Oct2021. See 'Other relevant technical information', below, for details. The installed version of Send2Trash (1.5.0-1.10) is older than the version required (1.8.0). Suggested solution: Please update 'Send2Trash' in Tumbleweed to version 1.8.0 or newer. Detailed Problem Report: -------- START ----------------------------------------------------------------- [I 19:48:16.933 NotebookApp] Loading IPython parallel extension [I 2022-01-07 19:48:18.098 LabApp] JupyterLab extension loaded from /usr/lib/python3.8/site-packages/jupyterlab [I 2022-01-07 19:48:18.098 LabApp] JupyterLab application directory is /usr/share/jupyter/lab [I 19:48:18.107 NotebookApp] Serving notebooks from local directory: /home/<... snip ...> [I 19:48:18.107 NotebookApp] Jupyter Notebook 6.4.6 is running at: [I 19:48:18.107 NotebookApp] http://localhost:8888/?token=<... snip ...> [I 19:48:18.107 NotebookApp] or http://127.0.0.1:8888/?token=<... snip ...> [I 19:48:18.107 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 19:48:18.136 NotebookApp] To access the notebook, open this file in a browser: file:///home/<... snip ...>/.local/share/jupyter/runtime/nbserver-2105-open.html Or copy and paste one of these URLs: http://localhost:8888/?token=<... snip ...> or http://127.0.0.1:8888/?token=<... snip ...> [W 19:48:25.168 NotebookApp] Error loading kernelspec 'python3' 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/lib/python3.8/site-packages/jupyter_client/kernelspec.py", line 314, in get_all_specs spec = self._get_kernel_spec_by_name(kname, resource_dir) File "/usr/lib/python3.8/site-packages/jupyter_client/kernelspec.py", line 247, in _get_kernel_spec_by_name from ipykernel.kernelspec import RESOURCES, get_kernel_dict File "/usr/lib/python3.8/site-packages/ipykernel/kernelspec.py", line 16, in <module> from .ipkernel import _is_debugpy_available File "/usr/lib/python3.8/site-packages/ipykernel/ipkernel.py", line 38, in <module> from .debugger import Debugger File "/usr/lib/python3.8/site-packages/ipykernel/debugger.py", line 20, in <module> from debugpy.server import api # noqa File "/usr/lib64/python3.8/site-packages/debugpy/server/__init__.py", line 9, in <module> import debugpy._vendored.force_pydevd # noqa File "/usr/lib64/python3.8/site-packages/debugpy/_vendored/force_pydevd.py", line 45, in <module> preimport('pydevd', [ File "/usr/lib64/python3.8/site-packages/debugpy/_vendored/__init__.py", line 128, in preimport import_module(name) File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_plugins/__init__.py", line 5, in <module> __import__('pkg_resources').declare_namespace(__name__) 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 -------- END ------------------------------------------------------------------- Other relevant technical information: -------- START ----------------------------------------------------------------- Jupyter Notebook: Changelog for v6.4.6 https://jupyter-notebook.readthedocs.io/en/stable/changelog.html#id1 Bugs fixed Fix send2trash tests failing on Windows #6127 (@dolfinus) Full Changelog for v6.4.6 Comparing changes v6.4.5 - v6.4.6 https://github.com/jupyter/notebook/compare/v6.4.5...160c27d3c23dafe8b422405... Merge pull request #6127 from dolfinus/update_send2trash Oct 28, 2021 https://github.com/jupyter/notebook/commit/eb3a1c24839205afcef0ba65ace2309d3... -------- END ------------------------------------------------------------------- Software versions: -------- START ----------------------------------------------------------------- $> cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20220103" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20220103" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20220103" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed" $> $> sudo zypper info jupyter-notebook Loading repository data... Reading installed packages... Information for package jupyter-notebook: ----------------------------------------- Repository : openSUSE-Tumbleweed-Oss Name : jupyter-notebook Version : 6.4.6-1.1 Arch : noarch Vendor : openSUSE Installed Size : 103.1 KiB Installed : Yes (automatically) Status : up-to-date Source package : python-notebook-6.4.6-1.1.src Summary : Jupyter Notebook interface Description : The Jupyter HTML notebook is a web-based notebook environment for interactive computing. This package provides the jupyter components. $> $> sudo zypper info python38-Send2Trash Loading repository data... Reading installed packages... Information for package python38-Send2Trash: -------------------------------------------- Repository : openSUSE-Tumbleweed-Oss Name : python38-Send2Trash Version : 1.5.0-1.10 Arch : noarch Vendor : openSUSE Installed Size : 42.7 KiB Installed : Yes (automatically) Status : up-to-date Source package : python-Send2Trash-1.5.0-1.10.src Summary : Python library to send files to the Trash location Description : Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. On OS X, it uses native FSMoveObjectToTrashSync Cocoa calls, on Windows, it uses native (and ugly) SHFileOperation win32 calls. On other platforms, if PyGObject and GIO are available, it will use this. Otherwise, it will fallback to its own implementation of the trash specifications from freedesktop.org. $> -------- END ------------------------------------------------------------------- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1193962 http://bugzilla.opensuse.org/show_bug.cgi?id=1193962#c2 Timothy Brown <stimut@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |stimut@gmail.com Resolution|--- |FIXED --- Comment #2 from Timothy Brown <stimut@gmail.com> --- Send2Trash has been updated to 1.8.0. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com