Date: Mon, 23 Jan 2023 22:52:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269125] /devel/py39-jupyterlab-3.5.0 requires newer version of importlib_metadata>=4.8.3 Message-ID: <bug-269125-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269125 Bug ID: 269125 Summary: /devel/py39-jupyterlab-3.5.0 requires newer version of importlib_metadata>=3D4.8.3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: slam@slameagles.com Hi, when starting /devel/py39-jupyterlab-3.5.0 on FreeBSD 13.1-RELEASE-p5, I get the following errors. All packages are binary installs via pkg. I reproduced the error on my usual system and a fresh install. The result is jupyter-lab opens but see no kernels. jupyter-notebook works and does see t= he kernels.Thanks. [E 2023-01-23 14:26:02.059 ServerApp] Uncaught exception GET /api/kernelspecs?1674512760906 (127.0.0.1) HTTPServerRequest(protocol=3D'http', host=3D'localhost:8888', method=3D= 'GET', uri=3D'/api/kernelspecs?1674512760906', version=3D'HTTP/1.1', remote_ip=3D'127.0.0.1') Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 581, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 909, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 800, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (importlib-metadata 4.8.1 (/usr/local/lib/python3.9/site-packages), Requirement.parse('importlib_metadata>=3D4.8.3'), {'jupyterlab-server'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/tornado/web.py", line 17= 13, in _execute result =3D await result File "/usr/local/lib/python3.9/site-packages/jupyter_server/services/kernelspecs= /handlers.py", line 64, in get kspecs =3D await ensure_async(ksm.get_all_specs()) File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 311, in get_all_specs d =3D self.find_kernel_specs() File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 225, in find_kernel_specs from ipykernel.kernelspec import RESOURCES # type: ignore File "/usr/local/lib/python3.9/site-packages/ipykernel/kernelspec.py", line 18, in <module> from .debugger import _is_debugpy_available File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 39, in <module> raise e File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 22, in <module> from debugpy.server import api # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/server/__init__.= py", line 7, in <module> import debugpy._vendored.force_pydevd # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/force_pydevd.py", line 36, in <module> preimport('pydevd', [ File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/__init__.py", line 126, in preimport import_module(name) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_plu= gins/__init__.py", line 5, in <module> __import__('pkg_resources').declare_namespace(__name__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3260, in <module> def _initialize_master_working_set(): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3234, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3272, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 583, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 596, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 795, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'importlib_metadata>=3D4.8.3' distribution was not found and is required by jupyterlab-server [W 2023-01-23 14:26:02.068 ServerApp] wrote error: 'Unhandled error' [E 2023-01-23 14:26:02.070 ServerApp] { "Host": "localhost:8888", "Accept": "*/*", "Referer": "http://localhost:8888/lab", "User-Agent": "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100= 101 Firefox/109.0" } [E 2023-01-23 14:26:02.070 ServerApp] 500 GET /api/kernelspecs?1674512760906 (127.0.0.1) 1019.88ms referer=3Dhttp://localhost:8888/lab [E 2023-01-23 14:26:02.698 ServerApp] Uncaught exception GET /api/kernelspecs?1674512762087 (127.0.0.1) HTTPServerRequest(protocol=3D'http', host=3D'localhost:8888', method=3D= 'GET', uri=3D'/api/kernelspecs?1674512762087', version=3D'HTTP/1.1', remote_ip=3D'127.0.0.1') Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 581, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 909, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 800, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (importlib-metadata 4.8.1 (/usr/local/lib/python3.9/site-packages), Requirement.parse('importlib_metadata>=3D4.8.3'), {'jupyterlab-server'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/tornado/web.py", line 17= 13, in _execute result =3D await result File "/usr/local/lib/python3.9/site-packages/jupyter_server/services/kernelspecs= /handlers.py", line 64, in get kspecs =3D await ensure_async(ksm.get_all_specs()) File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 311, in get_all_specs d =3D self.find_kernel_specs() File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 225, in find_kernel_specs from ipykernel.kernelspec import RESOURCES # type: ignore File "/usr/local/lib/python3.9/site-packages/ipykernel/kernelspec.py", line 18, in <module> from .debugger import _is_debugpy_available File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 39, in <module> raise e File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 22, in <module> from debugpy.server import api # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/server/__init__.= py", line 7, in <module> import debugpy._vendored.force_pydevd # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/force_pydevd.py", line 36, in <module> preimport('pydevd', [ File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/__init__.py", line 126, in preimport import_module(name) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_plu= gins/__init__.py", line 5, in <module> __import__('pkg_resources').declare_namespace(__name__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3260, in <module> def _initialize_master_working_set(): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3234, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3272, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 583, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 596, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 795, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'importlib_metadata>=3D4.8.3' distribution was not found and is required by jupyterlab-server [W 2023-01-23 14:26:02.699 ServerApp] wrote error: 'Unhandled error' [E 2023-01-23 14:26:02.700 ServerApp] { "Host": "localhost:8888", "Accept": "*/*", "Referer": "http://localhost:8888/lab", "User-Agent": "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100= 101 Firefox/109.0" } [E 2023-01-23 14:26:02.700 ServerApp] 500 GET /api/kernelspecs?1674512762087 (127.0.0.1) 522.16ms referer=3Dhttp://localhost:8888/lab [W 2023-01-23 14:26:03.713 LabApp] Could not determine jupyterlab build sta= tus without nodejs [E 2023-01-23 14:26:45.131 ServerApp] Uncaught exception GET /api/kernelspecs?1674512804584 (127.0.0.1) HTTPServerRequest(protocol=3D'http', host=3D'localhost:8888', method=3D= 'GET', uri=3D'/api/kernelspecs?1674512804584', version=3D'HTTP/1.1', remote_ip=3D'127.0.0.1') Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 581, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 909, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 800, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (importlib-metadata 4.8.1 (/usr/local/lib/python3.9/site-packages), Requirement.parse('importlib_metadata>=3D4.8.3'), {'jupyterlab-server'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/tornado/web.py", line 17= 13, in _execute result =3D await result File "/usr/local/lib/python3.9/site-packages/jupyter_server/services/kernelspecs= /handlers.py", line 64, in get kspecs =3D await ensure_async(ksm.get_all_specs()) File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 311, in get_all_specs d =3D self.find_kernel_specs() File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 225, in find_kernel_specs from ipykernel.kernelspec import RESOURCES # type: ignore File "/usr/local/lib/python3.9/site-packages/ipykernel/kernelspec.py", line 18, in <module> from .debugger import _is_debugpy_available File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 39, in <module> raise e File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 22, in <module> from debugpy.server import api # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/server/__init__.= py", line 7, in <module> import debugpy._vendored.force_pydevd # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/force_pydevd.py", line 36, in <module> preimport('pydevd', [ File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/__init__.py", line 126, in preimport import_module(name) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_plu= gins/__init__.py", line 5, in <module> __import__('pkg_resources').declare_namespace(__name__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3260, in <module> def _initialize_master_working_set(): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3234, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3272, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 583, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 596, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 795, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'importlib_metadata>=3D4.8.3' distribution was not found and is required by jupyterlab-server [W 2023-01-23 14:26:45.133 ServerApp] wrote error: 'Unhandled error' [E 2023-01-23 14:26:45.134 ServerApp] { "Host": "localhost:8888", "Accept": "*/*", "Referer": "http://localhost:8888/lab", "User-Agent": "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100= 101 Firefox/109.0" } [E 2023-01-23 14:26:45.134 ServerApp] 500 GET /api/kernelspecs?1674512804584 (127.0.0.1) 532.23ms referer=3Dhttp://localhost:8888/lab [E 2023-01-23 14:27:55.413 ServerApp] Uncaught exception GET /api/kernelspecs?1674512874908 (127.0.0.1) HTTPServerRequest(protocol=3D'http', host=3D'localhost:8888', method=3D= 'GET', uri=3D'/api/kernelspecs?1674512874908', version=3D'HTTP/1.1', remote_ip=3D'127.0.0.1') Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 581, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 909, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 800, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (importlib-metadata 4.8.1 (/usr/local/lib/python3.9/site-packages), Requirement.parse('importlib_metadata>=3D4.8.3'), {'jupyterlab-server'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/tornado/web.py", line 17= 13, in _execute result =3D await result File "/usr/local/lib/python3.9/site-packages/jupyter_server/services/kernelspecs= /handlers.py", line 64, in get kspecs =3D await ensure_async(ksm.get_all_specs()) File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 311, in get_all_specs d =3D self.find_kernel_specs() File "/usr/local/lib/python3.9/site-packages/jupyter_client/kernelspec.py", line 225, in find_kernel_specs from ipykernel.kernelspec import RESOURCES # type: ignore File "/usr/local/lib/python3.9/site-packages/ipykernel/kernelspec.py", line 18, in <module> from .debugger import _is_debugpy_available File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 39, in <module> raise e File "/usr/local/lib/python3.9/site-packages/ipykernel/debugger.py", = line 22, in <module> from debugpy.server import api # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/server/__init__.= py", line 7, in <module> import debugpy._vendored.force_pydevd # noqa File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/force_pydevd.py", line 36, in <module> preimport('pydevd', [ File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/__init__.py", line 126, in preimport import_module(name) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.9/site-packages/debugpy/_vendored/pydevd/pydevd_plu= gins/__init__.py", line 5, in <module> __import__('pkg_resources').declare_namespace(__name__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3260, in <module> def _initialize_master_working_set(): File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3234, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 3272, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 583, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 596, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.p= y", line 795, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'importlib_metadata>=3D4.8.3' distribution was not found and is required by jupyterlab-server [W 2023-01-23 14:27:56.042 ServerApp] wrote error: 'Unhandled error' [E 2023-01-23 14:27:56.043 ServerApp] { "Host": "localhost:8888", "Accept": "*/*", "Referer": "http://localhost:8888/lab", "User-Agent": "Mozilla/5.0 (X11; FreeBSD amd64; rv:109.0) Gecko/20100= 101 Firefox/109.0" } [E 2023-01-23 14:27:56.043 ServerApp] 500 GET /api/kernelspecs?1674512874908 (127.0.0.1) 1119.38ms referer=3Dhttp://localhost:8888/lab --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269125-7788>