Opened 3 years ago

Closed 3 years ago

#51115 closed defect (fixed)

py27-ipython @4.1.2_0 fails loading py27-pickleshare @0.7.2_0: ImportError: No module named pathlib2

Reported by: gorticus (Jason Mitchell) Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: dhoese@…, jjstickel (Jonathan Stickel), mark.chilenski@…
Port: py-pickleshare

Description

Starting py27-ipython @4.1.2_0 after updating to py27-pickleshare @0.7.2_0 (r147640) from v0.6_0 results in the following pathlib2 error:

$ ipython
Traceback (most recent call last):
  File "/opt/local/bin/ipython", line 4, in <module>
    from IPython import start_ipython
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/__init__.py", line 49, in <module>
    from .terminal.embed import embed
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/terminal/embed.py", line 16, in <module>
    from IPython.core.interactiveshell import DummyMod
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 31, in <module>
    from pickleshare import PickleShareDB
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pickleshare.py", line 45, in <module>
    from pathlib2 import Path
ImportError: No module named pathlib2

Re-activating py27-pickleshare @0.6_0 allows py27-ipython @4.1.2_0 to start. My port tree version is r147649.

Attachments (2)

Portfile_py-pathlib2 (1.3 KB) - added by jjstickel (Jonathan Stickel) 3 years ago.
new port pathlib2
py-pickleshare_Portfile.diff (539 bytes) - added by jjstickel (Jonathan Stickel) 3 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 3 years ago by dhoese@…

Cc: dhoese@… added

Cc Me!

comment:2 Changed 3 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stromnov@…

In the future, please Cc the port maintainers (port info --maintainers py-pickleshare), if any.

comment:3 Changed 3 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel@… added

Cc Me!

Changed 3 years ago by jjstickel (Jonathan Stickel)

Attachment: Portfile_py-pathlib2 added

new port pathlib2

comment:4 Changed 3 years ago by jjstickel (Jonathan Stickel)

Looks like pickleshare changed dependency path to pathlib2. New portfile for pathlib2 attached, and a patch for pickelshare.

Changed 3 years ago by jjstickel (Jonathan Stickel)

comment:5 Changed 3 years ago by mark.chilenski@…

Cc: mark.chilenski@… added

Cc Me!

comment:6 Changed 3 years ago by stromnov (Andrew Stromnov)

Committed at r147654 and r147655.

comment:7 Changed 3 years ago by gorticus (Jason Mitchell)

Update works for me @r147697. Thanks for the quick turn-around!

Sorry about missing the Cc...

comment:8 Changed 3 years ago by gorticus (Jason Mitchell)

Seems good to close, yes? I've had no further issues.

comment:9 in reply to:  8 Changed 3 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.