Skip to content

Commit d643221

Browse files
WillAydmeeseeksmachine
authored andcommitted
Backport PR pandas-dev#51902: Re-enable parallel builds in CI
1 parent 7276c75 commit d643221

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.circleci/setup_env.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ if pip list | grep -q ^pandas; then
5555
fi
5656

5757
echo "Build extensions"
58-
# GH 47305: Parallel build can causes flaky ImportError from pandas/_libs/tslibs
59-
python setup.py build_ext -q -j1
58+
python setup.py build_ext -q -j4
6059

6160
echo "Install pandas"
6261
python -m pip install --no-build-isolation --no-use-pep517 -e .

.github/workflows/32-bit-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
4343
python -m pip install versioneer[toml] && \
4444
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 && \
45-
python setup.py build_ext -q -j1 && \
45+
python setup.py build_ext -q -j$(nproc) && \
4646
python -m pip install --no-build-isolation --no-use-pep517 -e . && \
4747
python -m pip list && \
4848
export PANDAS_CI=1 && \

.github/workflows/python-dev.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,9 @@ jobs:
8181
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
8282
python -m pip list
8383
84-
# GH 47305: Parallel build can cause flaky ImportError from pandas/_libs/tslibs
8584
- name: Build Pandas
8685
run: |
87-
python setup.py build_ext -q -j1
86+
python setup.py build_ext -q -j4
8887
python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index
8988
9089
- name: Build Version

0 commit comments

Comments
 (0)