Skip to content

Commit

Permalink
Add build as a dependency in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed May 17, 2024
1 parent 3d2d57e commit cd5df6d
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
shell: bash
run: |
gem install test-unit
pip install "cython>=0.29.31" setuptools six pytest jira setuptools-scm
pip install "cython>=0.29.31" setuptools six pytest jira setuptools-scm build
- name: Run Release Test
env:
ARROW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions ci/conda_env_archery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pygit2
pygithub
ruamel.yaml
setuptools_scm
build
toolz

# benchmark
Expand Down
1 change: 1 addition & 0 deletions ci/conda_env_crossbow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ jira
pygit2
ruamel.yaml
setuptools_scm
build
toolz
1 change: 1 addition & 0 deletions ci/conda_env_python.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ pytest-faulthandler
s3fs>=2023.10.0
setuptools>=64
setuptools_scm>=8
build
2 changes: 1 addition & 1 deletion dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ test_python() {
show_header "Build and test Python libraries"

# Build and test Python
maybe_setup_virtualenv "cython>=0.29.31" numpy "setuptools_scm<8.0.0" setuptools
maybe_setup_virtualenv "cython>=0.29.31" numpy "setuptools_scm<8.0.0" setuptools build
maybe_setup_conda --file ci/conda_env_python.txt

if [ "${USE_CONDA}" -gt 0 ]; then
Expand Down
2 changes: 2 additions & 0 deletions dev/tasks/conda-recipes/arrow-cpp/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ outputs:
- python
- setuptools
- setuptools_scm
- build
run:
- {{ pin_subpackage('libarrow', exact=True) }}
- {{ pin_compatible('numpy') }}
Expand Down Expand Up @@ -323,6 +324,7 @@ outputs:
- python
- setuptools
- setuptools_scm
- build
run:
- {{ pin_subpackage('pyarrow', exact=True) }}
- python
Expand Down
1 change: 1 addition & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ requires = [
# versions released after 2022
"setuptools_scm[toml]>=8",
"setuptools>=64",
"build",
"wheel"
]
build-backend = "setuptools.build_meta"
Expand Down
1 change: 1 addition & 0 deletions python/requirements-build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ cython>=0.29.31
oldest-supported-numpy>=0.14; python_version<'3.9'
numpy>=1.25; python_version>='3.9'
setuptools_scm>=8
build
setuptools>=64
1 change: 1 addition & 0 deletions python/requirements-wheel-build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ oldest-supported-numpy>=0.14; python_version<'3.9'
numpy>=2.0.0rc1; python_version>='3.9'
setuptools_scm
setuptools>=58
build
wheel

0 comments on commit cd5df6d

Please sign in to comment.