apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.65k stars 3.55k forks source link

[CI][Packaging][Python] Enable BuildKit for building wheel on Windows #44671

Open kou opened 2 weeks ago

kou commented 2 weeks ago

Describe the enhancement requested

It seems that BuildKit supports Windows since v0.13.0: https://www.docker.com/blog/experimental-windows-containers-support-for-buildkit-released-in-v0-13-0/

We may be able to use build cache by enabling BuildKit.

See also:

https://github.com/apache/arrow/blob/32de498ca7dba5861f22eee5e4527446f6218b7a/dev/tasks/python-wheels/github.windows.yml#L36-L37

https://github.com/apache/arrow/blob/32de498ca7dba5861f22eee5e4527446f6218b7a/dev/tasks/python-wheels/github.windows.yml#L48-L59

Component(s)

Continuous Integration, Packaging, Python