Skip to content
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

CI: Pin setuptools for python dev #44989

Merged
merged 5 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/python-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
with:
python-version: '3.10-dev'

# TODO: GH#44980 https://github.com/pypa/setuptools/issues/2941
phofl marked this conversation as resolved.
Show resolved Hide resolved
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip "setuptools<60.0.0" wheel
phofl marked this conversation as resolved.
Show resolved Hide resolved
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
pip install git+https://github.com/nedbat/coveragepy.git
pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov
Expand Down
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ jobs:
vmImage: ubuntu-18.04

steps:
# TODO: GH#44980 https://github.com/pypa/setuptools/issues/2941
phofl marked this conversation as resolved.
Show resolved Hide resolved
- script: |
docker pull quay.io/pypa/manylinux2014_i686
docker run -v $(pwd):/pandas quay.io/pypa/manylinux2014_i686 \
/bin/bash -xc "cd pandas && \
/opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev && \
. ~/virtualenvs/pandas-dev/bin/activate && \
python -m pip install --no-deps -U pip wheel setuptools && \
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
phofl marked this conversation as resolved.
Show resolved Hide resolved
pip install cython numpy python-dateutil pytz pytest pytest-xdist hypothesis pytest-azurepipelines && \
python setup.py build_ext -q -j2 && \
python -m pip install --no-build-isolation -e . && \
Expand Down
3 changes: 2 additions & 1 deletion ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ echo "[Build extensions]"
python setup.py build_ext -q -j2

echo "[Updating pip]"
python -m pip install --no-deps -U pip wheel setuptools
# TODO: GH#44980 https://github.com/pypa/setuptools/issues/2941
phofl marked this conversation as resolved.
Show resolved Hide resolved
python -m pip install --no-deps -U pip wheel "setuptools<60.0.0"
phofl marked this conversation as resolved.
Show resolved Hide resolved

echo "[Install pandas]"
python -m pip install --no-build-isolation -e .
Expand Down