forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into pdep-copy-on-write
- Loading branch information
Showing
687 changed files
with
17,803 additions
and
11,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ on: | |
push: | ||
branches: | ||
- main | ||
- 2.0.x | ||
- 2.1.x | ||
pull_request: | ||
branches: | ||
- main | ||
- 2.0.x | ||
- 2.1.x | ||
paths-ignore: | ||
- "doc/**" | ||
- "web/**" | ||
|
@@ -77,16 +77,12 @@ jobs: | |
env_file: actions-311-numpydev.yaml | ||
pattern: "not slow and not network and not single_cpu" | ||
test_args: "-W error::DeprecationWarning -W error::FutureWarning" | ||
# TODO(cython3): Re-enable once next-beta(after beta 1) comes out | ||
# There are some warnings failing the build with -werror | ||
pandas_ci: "0" | ||
- name: "Pyarrow Nightly" | ||
env_file: actions-311-pyarrownightly.yaml | ||
pattern: "not slow and not network and not single_cpu" | ||
fail-fast: false | ||
name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }} | ||
env: | ||
ENV_FILE: ci/deps/${{ matrix.env_file }} | ||
PATTERN: ${{ matrix.pattern }} | ||
EXTRA_APT: ${{ matrix.extra_apt || '' }} | ||
LANG: ${{ matrix.lang || 'C.UTF-8' }} | ||
|
@@ -140,7 +136,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -150,14 +146,13 @@ jobs: | |
|
||
- name: Generate extra locales | ||
# These extra locales will be available for locale.setlocale() calls in tests | ||
run: | | ||
sudo locale-gen ${{ matrix.extra_loc }} | ||
run: sudo locale-gen ${{ matrix.extra_loc }} | ||
if: ${{ matrix.extra_loc }} | ||
|
||
- name: Set up Conda | ||
uses: ./.github/actions/setup-conda | ||
with: | ||
environment-file: ${{ env.ENV_FILE }} | ||
environment-file: ci/deps/${{ matrix.env_file }} | ||
|
||
- name: Build Pandas | ||
id: build | ||
|
@@ -199,7 +194,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -235,11 +230,13 @@ jobs: | |
git -c user.email="[email protected]" merge --no-commit my_ref_name | ||
fi | ||
- name: Build environment and Run Tests | ||
# https://github.com/numpy/numpy/issues/24703#issuecomment-1722379388 | ||
run: | | ||
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev | ||
. ~/virtualenvs/pandas-dev/bin/activate | ||
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.0.1 meson-python==0.13.1 | ||
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 | ||
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1 | ||
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true" | ||
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 | ||
python -m pip install --no-cache-dir --no-build-isolation -e . | ||
python -m pip list --no-cache-dir | ||
export PANDAS_CI=1 | ||
|
@@ -276,7 +273,7 @@ jobs: | |
run: | | ||
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev | ||
. ~/virtualenvs/pandas-dev/bin/activate | ||
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.0.1 | ||
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1 | ||
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 | ||
python -m pip install --no-cache-dir --no-build-isolation -e . | ||
python -m pip list --no-cache-dir | ||
|
@@ -312,15 +309,14 @@ jobs: | |
# to the corresponding posix/windows-macos/sdist etc. workflows. | ||
# Feel free to modify this comment as necessary. | ||
#if: false # Uncomment this to freeze the workflow, comment it to unfreeze | ||
defaults: | ||
run: | ||
shell: bash -eou pipefail {0} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# TODO: Disable macOS for now, Github Actions bug where python is not | ||
# symlinked correctly to 3.12 | ||
# xref https://github.com/actions/setup-python/issues/701 | ||
#os: [ubuntu-22.04, macOS-latest, windows-latest] | ||
os: [ubuntu-22.04, windows-latest] | ||
os: [ubuntu-22.04, macOS-latest, windows-latest] | ||
|
||
timeout-minutes: 180 | ||
|
||
|
@@ -336,7 +332,7 @@ jobs: | |
PYTEST_TARGET: pandas | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -345,22 +341,15 @@ jobs: | |
with: | ||
python-version: '3.12-dev' | ||
|
||
- name: Install dependencies | ||
- name: Build Environment | ||
run: | | ||
python --version | ||
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1 | ||
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1 | ||
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy | ||
python -m pip install versioneer[toml] | ||
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 | ||
python -m pip list | ||
- name: Build Pandas | ||
run: | | ||
python -m pip install -ve . --no-build-isolation --no-index | ||
python -m pip list | ||
- name: Build Version | ||
run: | | ||
python -c "import pandas; pandas.show_versions();" | ||
- name: Test | ||
- name: Run Tests | ||
uses: ./.github/actions/run-tests |
Oops, something went wrong.