This is an automated email from the ASF dual-hosted git repository. mgreber pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit c32708d5b957514420aaa13953c25db8940fe7cb Author: root <achenn...@apache.org> AuthorDate: Thu Oct 3 18:19:07 2024 -0700 [build] Fix the directory creation Fixes the recursive directory creation which according to python documentation [1] should be os.makedirs() and not os.path.makedirs() which results in the below error: AttributeError: module 'posixpath' has no attribute 'makedirs' 1. https://docs.python.org/2.6/library/os.html#os.makedirs https://docs.python.org/3.11/library/os.html#os.makedirs Change-Id: Ifef12fd681050c5d1e6841070fdd754a7d436f8f Reviewed-on: http://gerrit.cloudera.org:8080/21883 Reviewed-by: Alexey Serbin <ale...@apache.org> Tested-by: Marton Greber <greber...@gmail.com> Reviewed-by: Marton Greber <greber...@gmail.com> --- build-support/build_source_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-support/build_source_release.py b/build-support/build_source_release.py index 933e768dc..7e5b24010 100755 --- a/build-support/build_source_release.py +++ b/build-support/build_source_release.py @@ -74,7 +74,7 @@ def create_tarball(): artifact_name = "apache-kudu-%s" % get_version_number() build_dir = os.path.join(ROOT, "build") if not os.path.exists(build_dir): - os.path.makedirs(build_dir) + os.makedirs(build_dir) tarball_path = os.path.join(build_dir, artifact_name + ".tar.gz") print("Exporting source tarball...") subprocess.check_output(["git", "archive",