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

Do not require triangle on macos arm #6603

Merged
merged 2 commits into from Jan 20, 2024
Merged

Conversation

Czaki
Copy link
Collaborator

@Czaki Czaki commented Jan 19, 2024

References and relevant issues

Reported on zulip https://napari.zulipchat.com/#narrow/stream/212875-general/topic/installing.20napari.5Ball.5D.2C.20.5Boptional.5D.20etc.2E.20on.20arm64.20macOS/near/416802211

Description

As triangles do not have macOS arm64 wheels, then trying to install napari with all extras on macOS arm64 will fail.

This PR removes the triangle from optional dependencies for the arm64 platform.

@Czaki Czaki added the maintenance PR with maintance changes, label Jan 19, 2024
@Czaki Czaki added this to the 0.4.19 milestone Jan 19, 2024
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f290506) 92.27% compared to head (dc650ca) 92.22%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6603      +/-   ##
==========================================
- Coverage   92.27%   92.22%   -0.05%     
==========================================
  Files         603      603              
  Lines       53902    53902              
==========================================
- Hits        49737    49711      -26     
- Misses       4165     4191      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

setup.cfg Outdated Show resolved Hide resolved
Copy link
Member

@psobolewskiPhD psobolewskiPhD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works.

❯ pip install ".[all]"  

...

❯ pip show numba           
Name: numba
Version: 0.58.1
Summary: compiling Python code using LLVM
Home-page: https://numba.pydata.org
Author: 
Author-email: 
License: BSD
Location: /Users/sobolp/micromamba/envs/napari-dev-t/lib/python3.11/site-packages
Requires: llvmlite, numpy
Required-by: 

~/Documents/dev/napari macos_trinage_non_require Py (napari-dev-t) ············
❯ pip show triangle
WARNING: Package(s) not found: triangle

@psobolewskiPhD psobolewskiPhD added the ready to merge Last chance for comments! Will be merged in ~24h label Jan 19, 2024
@psobolewskiPhD
Copy link
Member

Here's the triangle PR so that it's easier to check if this can be dropped in the future.
drufat/triangle#75

@jni
Copy link
Member

jni commented Jan 20, 2024

I think this is important and uncontroversial — thanks @Czaki for the platform-specific solution which minimises the impact! — so I'm going to merge straight away. I think this makes the 0.4.19 release relatively urgent. Hopefully we can push it out next week. 🤞

@jni jni merged commit 3c58ab4 into napari:main Jan 20, 2024
33 of 34 checks passed
@jni jni deleted the macos_trinage_non_require branch January 20, 2024 01:07
@jni jni removed the ready to merge Last chance for comments! Will be merged in ~24h label Jan 20, 2024
Czaki added a commit that referenced this pull request Jan 21, 2024
# References and relevant issues

Reported on zulip
https://napari.zulipchat.com/#narrow/stream/212875-general/topic/installing.20napari.5Ball.5D.2C.20.5Boptional.5D.20etc.2E.20on.20arm64.20macOS/near/416802211

# Description

As triangles do not have macOS arm64 wheels, then trying to install
napari with `all` extras on macOS arm64 will fail.

This PR removes the triangle from optional dependencies for the arm64
platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants