-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot install on Python 3.8, 3.9, 3.10, 3.11 on macOS #201
Comments
Is there a reason you're using |
Apparently Treq is pinned to an old version of |
Replication: ★ mktmpenv -p python3.11
↩ Tue Sep 24 21:29:52 PDT 2024
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-9010ff8df70f147/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-9010ff8df70f147/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-9010ff8df70f147/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-9010ff8df70f147/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-9010ff8df70f147/bin/get_env_details
This is a temporary environment. It will be deleted when you run 'deactivate'.
↪ Tue Sep 24 21:29:53 PDT 2024 (★ mktmpenv -p python3.11) (1 seconds elapsed)
glyph@arabella:~ 🏰 tmp-9010ff8df70f147 🐚 🔑 ⮐
★ pip install brotlicffi
↩ Tue Sep 24 21:30:00 PDT 2024
Looking in indexes: http://127.0.0.1:3141/root/plus/+simple/
Collecting brotlicffi
Downloading http://127.0.0.1:3141/root/pypi/%2Bf/b77/827a689905143/brotlicffi-1.1.0.0.tar.gz (465 kB)
Preparing metadata (setup.py) ... done
Collecting cffi>=1.0.0 (from brotlicffi)
Downloading http://127.0.0.1:3141/root/pypi/%2Bf/30c/5e0cb5ae493c0/cffi-1.17.1-cp311-cp311-macosx_11_0_arm64.whl (178 kB)
Collecting pycparser (from cffi>=1.0.0->brotlicffi)
Downloading http://127.0.0.1:3141/root/pypi/%2Bf/c37/02b6d3dd8c7ab/pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: brotlicffi
Building wheel for brotlicffi (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-vihjgp2a/brotlicffi_0a73da360f1c4e7cb8315a8daf73694c/setup.py", line 83, in <module>
setup(
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py", line 116, in setup
_install_setup_requires(attrs)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py", line 89, in _install_setup_requires
_fetch_build_eggs(dist)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/dist.py", line 617, in fetch_build_eggs
return _fetch_build_eggs(self, requires)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 897, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 933, in _resolve_dist
dist = best[req.key] = env.best_match(
^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1271, in best_match
return self.obtain(req, installer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1307, in obtain
return installer(requirement) if installer else None
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
wheel.install_as_egg(dist_location)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/wheel.py", line 122, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/wheel.py", line 130, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/wheel.py", line 175, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-vihjgp2a/brotlicffi_0a73da360f1c4e7cb8315a8daf73694c/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/cffi-1.17.1.dist-info' -> '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-vihjgp2a/brotlicffi_0a73da360f1c4e7cb8315a8daf73694c/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for brotlicffi
Running setup.py clean for brotlicffi
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-vihjgp2a/brotlicffi_0a73da360f1c4e7cb8315a8daf73694c/setup.py", line 83, in <module>
setup(
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py", line 116, in setup
_install_setup_requires(attrs)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py", line 89, in _install_setup_requires
_fetch_build_eggs(dist)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/__init__.py", line 94, in _fetch_build_eggs
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/dist.py", line 617, in fetch_build_eggs
return _fetch_build_eggs(self, requires)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 897, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 933, in _resolve_dist
dist = best[req.key] = env.best_match(
^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1271, in best_match
return self.obtain(req, installer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1307, in obtain
return installer(requirement) if installer else None
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
wheel.install_as_egg(dist_location)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/wheel.py", line 122, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/wheel.py", line 130, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/glyph/.virtualenvs/tmp-9010ff8df70f147/lib/python3.11/site-packages/setuptools/wheel.py", line 175, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-vihjgp2a/brotlicffi_0a73da360f1c4e7cb8315a8daf73694c/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/cffi-1.17.1.dist-info' -> '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-vihjgp2a/brotlicffi_0a73da360f1c4e7cb8315a8daf73694c/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for brotlicffi
Failed to build brotlicffi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (brotlicffi)
↪ Tue Sep 24 21:30:04 PDT 2024 (★ pip install brotlicffi) (4 seconds elapsed)
glyph@arabella:~ 🏰 tmp-9010ff8df70f147 🐚 🔑 🛑 1 ⮐
★ |
Hmm. |
A log of the process from 3.13, 3.12, and 3.11; all lower versions look like 3.11.
The text was updated successfully, but these errors were encountered: