-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Python 3.10 support #23587
Merged
Merged
Python 3.10 support #23587
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b3d2be9
update dependencies with updated pytest related changes
AnandInguva d262575
add 3.10 to tox and pytest
AnandInguva 4b15953
Change float to string for python versions
AnandInguva 115b229
Add python 3.10 container
AnandInguva 547e6bb
Add precommit and postcommit changes
AnandInguva 20bf42d
Add Python 3.10 build file to the test suites
AnandInguva bee034d
Update tox with python 3.10 and add python 3.10 test suites to settin…
yeandy 7e870b4
Fix NewType and NamedTuple (#3)
AnandInguva 3fb9c0b
Add Python 3.10 to Dataflow supported version. Sickbay runner v1 tests
AnandInguva 09ae110
Remove Python 3.10 warning
AnandInguva 5333ec4
Enable additional Dataflow test suites
AnandInguva c73ef29
Add Python 3.10 to GH actions tests
AnandInguva 63dc02f
Add Python 3.10 to some dataflow test-suites
AnandInguva 37faa0a
Update pandas dep for Python 3.10
AnandInguva 40e2dd0
generate dependencies
AnandInguva ffe094f
Pin protobuf
AnandInguva 90ee902
fixups: lint, refactors
AnandInguva bed577b
update dependencies
AnandInguva d64e6cc
Add disable_runner_v2 for runner_v1 tests
AnandInguva 9d9f771
Run some tests on highest and lowest versions only
AnandInguva e306d33
Clear comments
AnandInguva bbe1c6c
Add protobuf version for MacOS using Python 3.10
AnandInguva d26bcf4
build wheels for python 3.10
AnandInguva c6b9cdb
Update md files
AnandInguva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,6 +306,7 @@ tasks.register("pythonPreCommit") { | |
dependsOn(":sdks:python:test-suites:tox:py37:preCommitPy37") | ||
dependsOn(":sdks:python:test-suites:tox:py38:preCommitPy38") | ||
dependsOn(":sdks:python:test-suites:tox:py39:preCommitPy39") | ||
dependsOn(":sdks:python:test-suites:tox:py310:preCommitPy310") | ||
dependsOn(":sdks:python:test-suites:dataflow:preCommitIT") | ||
dependsOn(":sdks:python:test-suites:dataflow:preCommitIT_V2") | ||
} | ||
|
@@ -318,6 +319,7 @@ tasks.register("pythonDockerBuildPreCommit") { | |
dependsOn(":sdks:python:container:py37:docker") | ||
dependsOn(":sdks:python:container:py38:docker") | ||
dependsOn(":sdks:python:container:py39:docker") | ||
dependsOn(":sdks:python:container:py310:docker") | ||
} | ||
|
||
tasks.register("pythonLintPreCommit") { | ||
|
@@ -356,7 +358,14 @@ tasks.register("python39PostCommit") { | |
dependsOn(":sdks:python:test-suites:direct:py39:postCommitIT") | ||
dependsOn(":sdks:python:test-suites:direct:py39:hdfsIntegrationTest") | ||
dependsOn(":sdks:python:test-suites:portable:py39:postCommitPy39") | ||
dependsOn(":sdks:python:test-suites:direct:py39:inferencePostCommitIT") | ||
} | ||
|
||
tasks.register("python310PostCommit") { | ||
dependsOn(":sdks:python:test-suites:dataflow:py310:postCommitIT") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do these run on RunnerV2 by default? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Default is runner_v2 |
||
dependsOn(":sdks:python:test-suites:direct:py310:postCommitIT") | ||
dependsOn(":sdks:python:test-suites:direct:py310:hdfsIntegrationTest") | ||
dependsOn(":sdks:python:test-suites:portable:py310:postCommitPy310") | ||
dependsOn(":sdks:python:test-suites:direct:py310:inferencePostCommitIT") | ||
} | ||
|
||
task("python37SickbayPostCommit") { | ||
|
@@ -373,13 +382,14 @@ task("python39SickbayPostCommit") { | |
|
||
tasks.register("portablePythonPreCommit") { | ||
dependsOn(":sdks:python:test-suites:portable:py37:preCommitPy37") | ||
dependsOn(":sdks:python:test-suites:portable:py39:preCommitPy39") | ||
dependsOn(":sdks:python:test-suites:portable:py310:preCommitPy310") | ||
} | ||
|
||
tasks.register("pythonSparkPostCommit") { | ||
dependsOn(":sdks:python:test-suites:portable:py37:sparkValidatesRunner") | ||
dependsOn(":sdks:python:test-suites:portable:py38:sparkValidatesRunner") | ||
dependsOn(":sdks:python:test-suites:portable:py39:sparkValidatesRunner") | ||
dependsOn(":sdks:python:test-suites:portable:py310:sparkValidatesRunner") | ||
} | ||
|
||
tasks.register("websitePreCommit") { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!