kou commented on code in PR #45854:
URL: https://github.com/apache/arrow/pull/45854#discussion_r2015352047
##########
dev/release/02-source-test.rb:
##########
@@ -84,7 +84,12 @@ def test_csharp_git_commit_information
def test_python_version
source
Dir.chdir("#{@tag_name_no_rc}/python") do
- sh("python3", "setup.py", "sdist")
+ FileUtils.mv("dummy.git", "../.git")
+ sh("python3", "-m", "pip", "install", "build")
Review Comment:
OK. It seems that the Meson approach (using `git archive` for sdist) isn't
suitable for monorepo. In PyArrow case, sdist must include only `python/`
directory (and it's the top directory in sdist).
> Or, I suppose the quick and dirty way is to simply run `git init . && git
add --all . && git commit -m "dummy repo to aid meson dist"`.
Yes. It will work. If we don't have any other approach, we may use this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]