Skip to content
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

Release macos aarch builds on pypi #12

Open
stuaxocabinetoffice opened this issue Apr 5, 2024 · 2 comments
Open

Release macos aarch builds on pypi #12

stuaxocabinetoffice opened this issue Apr 5, 2024 · 2 comments

Comments

@stuaxocabinetoffice
Copy link

I had a look in the .github workflow and it looks like there is macos aarch in there. It would be nice to have a release on Pypi as a whl for aarch macs.

@mlucool
Copy link
Member

mlucool commented May 3, 2024

I thought https://github.com/deshaw/nbstripout-fast/blob/main/CHANGELOG.md#103-2024-01-01 would have fixed it. Can you confirm what version you tried?

@stuaxocabinetoffice
Copy link
Author

if I try pip install nbstripout-fast on a Mac, with python-3.10 from pyenv, it tries to install it looks like it isn't grabbing a WHL:

❯ python3 --version
Python 3.10.13
❯ pip install nbstripout-fast
Collecting nbstripout-fast
  Using cached nbstripout_fast-1.0.3.tar.gz (22 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      Checking for Rust toolchain....
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants