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

Modify test_array_node.py to support running in python 3.8 #2652

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

eapolinario
Copy link
Collaborator

Why are the changes needed?

We run nightly tests in all supported python versions (e.g. https://github.com/flyteorg/flytekit/actions/runs/10249523395), but tests have been failing in python 3.8. This PR fixes the remaining ones.

What changes were proposed in this pull request?

Use the deprecated typing.List to define a list. Once we drop support for python 3.8 later in the year we can go back to using the native collections everywhere in the codebase.

How was this patch tested?

Ran tests locally using python 3.8.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@eapolinario eapolinario merged commit 4465249 into master Aug 6, 2024
97 checks passed
mao3267 pushed a commit to mao3267/flytekit that referenced this pull request Aug 9, 2024
…2652)

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Signed-off-by: mao3267 <[email protected]>
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.

2 participants