Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64786 closed defect (fixed)

argon2-cffi doesn't have dependency argon2-cffi-bindings, breaks jupyter

Reported by: essandess (Steve Smith) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-argon2-cffi

Description

jupyter-3.9 notebook
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/jupyter-notebook", line 33, in <module>
    sys.exit(load_entry_point('notebook==6.3.0', 'console_scripts', 'jupyter-notebook')())
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/jupyter-notebook", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/notebookapp.py", line 81, in <module>
    from .services.contents.filemanager import FileContentsManager
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/services/contents/filemanager.py", line 17, in <module>
    from send2trash import send2trash
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/send2trash/__init__.py", line 12, in <module>
    from .plat_osx import send2trash
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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.9/lib/python3.9/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.9/lib/python3.9/site-packages/Foundation/__init__.py", line 9, in <module>
    import CoreFoundation
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/CoreFoundation/__init__.py", line 9, in <module>
    import objc
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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.9/lib/python3.9/site-packages/objc/_bridgesupport.py", line 13, in <module>
    import pkg_resources
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3247, in <module>
    def _initialize_master_working_set():
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3221, in _call_aside
    f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3259, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 579, in _build_master
    ws.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 897, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 783, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'argon2-cffi-bindings' distribution was not found and is required by argon2-cffi

Change History (4)

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Cc: stromnov removed
Keywords: jupyter removed
Owner: set to stromnov
Status: newassigned

comment:3 Changed 3 years ago by essandess (Steve Smith)

Resolution: fixed
Status: assignedclosed

In dd24e4b6844c02fdcfeeb904cb4cc406ef0b0f5d/macports-ports (master):

py-argon2-cffi: Add py-argon2-cffi-bindings dependency

  • Add py-argon2-cffi-bindings dependency
  • Fixes: #64786

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

You have to increase the revision in order for a change in a lib or run dependency to take effect for users who already had the port installed.

Note: See TracTickets for help on using tickets.