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

Feature Request: Selection by platform architecture, like arm64. x86_64, amd64 ... #3069

Open
bsrdjan opened this issue Jul 20, 2023 · 0 comments
Labels
enhancement help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.

Comments

@bsrdjan
Copy link

bsrdjan commented Jul 20, 2023

What's the problem this feature will solve?

I use tox to automate Cython PyRFC package builds for different platforms.

On Darwin platform both arm64 and x64 architectures are supported and some tox jobs should run on arm64 Darwin only.

I could not find a way to configure it in tox, only found this discussion #1149 about 32/64-bit selection.

Describe the solution you'd like

Would it be possible to provide tox job selection by architecture, for example:

platform = darwin
machine = arm64

As discussed here https://stackoverflow.com/questions/64044020/how-to-collect-current-architecture-in-python-3-in-a-way-that-is-portable-acros, platform.machine() looks reliable for this purpose?

@gaborbernat gaborbernat added the help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Projects
None yet
Development

No branches or pull requests

2 participants