Skip to content

Commit

Permalink
Turn on logging for setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Apr 24, 2024
1 parent 51a3831 commit b83e36a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/release/02-source-test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def source(*targets)
env["SOURCE_#{target}"] = "1"
end
output = sh(env, @script, @release_version, "0")
puts output
sh("tar", "xf", "#{@tag_name}.tar.gz")
output
end
Expand Down Expand Up @@ -81,7 +82,9 @@ def test_csharp_git_commit_information
def test_python_version
source
Dir.chdir("#{@tag_name}/python") do
sh("python3", "setup.py", "sdist")
ENV["SETUPTOOLS_SCM_DEBUG"] = "True"
puts sh("python3", "setup.py", "sdist")
puts sh("python3", "-m", "setuptools_scm")
if on_release_branch?
pyarrow_source_archive = "dist/pyarrow-#{@release_version}.tar.gz"
else
Expand Down
1 change: 1 addition & 0 deletions dev/release/run-test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
require_relative "test-helper"

ENV["TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE"] = "1000000"
ENV["SETUPTOOLS_SCM_DEBUG"] = "True"

exit(Test::Unit::AutoRunner.run(true, test_dir.to_s))
1 change: 1 addition & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ pyarrow = ["*.pxd", "*.pyx", "includes/*.pxd"]
root = '..'
version_file = 'pyarrow/_generated_version.py'
version_scheme = 'guess-next-dev'
relative_to = "pyproject.toml"

0 comments on commit b83e36a

Please sign in to comment.