-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS-12/20231029.1 fails to install CMAKE and arrow #8748
Comments
Hello @PBalsdon, |
Hello @shamil-mubarakshin , thanks for looking at this. This is the content of the file I've been using for the actions - it fails on 20231029.1, but passes on 2023-0921.1 name: Github Workflow
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [3.11.1]
os: ['macos-12']
try: ['0', '1', '2']
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup venv
run: python3 -m venv venv && venv/bin/pip install --upgrade pip
- name: install pyarrow
run: venv/bin/pip install pyarrow==10.0.1 Thanks for giving the idea of a matrix to test the different images - I was struggling to reproduce when it was giving me a random runner! For context, we want this to run in a venv to keep the local dev experience close to the github actions. (All of our setup/run commands are actually makefile commands) |
@PBalsdon, the reason might be in incompatibility of For build consistency, it is recommended to use
Or you can try going with |
Hi @shamil-mubarakshin Yes, it looks like the underlying python version changing is what caused the issues - I was specifiying in the matrix but never actually setting it up! Thanks so much for your help, I would have been debugging a lot longer without your help! |
Description
We have a daily GHA that runs on macos-12.
As of Sunday, it started using the
20231029
image, and hasn't worked.In particular the error is to do with CMAKE being used to install arrow.
We're running Python 3.11.1 and installing pyarrow==10.0.1
This all runs locally on a macos machine, but the error has started since the image update to
20231029
.Platforms affected
Runner images affected
Image version and build link
Version: 20231029.1
Is it regression?
Version: 20230921.1
Expected behavior
pip to euccesfully install python packages.
notably, with python 3.11.1, to install pyarrow==10.0.1.
Actual behavior
pip exit with exit code 1
See overview for error log
Repro steps
Install run
pip install pyarrow==10.0.01
on macos-12 runner.The text was updated successfully, but these errors were encountered: