Skip to content

Commit 0d45007

Browse files
Merge branch 'main' into remove-warning-loc
2 parents a21ea6a + c426dc0 commit 0d45007

File tree

643 files changed

+17586
-10483
lines changed

Some content is hidden

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

643 files changed

+17586
-10483
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ body:
1717
[latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
1818
required: true
1919
- label: >
20-
I have confirmed this bug exists on the main branch of pandas.
20+
I have confirmed this bug exists on the [main branch]
21+
(https://pandas.pydata.org/docs/dev/getting_started/install.html#installing-the-development-version-of-pandas)
22+
of pandas.
2123
- type: textarea
2224
id: example
2325
attributes:

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
pytest:
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v3
@@ -39,7 +39,7 @@ jobs:
3939
. ~/virtualenvs/pandas-dev/bin/activate && \
4040
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
4141
python -m pip install versioneer[toml] && \
42-
python -m pip install cython numpy python-dateutil pytz pytest pytest-xdist pytest-asyncio>=0.17 hypothesis && \
42+
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 && \
4343
python setup.py build_ext -q -j1 && \
4444
python -m pip install --no-build-isolation --no-use-pep517 -e . && \
4545
python -m pip list && \

.github/workflows/assign.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
issues: write
1313
pull-requests: write
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- if: github.event.comment.body == 'take'
1717
run: |

.github/workflows/asv-bot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: "Run benchmarks"
2222
# TODO: Support more benchmarking options later, against different branches, against self, etc
2323
if: startsWith(github.event.comment.body, '@github-actions benchmark')
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
defaults:
2626
run:
2727
shell: bash -el {0}

.github/workflows/autoupdate-pre-commit-config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
pull-requests: write # for technote-space/create-pr-action to create a PR
1616
if: github.repository_owner == 'pandas-dev'
1717
name: Autoupdate pre-commit config
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Set up Python
21-
uses: actions/setup-python@v3
21+
uses: actions/setup-python@v4
2222
- name: Cache multiple paths
2323
uses: actions/cache@v3
2424
with:

.github/workflows/code-checks.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
jobs:
2121
pre_commit:
2222
name: pre-commit
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-22.04
2424
concurrency:
2525
# https://github.community/t/concurrecy-not-work-for-push/183068/7
2626
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-pre-commit
@@ -30,18 +30,18 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Install Python
33-
uses: actions/setup-python@v3
33+
uses: actions/setup-python@v4
3434
with:
35-
python-version: '3.9.7'
35+
python-version: '3.9'
3636

3737
- name: Run pre-commit
3838
uses: pre-commit/[email protected]
3939
with:
4040
extra_args: --verbose --all-files
4141

42-
docstring_typing_pylint:
43-
name: Docstring validation, typing, and pylint
44-
runs-on: ubuntu-latest
42+
docstring_typing_manual_hooks:
43+
name: Docstring validation, typing, and other manual pre-commit hooks
44+
runs-on: ubuntu-22.04
4545
defaults:
4646
run:
4747
shell: bash -el {0}
@@ -104,7 +104,7 @@ jobs:
104104

105105
asv-benchmarks:
106106
name: ASV Benchmarks
107-
runs-on: ubuntu-latest
107+
runs-on: ubuntu-22.04
108108
defaults:
109109
run:
110110
shell: bash -el {0}
@@ -135,7 +135,7 @@ jobs:
135135
136136
build_docker_dev_environment:
137137
name: Build Docker Dev Environment
138-
runs-on: ubuntu-latest
138+
runs-on: ubuntu-22.04
139139
defaults:
140140
run:
141141
shell: bash -el {0}
@@ -162,7 +162,7 @@ jobs:
162162

163163
requirements-dev-text-installable:
164164
name: Test install requirements-dev.txt
165-
runs-on: ubuntu-latest
165+
runs-on: ubuntu-22.04
166166

167167
concurrency:
168168
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -177,7 +177,7 @@ jobs:
177177

178178
- name: Setup Python
179179
id: setup_python
180-
uses: actions/setup-python@v3
180+
uses: actions/setup-python@v4
181181
with:
182182
python-version: '3.8'
183183
cache: 'pip'

.github/workflows/codeql.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ concurrency:
88
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
99
cancel-in-progress: true
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
analyze:
13-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1417
permissions:
1518
actions: read
1619
contents: read

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

+8-1
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ on:
1515
env:
1616
ENV_FILE: environment.yml
1717
PANDAS_CI: 1
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1819

1920
permissions:
2021
contents: read
2122

2223
jobs:
2324
web_and_docs:
2425
name: Doc Build and Upload
25-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-22.04
2627

2728
concurrency:
2829
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -45,6 +46,12 @@ jobs:
4546
- name: Build Pandas
4647
uses: ./.github/actions/build_pandas
4748

49+
- name: Set up maintainers cache
50+
uses: actions/cache@v3
51+
with:
52+
path: maintainers.json
53+
key: maintainers
54+
4855
- name: Build website
4956
run: python web/pandas_web.py web/pandas --target-path=web/build
5057

.github/workflows/macos-windows.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
PANDAS_CI: 1
1717
PYTEST_TARGET: pandas
1818
PATTERN: "not slow and not db and not network and not single_cpu"
19+
ERROR_ON_WARNINGS: "1"
1920

2021

2122
permissions:
@@ -30,7 +31,7 @@ jobs:
3031
strategy:
3132
matrix:
3233
os: [macos-latest, windows-latest]
33-
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml]
34+
env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml, actions-311.yaml]
3435
fail-fast: false
3536
runs-on: ${{ matrix.os }}
3637
name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }}
@@ -52,7 +53,7 @@ jobs:
5253
uses: ./.github/actions/setup-conda
5354
with:
5455
environment-file: ci/deps/${{ matrix.env_file }}
55-
pyarrow-version: ${{ matrix.os == 'macos-latest' && '6' || '' }}
56+
pyarrow-version: ${{ matrix.os == 'macos-latest' && '9' || '' }}
5657

