Opened 2 years ago
Closed 2 years ago
#65687 closed defect (fixed)
py-jsonschema needs dependency on pkgutil-resolve-name on python <= 3.8
Reported by: | someuser12 | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-jsonschema py-notebook |
Description
Launching jupyter-notebook-3.8
fails because of a problem of dependencies (this does not happen with jupyter-notebook-3.10):
Traceback (most recent call last): File "/opt/local/bin/jupyter-notebook-3.8", line 33, in <module> sys.exit(load_entry_point('notebook==6.4.11', 'console_scripts', 'jupyter-notebook')()) File "/opt/local/bin/jupyter-notebook-3.8", line 25, in importlib_load_entry_point return next(matches).load() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 843, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/notebook/notebookapp.py", line 80, in <module> from .services.contents.filemanager import FileContentsManager File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/notebook/services/contents/filemanager.py", line 16, in <module> from send2trash import send2trash File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/send2trash/__init__.py", line 12, in <module> from .plat_osx import send2trash File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/send2trash/plat_osx.py", line 14, in <module> from .plat_osx_pyobjc import send2trash File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/send2trash/plat_osx_pyobjc.py", line 7, in <module> from Foundation import NSFileManager, NSURL File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/Foundation/__init__.py", line 9, in <module> import CoreFoundation File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/CoreFoundation/__init__.py", line 9, in <module> import objc File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/objc/__init__.py", line 29, in <module> from ._bridgesupport import * # noqa: F401, F403, E402 File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/objc/_bridgesupport.py", line 15, in <module> import pkg_resources File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3260, in <module> def _initialize_master_working_set(): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside f(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3272, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 581, in _build_master ws.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 909, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 795, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pkgutil-resolve-name>=1.3.10; python_version < "3.9"' distribution was not found and is required by jsonschema
Change History (3)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Cc: | stromnov@… removed |
---|---|
Owner: | set to stromnov |
Port: | py-jsonschema added |
Status: | new → assigned |
Summary: | py38-notebook: broken because of dependencies → py-jsonschema needs dependency on pkgutil-resolve-name on python <= 3.8 |
comment:2 Changed 2 years ago by someuser12
comment:3 Changed 2 years ago by someuser12
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
https://github.com/macports/macports-ports/pull/15860 might be a step towards solving this.