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

[WIP] Add windows and mac-arm64 wheels #1334

Closed
wants to merge 5 commits into from
Closed

Conversation

luizirber
Copy link
Member

@luizirber luizirber commented Feb 17, 2021

(This is built on top of #1564 now)

Checklist

  • Is it mergeable?
  • make test Did it pass the tests?
  • make coverage Is the new code covered?
  • Did it change the command-line interface? Only additions are allowed
    without a major version increment. Changing file formats also requires a
    major version number increment.
  • Was a spellchecker run on the source code and documentation after
    changes were made?

@codecov
Copy link

codecov bot commented Feb 17, 2021

Codecov Report

Merging #1334 (d49e476) into latest (31b84d6) will decrease coverage by 0.06%.
The diff coverage is 35.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           latest    #1334      +/-   ##
==========================================
- Coverage   81.04%   80.98%   -0.07%     
==========================================
  Files         102      104       +2     
  Lines       10298    10312      +14     
  Branches     1165     1165              
==========================================
+ Hits         8346     8351       +5     
- Misses       1744     1753       +9     
  Partials      208      208              
Flag Coverage Δ
python 89.03% <35.71%> (-0.12%) ⬇️
rust 66.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/src/ffi/mod.rs 0.00% <ø> (ø)
src/sourmash/ffi_build.py 0.00% <0.00%> (ø)
src/sourmash/_lowlevel.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31b84d6...d49e476. Read the comment docs.

@luizirber luizirber force-pushed the windows_wheels branch 3 times, most recently from dd7a917 to cf55675 Compare February 19, 2021 14:14
@luizirber
Copy link
Member Author

#1115 might fix the issue with windows builds

@luizirber
Copy link
Member Author

I'll probably split this PR into two: one for windows wheels, another for universal2 (x86_64 and arm64) wheels for macOS. For the macOS case, updates to milksnake are probably needed, something along the lines of PyO3/setuptools-rust#115

luizirber added a commit that referenced this pull request Apr 8, 2022
Previous try (in #1334) tried to build `universal2` wheels on mac, but that's complicated. This PR builds two separated wheels, one for `arm64`, another for `x86_64`, and let `pip` choose the correct one during installation.

I also updated `cibuildwheel` to list configuration in `pyproject.toml`, this way it can also be tested locally.

(In preparation for fixing the currently broken `sourmash-minimal` package on `conda-forge`, which is not doing the cross-compilation properly).
@ctb ctb closed this Aug 20, 2022
@ctb ctb deleted the windows_wheels branch August 20, 2022 15:39
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

Successfully merging this pull request may close these issues.

2 participants