Skip to content

Commit 7535374

Browse files
Merge branch 'main' into test_numpy_complex2
2 parents ad841bf + 2d16863 commit 7535374

File tree

224 files changed

+4813
-3029
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+4813
-3029
lines changed

.github/workflows/code-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 0
3939

@@ -109,7 +109,7 @@ jobs:
109109

110110
steps:
111111
- name: Checkout
112-
uses: actions/checkout@v3
112+
uses: actions/checkout@v4
113113
with:
114114
fetch-depth: 0
115115

@@ -143,7 +143,7 @@ jobs:
143143
run: docker image prune -f
144144

145145
- name: Checkout
146-
uses: actions/checkout@v3
146+
uses: actions/checkout@v4
147147
with:
148148
fetch-depth: 0
149149

@@ -164,7 +164,7 @@ jobs:
164164

165165
steps:
166166
- name: Checkout
167-
uses: actions/checkout@v3
167+
uses: actions/checkout@v4
168168
with:
169169
fetch-depth: 0
170170

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- python
2828

2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
- uses: github/codeql-action/init@v2
3232
with:
3333
languages: ${{ matrix.language }}

.github/workflows/comment-commands.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
steps:
5353
- name: Checkout
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555
with:
5656
fetch-depth: 0
5757

.github/workflows/docbuild-and-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
with:
4141
fetch-depth: 0
4242

.github/workflows/package-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 0
4040

@@ -62,7 +62,7 @@ jobs:
6262
cancel-in-progress: true
6363
steps:
6464
- name: Checkout
65-
uses: actions/checkout@v3
65+
uses: actions/checkout@v4
6666
with:
6767
fetch-depth: 0
6868

.github/workflows/unit-tests.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136

137137
steps:
138138
- name: Checkout
139-
uses: actions/checkout@v3
139+
uses: actions/checkout@v4
140140
with:
141141
fetch-depth: 0
142142

@@ -194,7 +194,7 @@ jobs:
194194

195195
steps:
196196
- name: Checkout
197-
uses: actions/checkout@v3
197+
uses: actions/checkout@v4
198198
with:
199199
fetch-depth: 0
200200

@@ -230,11 +230,13 @@ jobs:
230230
git -c user.email="you@example.com" merge --no-commit my_ref_name
231231
fi
232232
- name: Build environment and Run Tests
233+
# https://github.com/numpy/numpy/issues/24703#issuecomment-1722379388
233234
run: |
234235
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
235236
. ~/virtualenvs/pandas-dev/bin/activate
236-
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.0.1 meson-python==0.13.1
237-
python -m pip install --no-cache-dir versioneer[toml] "cython<3.0.1" numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
237+
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
238+
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
239+
python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
238240
python -m pip install --no-cache-dir --no-build-isolation -e .
239241
python -m pip list --no-cache-dir
240242
export PANDAS_CI=1
@@ -271,8 +273,8 @@ jobs:
271273
run: |
272274
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
273275
. ~/virtualenvs/pandas-dev/bin/activate
274-
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.0.1
275-
python -m pip install --no-cache-dir versioneer[toml] "cython<3.0.1" numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
276+
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
277+
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
276278
python -m pip install --no-cache-dir --no-build-isolation -e .
277279
python -m pip list --no-cache-dir
278280
@@ -330,7 +332,7 @@ jobs:
330332
PYTEST_TARGET: pandas
331333

332334
steps:
333-
- uses: actions/checkout@v3
335+
- uses: actions/checkout@v4
334336
with:
335337
fetch-depth: 0
336338

@@ -342,10 +344,10 @@ jobs:
342344
- name: Build Environment
343345
run: |
344346
python --version
345-
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
347+
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
346348
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
347349
python -m pip install versioneer[toml]
348-
python -m pip install python-dateutil pytz tzdata "cython<3.0.1" hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
350+
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
349351
python -m pip install -ve . --no-build-isolation --no-index
350352
python -m pip list
351353

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
sdist_file: ${{ steps.save-path.outputs.sdist_name }}
4949
steps:
5050
- name: Checkout pandas
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252
with:
5353
fetch-depth: 0
5454

@@ -103,7 +103,7 @@ jobs:
103103
IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
104104
steps:
105105
- name: Checkout pandas
106-
uses: actions/checkout@v3
106+
uses: actions/checkout@v4
107107
with:
108108
fetch-depth: 0
109109

ci/deps/actions-310.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66

77
# build dependencies
88
- versioneer[toml]
9-
- cython>=0.29.33, <3.0.1
10-
- meson[ninja]=1.0.1
9+
- cython>=0.29.33
10+
- meson[ninja]=1.2.1
1111
- meson-python=0.13.1
1212

1313
# test dependencies
@@ -34,7 +34,7 @@ dependencies:
3434
- gcsfs>=2022.05.0
3535
- jinja2>=3.1.2
3636
- lxml>=4.8.0
37-
- matplotlib>=3.6.1
37+
- matplotlib>=3.6.1, <3.8
3838
- numba>=0.55.2
3939
- numexpr>=2.8.0
4040
- odfpy>=1.4.1
@@ -46,6 +46,7 @@ dependencies:
4646
- pymysql>=1.0.2
4747
- pyreadstat>=1.1.5
4848
- pytables>=3.7.0
49+
- python-calamine>=0.1.6
4950
- pyxlsb>=1.0.9
5051
- s3fs>=2022.05.0
5152
- scipy>=1.8.1

ci/deps/actions-311-downstream_compat.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies:
77

88
# build dependencies
99
- versioneer[toml]
10-
- cython>=0.29.33, <3.0.1
11-
- meson[ninja]=1.0.1
10+
- cython>=0.29.33
11+
- meson[ninja]=1.2.1
1212
- meson-python=0.13.1
1313

1414
# test dependencies
@@ -35,7 +35,7 @@ dependencies:
3535
- gcsfs>=2022.05.0
3636
- jinja2>=3.1.2
3737
- lxml>=4.8.0
38-
- matplotlib>=3.6.1
38+
- matplotlib>=3.6.1, <3.8
3939
- numba>=0.55.2
4040
- numexpr>=2.8.0
4141
- odfpy>=1.4.1
@@ -47,6 +47,7 @@ dependencies:
4747
- pymysql>=1.0.2
4848
- pyreadstat>=1.1.5
4949
- pytables>=3.7.0
50+
- python-calamine>=0.1.6
5051
- pyxlsb>=1.0.9
5152
- s3fs>=2022.05.0
5253
- scipy>=1.8.1

ci/deps/actions-311-numpydev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ dependencies:
66

77
# build dependencies
88
- versioneer[toml]
9-
- meson[ninja]=1.0.1
9+
- meson[ninja]=1.2.1
1010
- meson-python=0.13.1
11+
- cython>=0.29.33
1112

1213
# test dependencies
1314
- pytest>=7.3.2
@@ -25,7 +26,6 @@ dependencies:
2526
- pip
2627

2728
- pip:
28-
- "cython<3.0.1"
2929
- "--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
3030
- "--pre"
3131
- "numpy"

ci/deps/actions-311-pyarrownightly.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66

77
# build dependencies
88
- versioneer[toml]
9-
- meson[ninja]=1.0.1
10-
- cython>=0.29.33, <3.0.1
9+
- meson[ninja]=1.2.1
10+
- cython>=0.29.33
1111
- meson-python=0.13.1
1212

1313
# test dependencies

ci/deps/actions-311.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66

77
# build dependencies
88
- versioneer[toml]
9-
- cython>=0.29.33, <3.0.1
10-
- meson[ninja]=1.0.1
9+
- cython>=0.29.33
10+
- meson[ninja]=1.2.1
1111
- meson-python=0.13.1
1212

1313
# test dependencies
@@ -34,7 +34,7 @@ dependencies:
3434
- gcsfs>=2022.05.0
3535
- jinja2>=3.1.2
3636
- lxml>=4.8.0
37-
- matplotlib>=3.6.1
37+
- matplotlib>=3.6.1, <3.8
3838
- numba>=0.55.2
3939
- numexpr>=2.8.0
4040
- odfpy>=1.4.1
@@ -46,6 +46,7 @@ dependencies:
4646
- pymysql>=1.0.2
4747
- pyreadstat>=1.1.5
4848
# - pytables>=3.7.0, 3.8.0 is first version that supports 3.11
49+
- python-calamine>=0.1.6
4950
- pyxlsb>=1.0.9
5051
- s3fs>=2022.05.0
5152
- scipy>=1.8.1

ci/deps/actions-39-minimum_versions.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ dependencies:
88

99
# build dependencies
1010
- versioneer[toml]
11-
- cython>=0.29.33, <3.0.1
12-
- meson[ninja]=1.0.1
11+
- cython>=0.29.33
12+
- meson[ninja]=1.2.1
1313
- meson-python=0.13.1
1414

1515
# test dependencies
@@ -48,6 +48,7 @@ dependencies:
4848
- pymysql=1.0.2
4949
- pyreadstat=1.1.5
5050
- pytables=3.7.0
51+
- python-calamine=0.1.6
5152
- pyxlsb=1.0.9
5253
- s3fs=2022.05.0
5354
- scipy=1.8.1

ci/deps/actions-39.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66

77
# build dependencies
88
- versioneer[toml]
9-
- cython>=0.29.33, <3.0.1
10-
- meson[ninja]=1.0.1
9+
- cython>=0.29.33
10+
- meson[ninja]=1.2.1
1111
- meson-python=0.13.1
1212

1313
# test dependencies
@@ -34,7 +34,7 @@ dependencies:
3434
- gcsfs>=2022.05.0
3535
- jinja2>=3.1.2
3636
- lxml>=4.8.0
37-
- matplotlib>=3.6.1
37+
- matplotlib>=3.6.1, <3.8
3838
- numba>=0.55.2
3939
- numexpr>=2.8.0
4040
- odfpy>=1.4.1
@@ -46,6 +46,7 @@ dependencies:
4646
- pymysql>=1.0.2
4747
- pyreadstat>=1.1.5
4848
- pytables>=3.7.0
49+
- python-calamine>=0.1.6
4950
- pyxlsb>=1.0.9
5051
- s3fs>=2022.05.0
5152
- scipy>=1.8.1

ci/deps/actions-pypy-39.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dependencies:
99

1010
# build dependencies
1111
- versioneer[toml]
12-
- cython>=0.29.33, <3.0.1
13-
- meson[ninja]=1.0.1
12+
- cython>=0.29.33
13+
- meson[ninja]=1.2.1
1414
- meson-python=0.13.1
1515

1616
# test dependencies

ci/deps/circle-310-arm64.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66

77
# build dependencies
88
- versioneer[toml]
9-
- cython>=0.29.33, <3.0.1
10-
- meson[ninja]=1.0.1
9+
- cython>=0.29.33
10+
- meson[ninja]=1.2.1
1111
- meson-python=0.13.1
1212

1313
# test dependencies
@@ -34,7 +34,7 @@ dependencies:
3434
- gcsfs>=2022.05.0
3535
- jinja2>=3.1.2
3636
- lxml>=4.8.0
37-
- matplotlib>=3.6.1
37+
- matplotlib>=3.6.1, <3.8
3838
# test_numba_vs_cython segfaults with numba 0.57
3939
- numba>=0.55.2, <0.57.0
4040
- numexpr>=2.8.0
@@ -47,6 +47,7 @@ dependencies:
4747
- pymysql>=1.0.2
4848
# - pyreadstat>=1.1.5 not available on ARM
4949
- pytables>=3.7.0
50+
- python-calamine>=0.1.6
5051
- pyxlsb>=1.0.9
5152
- s3fs>=2022.05.0
5253
- scipy>=1.8.1

doc/make.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ def _sphinx_build(self, kind: str):
123123
124124
Parameters
125125
----------
126-
kind : {'html', 'latex'}
126+
kind : {'html', 'latex', 'linkcheck'}
127127
128128
Examples
129129
--------
130130
>>> DocBuilder(num_jobs=4)._sphinx_build('html')
131131
"""
132-
if kind not in ("html", "latex"):
133-
raise ValueError(f"kind must be html or latex, not {kind}")
132+
if kind not in ("html", "latex", "linkcheck"):
133+
raise ValueError(f"kind must be html, latex or linkcheck, not {kind}")
134134

135135
cmd = ["sphinx-build", "-b", kind]
136136
if self.num_jobs:
@@ -288,6 +288,12 @@ def zip_html(self):
288288
os.chdir(dirname)
289289
self._run_os("zip", zip_fname, "-r", "-q", *fnames)
290290

291+
def linkcheck(self):
292+
"""
293+
Check for broken links in the documentation.
294+
"""
295+
return self._sphinx_build("linkcheck")
296+
291297

292298
def main():
293299
cmds = [method for method in dir(DocBuilder) if not method.startswith("_")]

0 commit comments

Comments
 (0)