-
Notifications
You must be signed in to change notification settings - Fork 445
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
Add preliminary support for linux-arm64 #3584
Add preliminary support for linux-arm64 #3584
Conversation
@vrdmr @Francisco-Gamino @andystaples @amamounelsayed @ejizba @hossam-nasr @AnatoliB @khkh-ms This PR was opened 2 months ago. Can somebody review it? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@khkh-ms Thanks for the review! FYI it appears the test failure is just a missing config in the test environment, and it's not clear to me why that'd be related to the current change. ![]() |
/azp run |
Commenter does not have sufficient privileges for PR 3584 in repo Azure/azure-functions-core-tools |
The test is failing with the single following error: |
I've determined that "AZURE_MANAGEMENT_ACCESS_TOKEN" is referred to in only two places:
|
The error is being thrown from this piece of code:
at Azure.Functions.Cli.Tests.E2E.AzureResourceManagers.BaseAzureResourceManager.get_AccessToken() Which seems to indicate that, exactly as expected and mentioned above, an environment variable is not being set for this test environment, and that that is the reason this entire PR is being held back, and not an issue with the code in the PR itself. So what can we do next to push this forward? At the moment the community can not actually run Azure Functions in a dev container on a M1,M2 Mac. This is such a blocker. Should we be looking to try and build the solution locally, and patch it ourselves? |
I did manage to have some level of success with the fix. The next problem that I am facing is that there is no worker for workers/python/3.11/LINUX/Arm64. Thank you! |
@dirkesquire where is it missing from exactly? I've been trying to trace this through and it seems like the Arm64 version should exist: https://github.com/Azure/azure-functions-python-worker/blob/cd13c6aa1db0aba958f4aedded80254d69040899/python/prodV4/worker.config.json#L7 |
Any updates? |
I managed to get this working in WSL2 with node.js with the premilinary changes in this pull request. I updated the changes mentioned here to the latest release. Would be really nice if this could be officially supported. |
I also managed to finally get this working for linux-arm64 inside a DevContainer on Apple Mac Silicon. @alecglen When you checkout azure-function-core-tools on the Release_4.0 branch and build and publish then you will notice that /path/to/publishfolder/workers/python/3.X/LINUX/Arm64 does not exist. Only the X64 version gets built for Linux currently. |
Hi folks, ownership of this repo recently changed. I'll make this a priority for us to review & merge in our upcoming sprint.
I can also look into this as well |
I’m incredibly excited to see this pull request completed! As someone who works with Azure Functions extensively, I believe this improvement will make a massive difference in my workflow and efficiency. I appreciate the effort that went into this—thank you for pushing this forward! @liliankasem |
Hi folks, wanted to share an update on this. Previously, python has been a blocker for getting arm64 out on other platforms, however I believe this is no longer the case and shouldn’t be blocking progress on this.
The python team is looking into adding a arm64 build to the worker package. This will be a pre-requisite before we move forward. As for next steps, we are thinking to take this into a feature branch to work on testing/validation. This will also allow us to release a preview version of Core Tools to gather feedback about potential issues. Going forward, updates will be provided in the corresponding issue: #4279 |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Merging and will address tests in my own PR. |
Add support for Debian11 (bulleye) on ARM64.
Issue describing the changes in this PR
part of #3112
Pull request checklist