-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
ARROW-14749: [Python][Release] Set release verification script to use target source instead of current source directory #11735
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename pull request title in the following format?
or
See also: |
|
@kou Ready for review |
# Clone testing repositories if not cloned already | ||
if [ ! -d "arrow-testing" ]; then | ||
git clone https://github.com/apache/arrow-testing.git | ||
get_or_decompress_source() { |
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.
How about ensure_source
?
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.
Maybe get_source_distribution
as there is test_source_distribution
?
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 may not get
source distribution. (This may just use a local archive.) So I think that get
isn't suitable for this case.
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.
ensure_source
suggests verification. Maybe ensure_source_availability
or something similar.
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.
ensure_source_distribution
? ensure_source_directory
?
@kou Ready for review |
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 tried this but it failed:
$ LANG=C dev/release/verify-release-candidate.sh wheels 6.0.1 1
...
+ fetch_archive
+ local dist_name=
+ download_rc_file .tar.gz
+ download_dist_file apache-arrow-6.0.1-rc1/.tar.gz
+ curl --silent --show-error --fail --location --remote-name https://dist.apache.org/repos/dist/dev/arrow/apache-arrow-6.0.1-rc1/.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
...
It seems that you removed dist_name="apache-arrow-${VERSION}"
.
Did you test this on local before you request a review?
@kou Sorry, it works now. seemed to have missed a line setting value. |
Sorry. I merged a conflicted change. |
@kou Can rebase again if needed. |
It seems that there are needless changes in this pull request. Could you use |
Ok. Will do that. |
ef8baf7
to
501a6df
Compare
It seems that the changes by #11696 are removed in this pull request. |
Let me try once more. |
Co-authored-by: Sutou Kouhei <kou@cozmixng.org> committer bkmgit <benson_muite@emailplus.org> update to download released sources
Thanks for finding the missing section. |
@kou Hopefully ok now. Tested jars, source, binary, wheels, binary + yum |
|
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.
+1
Thanks!
Benchmark runs are scheduled for baseline = 3f179ca and contender = 392a25f. 392a25f is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
No description provided.