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

Updated platform support for MacOS using arm64 in function is_aarch64 #36

Merged
merged 19 commits into from
Aug 9, 2024

Conversation

dmurphy18
Copy link
Contributor

@dmurphy18 dmurphy18 commented Aug 8, 2024

On a MacOS Arm64 system, Python 3 platform.machine() returns arm64 and not aarch64 as on Linux Arm64 systems.

For example: Ubuntu 20.04.05 arm64 (Pi 4), platform.machine() returns aarch64

Hence need to adjust function is_aarch64 to allow for MacOS Arm64 based system reporting differently.

As part of update, updated pre-commit and dropped support for Python 3.7

@dmurphy18 dmurphy18 self-assigned this Aug 8, 2024
@dmurphy18 dmurphy18 requested a review from a team as a code owner August 8, 2024 17:23
@dmurphy18 dmurphy18 requested a review from felippeb August 8, 2024 17:23
@dmurphy18 dmurphy18 added enhancement New feature or request and removed cla-not-required labels Aug 8, 2024
src/pytestskipmarkers/utils/platform.py Outdated Show resolved Hide resolved
@dmurphy18 dmurphy18 requested a review from dwoz August 9, 2024 16:38
@dmurphy18 dmurphy18 changed the title Updated platform support for MacOS using arm64, and added x86_64 check for completeness Updated platform support for MacOS using arm64 in function is_aarch64 Aug 9, 2024
@dwoz dwoz enabled auto-merge (rebase) August 9, 2024 16:45
@dwoz dwoz disabled auto-merge August 9, 2024 16:46
@dwoz dwoz merged commit 49292fb into saltstack:main Aug 9, 2024
29 checks passed
@dmurphy18 dmurphy18 deleted the upd_platform branch August 27, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants