Homebrew on MacOS Mojave just updated to pypy3 7.0.0 and reminded me to update the setup tools. Doing so, though, throws an exceptions. ``` ─➤ pip_pypy3 install --upgrade pip setuptools Collecting pip Using cached https://files.pythonhosted.org/packages/d7/41/34dd96bd33958e52cb4da2f1bf0818... Collecting setuptools Using cached https://files.pythonhosted.org/packages/d1/6a/4b2fcefd2ea0868810e92d519dacac... Installing collected packages: pip, setuptools Found existing installation: pip 10.0.1 Uninstalling pip-10.0.1: Successfully uninstalled pip-10.0.1 Found existing installation: setuptools 39.0.1 Uninstalling setuptools-39.0.1: Successfully uninstalled setuptools-39.0.1 Successfully installed pip-19.0.2 setuptools-40.8.0 Traceback (most recent call last): File "/usr/local/bin/pip_pypy3", line 11, in <module> sys.exit(main()) File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_internal/__init__.py", line 246, in main File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_internal/basecommand.py", line 264, in main File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_internal/basecommand.py", line 81, in _build_session File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_internal/download.py", line 338, in __init__ File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_internal/download.py", line 127, in user_agent File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_internal/utils/misc.py", line 829, in get_installed_version File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 558, in __init__ File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 614, in add_entry File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 1882, in find_eggs_in_zip File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 1399, in has_metadata File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 1756, in _has File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 1633, in zipinfo File "/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/pip-10.0.1-py3.6.egg/pip/_vendor/pkg_resources/__init__.py", line 1590, in load FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/Cellar/pypy3/7.0.0/libexec/site-packages/setuptools-39.0.1-py3.6.egg' ╭─reagle@hom ~ ╰─➤ pip_pypy3 install --upgrade pip setuptools 1 ↵ Requirement already up-to-date: pip in /usr/local/Cellar/pypy3/7.0.0/libexec/site-packages (19.0.2) Requirement already up-to-date: setuptools in /usr/local/Cellar/pypy3/7.0.0/libexec/site-packages (40.8.0) ╭─reagle@hom ~ ╰─➤ ```
Hi Joseph, On Mon, 18 Feb 2019 at 14:33, Joseph Reagle <joseph.2011@reagle.org> wrote:
Homebrew on MacOS Mojave just updated to pypy3 7.0.0 and reminded me to update the setup tools. Doing so, though, throws an exceptions.
We're unlikely to be able to help. The problem might be anywhere from homebrew to setuptools to the way we package pypy3, and my guess would be that nobody can reproduce the problem now (even if we had OS X machines to test with). I assume that if you remove everything and install pypy3 from scratch instead of via an update, everything works fine? A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Joseph Reagle