Skip to content

Missing wheels for Macos on Python 3.8/3.9 #189

Open
@Leletir

Description

Hi,

I'm looking for installing brotlicffi on Macos 11.6 and I just figured out that the wheels for Macos are missing for both Python 3.8 and 3.9 but were available for Python 3.6 and 3.7, and I've a compilation error:

pip install brotlipy
Looking in indexes: https://***/simple
Collecting brotlipy
  Using cached https://***/brotlipy-0.7.0.tar.gz (413 kB)
    ERROR: Command errored out with exit status 1:
     command: /***/venv/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-install-64ckgtwl/brotlipy/setup.py'"'"'; __file__='"'"'/private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-install-64ckgtwl/brotlipy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-pip-egg-info-6blitoel
         cwd: /private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-install-64ckgtwl/brotlipy/
    Complete output (44 lines):
    WARNING: The wheel package is not available.
      ERROR: Command errored out with exit status 1:
       command: /***/venv/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-wheel-q7xgeksi/cffi/setup.py'"'"'; __file__='"'"'/private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-wheel-q7xgeksi/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-wheel-i3r3mkqg
           cwd: /private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-wheel-q7xgeksi/cffi/
      Complete output (6 lines):
      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: setup.py --help [cmd1 cmd2 ...]
         or: setup.py --help-commands
         or: setup.py cmd --help
    
      error: invalid command 'bdist_wheel'
      ----------------------------------------
      ERROR: Failed building wheel for cffi
    ERROR: Failed to build one or more wheels
    Traceback (most recent call last):
      File "/***/venv/lib/python3.9/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
        subprocess.check_call(cmd)
      File "/***/.pyenv/versions/3.9.2/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/***/venv/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/tmpqdns2zwi', '--quiet', 'cffi>=1.0.0']' returned non-zero exit status 1.
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/pip-install-64ckgtwl/brotlipy/setup.py", line 9, in <module>
        setup(
      File "/***/venv/lib/python3.9/site-packages/setuptools/__init__.py", line 164, in setup
        _install_setup_requires(attrs)
      File "/***/venv/lib/python3.9/site-packages/setuptools/__init__.py", line 159, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/***/venv/lib/python3.9/site-packages/setuptools/dist.py", line 699, in fetch_build_eggs
        resolved_dists = pkg_resources.working_set.resolve(
      File "/***/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 779, in resolve
        dist = best[req.key] = env.best_match(
      File "/***/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1064, in best_match
        return self.obtain(req, installer)
      File "/***venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1076, in obtain
        return installer(requirement)
      File "/***/venv/lib/python3.9/site-packages/setuptools/dist.py", line 758, in fetch_build_egg
        return fetch_build_egg(self, req)
      File "/***/venv/lib/python3.9/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
        raise DistutilsError(str(e)) from e
    distutils.errors.DistutilsError: Command '['/***/datalab-auth/venv/bin/python3.9', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/t4/401nvc4d12nb7dnnnqylh0xh0000gn/T/tmpqdns2zwi', '--quiet', 'cffi>=1.0.0']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Here is a way to restore them ?

If you give me some pointers I can do the PR.

Have a good day.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions