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

[Python]change extension of beam sdist from .zip to .tar.gz #29108

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

AnandInguva
Copy link
Contributor

@AnandInguva AnandInguva commented Oct 23, 2023

Fixes: #28629
#28385 changed the sdist extension from zip to tar.gz. Zip tarballs are not supported according to https://peps.python.org/pep-0517/#source-distributions


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

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • 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
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@@ -17,14 +17,14 @@

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file has lots of whitespaces. My IDE automatically removes them.

@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #29108 (81d74f6) into master (ca96cb5) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #29108   +/-   ##
=======================================
  Coverage   38.37%   38.37%           
=======================================
  Files         686      686           
  Lines      101685   101685           
=======================================
  Hits        39021    39021           
  Misses      61085    61085           
  Partials     1579     1579           
Flag Coverage Δ
python 29.98% <ø> (ø)

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

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AnandInguva
Copy link
Contributor Author

R: @damccorm @jrmccluskey

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@jrmccluskey
Copy link
Contributor

Please update documentation on https://cwiki.apache.org/confluence/display/BEAM/Python+Tips as well.

Copy link
Contributor

@jrmccluskey jrmccluskey left a comment

Choose a reason for hiding this comment

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

How much validation have you done for these changes?

@@ -97,7 +97,7 @@ function download_files() {

wget -r -l2 --no-parent -nd -A "$BEAM_PYTHON_SDK_WHL*" $RC_STAGING_URL
else
BEAM_PYTHON_SDK_ZIP="apache-beam-$VERSION.zip"
BEAM_PYTHON_SDK_ZIP="apache-beam-$VERSION.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be renamed

@AnandInguva
Copy link
Contributor Author

AnandInguva commented Oct 23, 2023

How much validation have you done for these changes?

I ran https://github.com/apache/beam/actions/runs/6616347730/job/17970424418 which publishes snapshot. It was not finding the target file before but with this change it works.

@jrmccluskey Do you have any github actions in mind we could run for testing purposes?

@AnandInguva
Copy link
Contributor Author

Please update documentation on https://cwiki.apache.org/confluence/display/BEAM/Python+Tips as well.

Done

@damccorm
Copy link
Contributor

@jrmccluskey @AnandInguva what are next steps here? We should prioritize this one since its a release blocker and ideally would be in before wednesday

@jrmccluskey
Copy link
Contributor

jrmccluskey commented Oct 27, 2023

I think, based on the conversations we've had, this is fine to get in now. Just re-running that failed Go PreCommit

@jrmccluskey jrmccluskey merged commit e8c455e into master Oct 27, 2023
106 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Modify release scripts to look for .tag.gz insead of .zip after introducing pyproject.toml
3 participants