Skip to content

Commit b4c389e

Browse files
committed
Merge branch 'main' into pandas-devgh-52343-timestamp-from-positional
2 parents 837c625 + 3c041bc commit b4c389e

File tree

467 files changed

+6673
-5084
lines changed

Some content is hidden

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

467 files changed

+6673
-5084
lines changed

.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
fi
4747
- run:
4848
name: Build aarch64 wheels
49+
no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
4950
command: |
5051
pip3 install cibuildwheel==2.14.1
5152
cibuildwheel --prerelease-pythons --output-dir wheelhouse

.github/workflows/code-checks.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
branches:
66
- main
7-
- 2.0.x
7+
- 2.1.x
88
pull_request:
99
branches:
1010
- main
11-
- 2.0.x
11+
- 2.1.x
1212

1313
env:
1414
ENV_FILE: environment.yml
@@ -124,7 +124,7 @@ jobs:
124124
run: |
125125
cd asv_bench
126126
asv machine --yes
127-
asv run --quick --dry-run --strict --durations=30 --python=same
127+
asv run --quick --dry-run --durations=30 --python=same
128128
129129
build_docker_dev_environment:
130130
name: Build Docker Dev Environment

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches:
66
- main
7-
- 2.0.x
7+
- 2.1.x
88
tags:
99
- '*'
1010
pull_request:
1111
branches:
1212
- main
13-
- 2.0.x
13+
- 2.1.x
1414

1515
env:
1616
ENV_FILE: environment.yml

.github/workflows/package-checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
branches:
66
- main
7-
- 2.0.x
7+
- 2.1.x
88
pull_request:
99
branches:
1010
- main
11-
- 2.0.x
11+
- 2.1.x
1212
types: [ labeled, opened, synchronize, reopened ]
1313

1414
permissions:

.github/workflows/unit-tests.yml

+14-27
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
branches:
66
- main
7-
- 2.0.x
7+
- 2.1.x
88
pull_request:
99
branches:
1010
- main
11-
- 2.0.x
11+
- 2.1.x
1212
paths-ignore:
1313
- "doc/**"
1414
- "web/**"
@@ -77,16 +77,12 @@ jobs:
7777
env_file: actions-311-numpydev.yaml
7878
pattern: "not slow and not network and not single_cpu"
7979
test_args: "-W error::DeprecationWarning -W error::FutureWarning"
80-
# TODO(cython3): Re-enable once next-beta(after beta 1) comes out
81-
# There are some warnings failing the build with -werror
82-
pandas_ci: "0"
8380
- name: "Pyarrow Nightly"
8481
env_file: actions-311-pyarrownightly.yaml
8582
pattern: "not slow and not network and not single_cpu"
8683
fail-fast: false
8784
name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
8885
env:
89-
ENV_FILE: ci/deps/${{ matrix.env_file }}
9086
PATTERN: ${{ matrix.pattern }}
9187
EXTRA_APT: ${{ matrix.extra_apt || '' }}
9288
LANG: ${{ matrix.lang || 'C.UTF-8' }}
@@ -150,14 +146,13 @@ jobs:
150146

151147
- name: Generate extra locales
152148
# These extra locales will be available for locale.setlocale() calls in tests
153-
run: |
154-
sudo locale-gen ${{ matrix.extra_loc }}
149+
run: sudo locale-gen ${{ matrix.extra_loc }}
155150
if: ${{ matrix.extra_loc }}
156151

157152
- name: Set up Conda
158153
uses: ./.github/actions/setup-conda
159154
with:
160-
environment-file: ${{ env.ENV_FILE }}
155+
environment-file: ci/deps/${{ matrix.env_file }}
161156

162157
- name: Build Pandas
163158
id: build
@@ -239,7 +234,7 @@ jobs:
239234
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
240235
. ~/virtualenvs/pandas-dev/bin/activate
241236
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.0.1 meson-python==0.13.1
242-
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
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
243238
python -m pip install --no-cache-dir --no-build-isolation -e .
244239
python -m pip list --no-cache-dir
245240
export PANDAS_CI=1
@@ -277,7 +272,7 @@ jobs:
277272
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
278273
. ~/virtualenvs/pandas-dev/bin/activate
279274
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.0.1
280-
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
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
281276
python -m pip install --no-cache-dir --no-build-isolation -e .
282277
python -m pip list --no-cache-dir
283278
@@ -312,15 +307,14 @@ jobs:
312307
# to the corresponding posix/windows-macos/sdist etc. workflows.
313308
# Feel free to modify this comment as necessary.
314309
#if: false # Uncomment this to freeze the workflow, comment it to unfreeze
310+
defaults:
311+
run:
312+
shell: bash -eou pipefail {0}
315313
runs-on: ${{ matrix.os }}
316314
strategy:
317315
fail-fast: false
318316
matrix:
319-
# TODO: Disable macOS for now, Github Actions bug where python is not
320-
# symlinked correctly to 3.12
321-
# xref https://github.com/actions/setup-python/issues/701
322-
#os: [ubuntu-22.04, macOS-latest, windows-latest]
323-
os: [ubuntu-22.04, windows-latest]
317+
os: [ubuntu-22.04, macOS-latest, windows-latest]
324318

325319
timeout-minutes: 180
326320

@@ -345,22 +339,15 @@ jobs:
345339
with:
346340
python-version: '3.12-dev'
347341

348-
- name: Install dependencies
342+
- name: Build Environment
349343
run: |
350344
python --version
351345
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
352346
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
353347
python -m pip install versioneer[toml]
354-
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
355-
python -m pip list
356-
357-
- name: Build Pandas
358-
run: |
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
359349
python -m pip install -ve . --no-build-isolation --no-index
350+
python -m pip list
360351
361-
- name: Build Version
362-
run: |
363-
python -c "import pandas; pandas.show_versions();"
364-
365-
- name: Test
352+
- name: Run Tests
366353
uses: ./.github/actions/run-tests

.github/workflows/wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
140140

141141
- name: Build wheels
142-
uses: pypa/cibuildwheel@v2.14.1
142+
uses: pypa/cibuildwheel@v2.15.0
143143
with:
144144
package-dir: ./dist/${{ matrix.buildplat[1] == 'macosx_*' && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
145145
env:

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
hooks:
2525
- id: black
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.0.282
27+
rev: v0.0.285
2828
hooks:
2929
- id: ruff
3030
args: [--exit-non-zero-on-fix]

LICENSES/BOTTLENECK_LICENCE

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Copyright (c) 2010-2019 Keith Goodman
2+
Copyright (c) 2019 Bottleneck Developers
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25+
POSSIBILITY OF SUCH DAMAGE.

LICENSES/DATEUTIL_LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
5151
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
5252
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5353

54-
The above BSD License Applies to all code, even that also covered by Apache 2.0.
54+
The above BSD License Applies to all code, even that also covered by Apache 2.0.

LICENSES/KLIB_LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
2020
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
2121
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2222
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23-
SOFTWARE.
23+
SOFTWARE.

0 commit comments

Comments
 (0)