WillAyd commented on code in PR #45854:
URL: https://github.com/apache/arrow/pull/45854#discussion_r2033303256
##########
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")
+ # Meson dist must be run from a VCS, so initiate a dummy repo
+ sh("git", "init", ".")
+ sh("git", "add", "--all", ".")
+ sh("git", "commit", "-m", "dummy commit for meson dist")
+ sh("python3", "-m", "pip", "install", "build")
+ sh("python3", "-m", "build", "--sdist", ".")
Review Comment:
I added this to that script. I'm not sure if you also wanted me to remove it
from this ruby script so I've left it for now, but let me know if that is
mistaken
--
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]