5758
- name: Build Pandas
5859
uses: ./.github/actions/build_pandas

.github/workflows/package-checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
pip:
1919
if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}}
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
extra: ["test", "performance", "timezone", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output_formatting", "clipboard", "compression", "all"]
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Setup Python
3838
id: setup_python
39-
uses: actions/setup-python@v3
39+
uses: actions/setup-python@v4
4040
with:
4141
python-version: '3.8'
4242

.github/workflows/python-dev.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ name: Python Dev
2323
on:
2424
push:
2525
branches:
26-
- main
27-
- 1.5.x
26+
# - main
27+
# - 1.5.x
28+
- None
2829
pull_request:
2930
branches:
30-
- main
31-
- 1.5.x
31+
# - main
32+
# - 1.5.x
33+
- None
3234
paths-ignore:
3335
- "doc/**"
3436

@@ -49,7 +51,7 @@ jobs:
4951
strategy:
5052
fail-fast: false
5153
matrix:
52-
os: [ubuntu-latest, macOS-latest, windows-latest]
54+
os: [ubuntu-22.04, macOS-latest, windows-latest]
5355

5456
name: actions-311-dev
5557
timeout-minutes: 120
@@ -73,10 +75,10 @@ jobs:
7375
run: |
7476
python --version
7577
python -m pip install --upgrade pip setuptools wheel
76-
python -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
78+
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
7779
python -m pip install git+https://github.com/nedbat/coveragepy.git
7880
python -m pip install versioneer[toml]
79-
python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
81+
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
8082
python -m pip list
8183
8284
# GH 47305: Parallel build can cause flaky ImportError from pandas/_libs/tslibs

.github/workflows/scorecards.yml

-54
This file was deleted.

.github/workflows/sdist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
build:
2121
if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}}
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
timeout-minutes: 60
2424
defaults:
2525
run:

.github/workflows/stale-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
stale:
1212
permissions:
1313
pull-requests: write
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- uses: actions/stale@v4
1717
with:

0 commit comments

Comments
 (0)