- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Stable
-
Assigned To
Emulatorman - Operating System Hyperbola GNU/Linux-libre
- Severity Medium
- Priority Medium
- Reported Version Milky Way v0.3
- Due in Version Starfix
-
Due Date
Undecided
- Votes
- Private
FS#1448 - [ipython2] broken
ipython2 does not work with Milky Way (it used to work with the previous release):
$ ipython2 Traceback (most recent call last): File "/usr/bin/ipython2", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3036, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3020, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3049, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 654, in _build_master ws.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pathlib2' distribution was not found and is required by ipython
It is because ipython2 (and also python2-pickleshare) now requires pathlib2 while Milky Way only ships pathlib (python2-pathlib package) which is deprecated upstream over pathlib2 and this package is also orphaned BTW.
python2-pathlib2 is available in Arch:
https://www.archlinux.org/packages/community/any/python2-pathlib2/
It builds fine on hyperbola and once installed, ipython2 works fine. As of other packages currently depending on the legacy python2-pathlib, I checked them one by one and:
- python2-pickleshare: Broken as it requires pathlib2 (same as ipython2).
- python2-pytest-benchmark: Does not use pathlib at all (neither in setuptools requires.txt nor in the source code).
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task