From 93b5135f7113309fbee37196460eab994b170195 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler <61934744+phofl@users.noreply.github.com> Date: Wed, 15 Mar 2023 13:29:42 +0100 Subject: [PATCH] Revert "CI: parallel build follow up" (#51984) Revert "CI: parallel build follow up (#51911)" This reverts commit 2c996a620d8af05e84abc36ef1087303abba9ce7. --- .github/actions/build_pandas/action.yml | 6 ++++-- .github/actions/setup-conda/action.yml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/actions/build_pandas/action.yml b/.github/actions/build_pandas/action.yml index 11601564c5d79..23bb988ef4d73 100644 --- a/.github/actions/build_pandas/action.yml +++ b/.github/actions/build_pandas/action.yml @@ -16,5 +16,7 @@ runs: python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index shell: bash -el {0} env: - # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources - N_JOBS: ${{ runner.os == 'macOS' && 3 || 2 }} + # Cannot use parallel compilation on Windows, see https://github.com/pandas-dev/pandas/issues/30873 + # GH 47305: Parallel build causes flaky ImportError: /home/runner/work/pandas/pandas/pandas/_libs/tslibs/timestamps.cpython-38-x86_64-linux-gnu.so: undefined symbol: pandas_datetime_to_datetimestruct + N_JOBS: 1 + #N_JOBS: ${{ runner.os == 'Windows' && 1 || 2 }} diff --git a/.github/actions/setup-conda/action.yml b/.github/actions/setup-conda/action.yml index efc31bba88f28..002d0020c2df1 100644 --- a/.github/actions/setup-conda/action.yml +++ b/.github/actions/setup-conda/action.yml @@ -30,7 +30,7 @@ runs: environment-name: ${{ inputs.environment-name }} extra-specs: ${{ inputs.extra-specs }} channels: conda-forge - channel-priority: 'strict' + channel-priority: ${{ runner.os == 'macOS' && 'flexible' || 'strict' }} condarc-file: ci/condarc.yml cache-env: true cache-downloads: true