Skip to content

[Feature Request]: Provide wheel for Windows ARM64 #34916

@khmyznikov

Description

@khmyznikov

What would you like to happen?

What is the current behavior?

Unable to install the package from pip.

What is the desired behavior?

To have native wheel for WoA. GitHub Actions now supports win-arm64 for free.

How would this improve apache-beam?

Due to the library's popularity, a native version for the growing number of Windows on ARM (WoA) devices offers a better user experience.

Install log
During handling of the above exception, another exception occurred:

        Traceback (most recent call last):
          File "C:\temp\pip-install-4p_6ut_v\grpcio_6f75db291cf34555a9194268c8844766\src\python\grpcio\commands.py", line 282, in build_extensions
            build_ext.build_ext.build_extensions(self)
          File "C:\temp\pip-build-env-9wv4pvg8\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 484, in build_extensions
            self._build_extensions_serial()
          File "C:\temp\pip-build-env-9wv4pvg8\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 510, in _build_extensions_serial
            self.build_extension(ext)
          File "C:\temp\pip-build-env-9wv4pvg8\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 264, in build_extension
            _build_ext.build_extension(self, ext)
          File "C:\temp\pip-build-env-9wv4pvg8\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 565, in build_extension
            objects = self.compiler.compile(
                      ^^^^^^^^^^^^^^^^^^^^^^
          File "C:\temp\pip-build-env-9wv4pvg8\overlay\Lib\site-packages\setuptools\_distutils\compilers\C\msvc.py", line 462, in compile
            raise CompileError(msg)
        distutils.compilers.C.errors.CompileError: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostARM64\\ARM64\\cl.exe' failed with exit code 2

        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for grpcio
      Successfully built grpcio-tools
      Failed to build grpcio
      ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio)
      [end of output]

References and other background

As for today, I see the problem with dependency - grpcio package. There's an issue filed to them as well.

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions