Skip to content

Commit 763c3d4

Browse files
committed
Backport PR pandas-dev#43729: DEPS: Upgrade Deps for Python 3.10
1 parent 554439a commit 763c3d4

21 files changed

+46
-36
lines changed

.github/actions/build_pandas/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ runs:
1313
- name: Build Pandas
1414
run: |
1515
python setup.py build_ext -j 2
16-
python -m pip install -e . --no-build-isolation --no-use-pep517
16+
python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index
1717
shell: bash -l {0}

.github/workflows/sdist.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
python-version: ["3.7", "3.8", "3.9"]
26+
python-version: ["3.7", "3.8", "3.9", "3.10"]
27+
concurrency:
28+
group: ${{github.ref}}-${{matrix.python-version}}-sdist
29+
cancel-in-progress: ${{github.event_name == 'pull_request'}}
2730

2831
steps:
2932
- uses: actions/checkout@v2
@@ -50,13 +53,26 @@ jobs:
5053
- uses: conda-incubator/setup-miniconda@v2
5154
with:
5255
activate-environment: pandas-sdist
53-
python-version: ${{ matrix.python-version }}
56+
python-version: '${{ matrix.python-version }}'
5457

5558
- name: Install pandas from sdist
5659
run: |
57-
conda list
60+
pip list
5861
python -m pip install dist/*.gz
5962
63+
- name: Force oldest supported NumPy
64+
run: |
65+
case "${{matrix.python-version}}" in
66+
3.7)
67+
pip install numpy==1.17.3
68+
3.8)
69+
pip install numpy==1.18.5 ;;
70+
3.9)
71+
pip install numpy==1.19.3 ;;
72+
3.10)
73+
pip install numpy==1.21.2 ;;
74+
esac
75+
6076
- name: Import pandas
6177
run: |
6278
cd ..

ci/deps/actions-37-db-min.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.7.*
66

77
# tools
8-
- cython>=0.29.21
8+
- cython>=0.29.24
99
- pytest>=6.0
1010
- pytest-cov
1111
- pytest-xdist>=1.21

ci/deps/actions-37-db.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.7.*
66

77
# tools
8-
- cython>=0.29.21
8+
- cython>=0.29.24
99
- pytest>=6.0
1010
- pytest-xdist>=1.21
1111
- hypothesis>=3.58.0

ci/deps/actions-37-locale_slow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- python=3.7.*
77

88
# tools
9-
- cython>=0.29.21
9+
- cython>=0.29.24
1010
- pytest>=6.0
1111
- pytest-cov
1212
- pytest-xdist>=1.21

ci/deps/actions-37-minimum_versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.7.1
66

77
# tools
8-
- cython=0.29.21
8+
- cython=0.29.24
99
- pytest>=6.0
1010
- pytest-cov
1111
- pytest-xdist>=1.21

ci/deps/actions-37-slow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- python=3.7.*
77

88
# tools
9-
- cython>=0.29.21
9+
- cython>=0.29.24
1010
- pytest>=6.0
1111
- pytest-cov
1212
- pytest-xdist>=1.21

ci/deps/actions-37.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- python=3.7.*
77

88
# tools
9-
- cython>=0.29.21
9+
- cython>=0.29.24
1010
- pytest>=6.0
1111
- pytest-cov
1212
- pytest-xdist>=1.21

ci/deps/actions-38-locale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.8.*
66

77
# tools
8-
- cython>=0.29.21
8+
- cython>=0.29.24
99
- pytest>=6.0
1010
- pytest-cov
1111
- pytest-xdist>=1.21

ci/deps/actions-38-numpydev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- pytz
1616
- pip
1717
- pip:
18-
- cython==0.29.21 # GH#34014
18+
- cython==0.29.24 # GH#34014
1919
- "--extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple"
2020
- "--pre"
2121
- "numpy"

0 commit comments

Comments
 (0)