Skip to content

Commit

Permalink
Dx 83326 24.2 (#55)
Browse files Browse the repository at this point in the history
* DX-83326 Update crossbow to pass in Configuration object to setuptools. (#53)

* DX-83326 Free up some disk space to prevent running out. (#54)

* DX-83326 Update crossbow to pass in Configuration object to setuptools.

* DX-83326 Remove some unused libraries to conserve disk space.
  • Loading branch information
lriggs authored Oct 6, 2023
1 parent 6209892 commit 91a44d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/archery/archery/crossbow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,11 +740,13 @@ def get_version(root, **kwargs):
subprojects, e.g. apache-arrow-js-XXX tags.
"""
from setuptools_scm.git import parse as parse_git_version
from setuptools_scm import Configuration

# query the calculated version based on the git tags
kwargs['describe_command'] = (
'git describe --dirty --tags --long --match "apache-arrow-[0-9]*.*"'
)
kwargs['config'] = Configuration(root=root)
version = parse_git_version(root, **kwargs)
tag = str(version.tag)

Expand Down
5 changes: 5 additions & 0 deletions dev/tasks/java-jars/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
steps:
{{ macros.github_checkout_arrow()|indent }}
{{ macros.github_install_archery()|indent }}
- name: Free up disk space
run: |
df -h
sudo rm -rf /opt/hostedtoolcache/CodeQL || :
df -h
- name: Build C++ libraries
env:
{{ macros.github_set_sccache_envvars()|indent(8) }}
Expand Down

0 comments on commit 91a44d3

Please sign in to comment.