-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Upgrade to Beam 2.72.0 #3557
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
Upgrade to Beam 2.72.0 #3557
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
5c2e494
Update pom and requirements for 2.72.0 RC2
Amar3tto d59634f
Update google-ads version
Amar3tto 09712eb
Update python requirements for 2.72.0 rc2
Amar3tto 462f2a0
Use v23 google ads
Amar3tto d4d839e
Fix google-ads-to-googlecloud
Amar3tto fc3a09b
Fix assert
Amar3tto 934854c
Update dataflow api version
Amar3tto 8257035
Fix start_date_time
Amar3tto 5378fef
Update spanner version
Amar3tto 66ac0c5
Update spanner version
Amar3tto 5f6a158
Remove expected exception text
Amar3tto 4fcce6d
Fix expected exceptions
Amar3tto 619bb0b
Use RC5
Amar3tto 7044889
Merge 619bb0bf83ea79db9b01ff04d94170650bce9ac1 into 52f460a772452fc5f…
Amar3tto ce9cadc
Pin clickhouse test container to 1.20.3
Abacn bafe6eb
Unfork neo4j resource manager
Abacn b17c98e
Fork ClickHouseResourceManager
Abacn 5956109
add driver dependency
Abacn d1fcfa3
fix clickhosue test containers credentials
BentsiLeviav fb2b4cb
Merge remote-tracking branch 'upstream/main' into pr-3505
Abacn aed4c43
Merge branch 'main' into pr-3505
Abacn e44cea2
Use Beam 2.72.0
Abacn d5df998
Remove intex-url
Abacn 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| apache-beam[gcp]==2.71.0 | ||
| apache-beam[gcp] | ||
| google-cloud-bigquery-storage | ||
| setuptools |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| apache-beam[gcp]==2.71.0 | ||
| apache-beam[gcp] | ||
| setuptools |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| apache-beam[dataframe,gcp,test,yaml]==2.71.0 | ||
| apache-beam[dataframe,gcp,test,yaml] | ||
| setuptools |
This file contains hidden or 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
1,577 changes: 843 additions & 734 deletions
1,577
python/src/main/python/bigquery-anomaly-detection/requirements_all.txt
Large diffs are not rendered by default.
Oops, something went wrong.
1,321 changes: 633 additions & 688 deletions
1,321
python/src/main/python/job-builder-server/requirements.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| apache-beam[gcp]==2.71.0 | ||
| apache-beam[gcp] | ||
| torch | ||
| transformers | ||
| torchvision | ||
|
|
||
4,565 changes: 2,546 additions & 2,019 deletions
4,565
python/src/main/python/streaming-llm/requirements.txt
Large diffs are not rendered by default.
Oops, something went wrong.
1,141 changes: 625 additions & 516 deletions
1,141
python/src/main/python/word-count-python/requirements.txt
Large diffs are not rendered by default.
Oops, something went wrong.
1,321 changes: 633 additions & 688 deletions
1,321
python/src/main/python/yaml-template/requirements.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
I think that this doesn't work well. When there are several requirements, pip doesn't always resolve to the latest beam. For example,
DataflowTemplates/python/src/main/python/streaming-llm/requirements.txt
Line 176 in e31b279
I think we should add back version numbers here, proposing this in #4203
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.
This happens when your
__build__dir isn't fresh. Adding version is indeed safer, though need to change it every time on a version bump or rc validationUh oh!
There was an error while loading. Please reload this page.
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.
I don't think it is just that. We're getting this even when getting PRs generated by GitHub actions and I reproed on a fresh GitHub codespace - neither of these have preexisting
__build__directoriesThere 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.
Also note that it only failed to update streaming-llm in those passes, not the other generated requirements. This suggests that this can be caused by including certain dependencies (for now these are ml deps, but I don't think there's any guarantee that the same thing couldn't happen for other dependencies)
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.
My guess is that pip resolves some of the other dependencies first, then picks a beam version which satisfies that; if the dependency (or one of its dependencies) is outside Beam's constraints, then we'll see this issue
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.
Yeah it's possible. It's noticed some Beam's optional dependency started to depend on Beam: apache/beam#39884