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

build: Add windows-aarch64 to python binaries #19966

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

ritchie46
Copy link
Member

No description provided.

@ritchie46 ritchie46 requested a review from c-peters as a code owner November 25, 2024 08:42
@github-actions github-actions bot added build Changes that affect the build system or external dependencies python Related to Python Polars rust Related to Rust Polars labels Nov 25, 2024
architecture: [x86-64, aarch64]
exclude:
- os: windows-32gb-ram
- os: windows-latest
Copy link
Member Author

Choose a reason for hiding this comment

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

Public windows runners now have 16GB RAM. Seems enough.

Copy link
Member

@stinodego stinodego 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 - you can do a dry-run (build the packages, but do not upload to PyPI) if you want to be sure!

Comment on lines 93 to +101
matrix:
package: [polars, polars-lts-cpu, polars-u64-idx]
os: [ubuntu-latest, macos-13, windows-32gb-ram]
os: [ubuntu-latest, macos-13, windows-latest, windows-arm64-16gb]
architecture: [x86-64, aarch64]
exclude:
- os: windows-32gb-ram
- os: windows-latest
architecture: aarch64
- os: windows-arm64-16gb
architecture: x86-64
Copy link
Member

@stinodego stinodego Nov 25, 2024

Choose a reason for hiding this comment

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

The following matrix is equivalent but a bit more readable (using include rather than exclude):

      matrix:
        package: [polars, polars-lts-cpu, polars-u64-idx]
        os: [ubuntu-latest, macos-13]
        architecture: [x86-64, aarch64]
        include:
          - os: windows-latest
            architecture: x86-64
          - os: windows-arm64-16gb
            architecture: aarch64

Copy link
Member Author

@ritchie46 ritchie46 Nov 25, 2024

Choose a reason for hiding this comment

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

Don't we need to include all variants then? (E.g. is the exclude set not smaller than the include set?)

Copy link
Member

@stinodego stinodego Nov 25, 2024

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, I think you're right. I also do need to think harder with the include set. 😆

@ritchie46
Copy link
Member Author

I will take it for a spin. 😎

@ritchie46 ritchie46 merged commit 5e91e4c into main Nov 25, 2024
2 checks passed
@ritchie46 ritchie46 deleted the window-aarch64 branch November 25, 2024 14:57
ritchie46 added a commit that referenced this pull request Nov 25, 2024
@c-peters c-peters added the accepted Ready for implementation label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation build Changes that affect the build system or external dependencies python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants