Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Linux ARM and Python 3.11 Support #172

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

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Linux ARM and Python 3.11 Support #172

merged 1 commit into from
Oct 31, 2022

Conversation

cretz
Copy link
Member

@cretz cretz commented Oct 28, 2022

What was changed

  • Updated to support Python 3.11
    • Minor code update
    • CI update
    • Update of standard library pass through list for sandbox
  • Add Linux ARM runner for testing and building binaries
  • Moved building binary step out of CI and into main merge only

Checklist

  1. Closes Linux aarch64 wheel #100
  2. Closes [Feature Request] Tests for Python 3.11 support #165

@cretz cretz force-pushed the linux-arm branch 13 times, most recently from 5c3bb11 to 40e07c1 Compare October 31, 2022 13:03
@cretz cretz changed the title Use Linux ARM runner Linux ARM and Python 3.11 Support Oct 31, 2022
@cretz cretz requested a review from a team October 31, 2022 13:19
@cretz cretz marked this pull request as ready for review October 31, 2022 13:19
@@ -16,8 +16,8 @@


def test_workflow_sandbox_stdlib_module_names():
if sys.version_info != (3, 10):
pytest.skip("Test only runs on 3.10")
if sys.version_info[1] != 11:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why aren't we checking the major version info anymore?

Copy link
Member Author

@cretz cretz Oct 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was improperly checking it (the tuple is actually like 5 values, so my != wasn't doing the right thing anyways, even though > and < and the like do). Since we are never expected to be off version 3 anyways, this was simpler than manually destructuring.

# Need the 8 CPU version that has 12GB of RAM, the 4 CPU version
# only has 6 GB.
runsOn: buildjet-8vcpu-ubuntu-2204-arm
runs-on: ${{ matrix.runsOn || matrix.os }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need runsOn and os? Could just use runsOn

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because having os consistent in the matrix makes the job list look pretty in the UI :-)

@cretz cretz merged commit e16bbc3 into temporalio:main Oct 31, 2022
@cretz cretz deleted the linux-arm branch October 31, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Tests for Python 3.11 support Linux aarch64 wheel
4 participants