From 13ade1e7ee6598b2b2cd3558e6785f15008cecef Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Sat, 11 Mar 2023 04:39:44 -0800 Subject: [PATCH] Re-enable parallel builds in CI --- .circleci/setup_env.sh | 3 +-- .github/workflows/32-bit-linux.yml | 2 +- .github/workflows/python-dev.yml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.circleci/setup_env.sh b/.circleci/setup_env.sh index 52a8cab1cd2de..7f82b613f8cb8 100755 --- a/.circleci/setup_env.sh +++ b/.circleci/setup_env.sh @@ -55,8 +55,7 @@ if pip list | grep -q ^pandas; then fi echo "Build extensions" -# GH 47305: Parallel build can causes flaky ImportError from pandas/_libs/tslibs -python setup.py build_ext -q -j1 +python setup.py build_ext -q -j4 echo "Install pandas" python -m pip install --no-build-isolation --no-use-pep517 -e . diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml index 4e363c7fd573d..e14be521ff523 100644 --- a/.github/workflows/32-bit-linux.yml +++ b/.github/workflows/32-bit-linux.yml @@ -42,7 +42,7 @@ jobs: python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \ python -m pip install versioneer[toml] && \ python -m pip install cython numpy python-dateutil pytz pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.34.2 && \ - python setup.py build_ext -q -j1 && \ + python setup.py build_ext -q -j$(nproc) && \ python -m pip install --no-build-isolation --no-use-pep517 -e . && \ python -m pip list && \ export PANDAS_CI=1 && \ diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 910b68dce07d0..5730e2b75f48f 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -82,10 +82,9 @@ jobs: python -m pip install python-dateutil pytz cython hypothesis>=6.34.2 pytest>=7.0.0 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17 python -m pip list - # GH 47305: Parallel build can cause flaky ImportError from pandas/_libs/tslibs - name: Build Pandas run: | - python setup.py build_ext -q -j1 + python setup.py build_ext -q -j4 python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index - name: Build Version