Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix wheel tests on Rocky Linux (#1452)
RAPIDS libraries recently started running nightly wheel tests on Rocky Linux 8: https://github.com/rapidsai/shared-workflows/pull/236/files#r1725947245 That distribution's system package manager is `yum`, not `apt`, and as a result `cuspatial`'s nightly runs are failing like this: ```text ci/test_wheel_cuspatial.sh: line 10: apt: command not found Error: Process completed with exit code 127. ``` ([build link](https://github.com/rapidsai/cuspatial/actions/runs/10678284262/job/29595047179)) This fixes that. ## Notes for Reviewers ### How I tested this ```shell docker run \ --rm \ --gpus 1 \ -v $(pwd):/opt/work \ -w /opt/work \ -it rapidsai/citestwheel:cuda12.5.1-rockylinux8-py3.11 \ bash yum update -y yum config-manager --set-enabled powertools yum update -y yum install -y gdal-devel python -m pip install \ --no-binary fiona \ 'cuproj-cu12[test]==24.10.*,>=0.0.0a0' \ 'cuspatial-cu12[test]==24.10.*,>=0.0.0a0' \ 'fiona>=1.8.19,<1.9' pushd python/cuproj/cuproj python -m pytest \ --cache-clear \ --numprocesses=8 \ --dist=worksteal \ tests popd pushd python/cuspatial/cuspatial python -m pytest \ --cache-clear \ --numprocesses=8 \ --dist=worksteal \ tests popd ``` # Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) URL: #1452
- Loading branch information