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

[BEAM-14494] Tag RC container version to have form ${RELEASE}rc${RC_NUM} #17725

Merged
merged 1 commit into from
May 23, 2022

Conversation

y1chi
Copy link
Contributor

@y1chi y1chi commented May 20, 2022

Please add a meaningful description for your change here


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@y1chi
Copy link
Contributor Author

y1chi commented May 20, 2022

R: @tvalentyn

@github-actions github-actions bot added the build label May 20, 2022
@@ -128,7 +128,7 @@ jobs:
run: |
RELEASE_VERSION=${{ steps.get_rc_version.outputs.RELEASE_VERSION }}
RC_NUM=${{ steps.get_rc_version.outputs.RC_NUM }}
sed -i -e "s/${RELEASE_VERSION}/${RELEASE_VERSION}rc${RC_NUM}/g" apache_beam/version.py
sed -i -e "s/${RELEASE_VERSION}/${RELEASE_VERSION}_rc${RC_NUM}/g" apache_beam/version.py
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should fix it the other way around, as the release version follows an established pattern: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#standards-compliance-for-interoperability

@y1chi y1chi changed the title [BEAM-14494] Rewrite rc wheel version to have form ${version}_rc${rc_… [BEAM-14494] Tag RC container version to have form ${RELEASE}rc${RC_NUM} May 20, 2022
@codecov
Copy link

codecov bot commented May 20, 2022

Codecov Report

Merging #17725 (05e1c33) into master (47d8bce) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #17725      +/-   ##
==========================================
- Coverage   74.00%   73.99%   -0.01%     
==========================================
  Files         695      695              
  Lines       91798    91798              
==========================================
- Hits        67936    67927       -9     
- Misses      22614    22623       +9     
  Partials     1248     1248              
Flag Coverage Δ
python 83.74% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sdks/python/apache_beam/internal/gcp/auth.py 73.33% <0.00%> (-5.34%) ⬇️
.../python/apache_beam/testing/test_stream_service.py 88.09% <0.00%> (-4.77%) ⬇️
...ks/python/apache_beam/runners/worker/data_plane.py 87.57% <0.00%> (-1.70%) ⬇️
...che_beam/runners/interactive/interactive_runner.py 89.20% <0.00%> (-1.44%) ⬇️
sdks/python/apache_beam/runners/direct/executor.py 96.46% <0.00%> (-0.55%) ⬇️
sdks/python/apache_beam/io/gcp/bigquery.py 64.99% <0.00%> (-0.12%) ⬇️
sdks/python/apache_beam/runners/common.py 88.06% <0.00%> (+0.12%) ⬆️
...ks/python/apache_beam/runners/worker/sdk_worker.py 89.09% <0.00%> (+0.15%) ⬆️
sdks/python/apache_beam/transforms/combiners.py 93.43% <0.00%> (+0.38%) ⬆️
...eam/runners/portability/fn_api_runner/execution.py 93.08% <0.00%> (+0.64%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47d8bce...05e1c33. Read the comment docs.

@tvalentyn
Copy link
Contributor

LGTM

@tvalentyn
Copy link
Contributor

Thanks. This should work well for Python, not sure about other SDKs.

@y1chi y1chi merged commit ebb1a66 into apache:master May 23, 2022
@y1chi y1chi linked an issue Jun 6, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mismatch between container image tags for RC and SDK expectations
2 participants