Skip to content

Latest release cannot be installed on macOS #162

Closed
@connorjward

Description

@connorjward

Describe the bug

The latest release of islpy is not installable on macOS. The install is raising the exception:

(venv) github@IC-C07J40J7Q6NY connor-scratch % pip install islpy -v
Using pip 25.0.1 from /Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip (python 3.13)
Collecting islpy
  Obtaining dependency information for islpy from https://files.pythonhosted.org/packages/42/a7/bd659e33e10c62b4acabaa1d5da2efa496434a021f8792ab1f23f6fb5514/islpy-2025.1.3-cp313-cp313-macosx_11_0_arm64.whl.metadata
  Downloading islpy-2025.1.3-cp313-cp313-macosx_11_0_arm64.whl.metadata (3.3 kB)
Downloading islpy-2025.1.3-cp313-cp313-macosx_11_0_arm64.whl (2.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 63.7 MB/s eta 0:00:00
Installing collected packages: islpy
ERROR: Exception:
Traceback (most recent call last):
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 106, in _run_wrapper
    status = _inner_run()
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/cli/base_command.py", line 97, in _inner_run
    return self.run(options, args)
           ~~~~~~~~^^^^^^^^^^^^^^^
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/cli/req_command.py", line 67, in wrapper
    return func(self, options, args)
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/commands/install.py", line 458, in run
    installed = install_given_reqs(
        to_install,
    ...<6 lines>...
        pycompile=options.compile,
    )
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/req/__init__.py", line 70, in install_given_reqs
    requirement.install(
    ~~~~~~~~~~~~~~~~~~~^
        global_options,
        ^^^^^^^^^^^^^^^
    ...<5 lines>...
        pycompile=pycompile,
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/req/req_install.py", line 867, in install
    install_wheel(
    ~~~~~~~~~~~~~^
        self.req.name,
        ^^^^^^^^^^^^^^
    ...<6 lines>...
        requested=self.user_supplied,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/operations/install/wheel.py", line 732, in install_wheel
    _install_wheel(
    ~~~~~~~~~~~~~~^
        name=name,
        ^^^^^^^^^^
    ...<6 lines>...
        requested=requested,
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/operations/install/wheel.py", line 590, in _install_wheel
    file.save()
    ~~~~~~~~~^^
  File "/Users/github/connor-scratch/venv/lib/python3.13/site-packages/pip/_internal/operations/install/wheel.py", line 380, in save
    shutil.copyfileobj(f, dest, blocksize)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/shutil.py", line 203, in copyfileobj
    while buf := fsrc_read(length):
                 ~~~~~~~~~^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/zipfile/__init__.py", line 1015, in read
    data = self._read1(n)
  File "/opt/homebrew/Cellar/[email protected]/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/zipfile/__init__.py", line 1105, in _read1
    self._update_crc(data)
    ~~~~~~~~~~~~~~~~^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/zipfile/__init__.py", line 1033, in _update_crc
    raise BadZipFile("Bad CRC-32 for file %r" % self.name)
zipfile.BadZipFile: Bad CRC-32 for file 'islpy/_isl.cpython-313-darwin.so'

To Reproduce
Steps to reproduce the behavior:

  1. pip install -v islpy

Environment (please complete the following information):

  • OS: macOS 14.7 (Sonoma)
  • Python version: 3.13 (Homebrew)

Using islpy 2025.1.2 works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions