Skip to content

CI: Align Azure & GHA dependencies #45478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 113 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
37ac83c
CI: Align Azure & GHA dependencies
mroeschke Jan 19, 2022
3327cc3
Disable GHA for testing Azure
mroeschke Jan 19, 2022
7d87367
Disable another GHA workflow for Azure testing
mroeschke Jan 19, 2022
53908b5
Fix windows workflow
mroeschke Jan 19, 2022
01090f3
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 20, 2022
9e177a3
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 23, 2022
7b76855
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 23, 2022
a620d2a
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 24, 2022
0d3bfb1
Cap at 120 mins
mroeschke Jan 24, 2022
ff6e2da
Verbose
mroeschke Jan 24, 2022
c49e684
Align pattern and timeoutinMinutes
mroeschke Jan 24, 2022
20dcc49
Skip db as well
mroeschke Jan 24, 2022
e6db0ed
Mark more db tests
mroeschke Jan 24, 2022
e733795
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 24, 2022
fe90b32
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 25, 2022
aa2e03a
Skip moments tests on windows
mroeschke Jan 25, 2022
63fc793
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 25, 2022
0bb104f
Add PANDAS_CI in azure-pipelines.yml
mroeschke Jan 25, 2022
e275343
Remove unused fixture which causes hang?
mroeschke Jan 25, 2022
35f2498
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 25, 2022
53340a5
Try this condiditon
mroeschke Jan 25, 2022
97e04cd
Actually is it numba on windows?
mroeschke Jan 25, 2022
91bba48
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 25, 2022
0b95106
Don't even collect moments tests
mroeschke Jan 25, 2022
02cb9c2
Exclude numba tests
mroeschke Jan 25, 2022
63015f6
Maybe use a context manager?
mroeschke Jan 26, 2022
16cf72d
Maybe longer timeout for windows?
mroeschke Jan 26, 2022
7749682
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 26, 2022
dda299d
Already skipping in ci/run_tests
mroeschke Jan 26, 2022
7141258
Windows takes a while
mroeschke Jan 26, 2022
26221a8
Skip hanging test on Windows
mroeschke Jan 26, 2022
39a1877
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 26, 2022
9aa05ce
Is this file just flaky for windows?
mroeschke Jan 26, 2022
9cc7993
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 27, 2022
ec6a401
Don't make check_for_file_leaks raise on non-excel files
mroeschke Jan 27, 2022
dfa137e
Check excel files on both sides
mroeschke Jan 27, 2022
d08ed00
this entire file is sus
mroeschke Jan 27, 2022
dcb3028
Will it ever time out?
mroeschke Jan 27, 2022
adb48ba
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 27, 2022
abcd626
Exclude excel test_writers
mroeschke Jan 27, 2022
d5f6b0e
75 min timeout
mroeschke Jan 27, 2022
221f52a
Disable file leak check for windows:
mroeschke Jan 27, 2022
a1929ab
Give windows more time
mroeschke Jan 27, 2022
2bab2d3
Move skipping to tests so they are logged
mroeschke Jan 27, 2022
9b1f4d5
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 28, 2022
5e14aa8
What if i include my conftest discovery?
mroeschke Jan 28, 2022
d610119
Don't autouse check_for_file_leaks
mroeschke Jan 28, 2022
39639b9
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 28, 2022
ca73560
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 28, 2022
9e2e7fa
Re-enable some test
mroeschke Jan 28, 2022
28cc8ae
Up to 2 hours for windows
mroeschke Jan 28, 2022
7481bed
Enable more tests
mroeschke Jan 28, 2022
75ad65d
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 28, 2022
c58bb53
Now try numba
mroeschke Jan 28, 2022
18ce662
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 28, 2022
cca379e
Revert "Now try numba"
mroeschke Jan 28, 2022
d47b04a
It was numba afterall
mroeschke Jan 28, 2022
d7f7513
Numba flaky on MacOS too
mroeschke Jan 29, 2022
d9d3e86
Limit pyarrow to 1 thread
mroeschke Jan 29, 2022
22773a7
Simplify condition
mroeschke Jan 29, 2022
87443c6
Use 90 mins
mroeschke Jan 29, 2022
6aa0a11
Add comment about marking single
mroeschke Jan 29, 2022
f636228
Set a different way since not available in py38
mroeschke Jan 29, 2022
7e0662d
Declare victory
mroeschke Jan 29, 2022
24074b6
Monkeypatch to disabble threads
mroeschke Jan 29, 2022
4aaeb8d
Remove print
mroeschke Jan 29, 2022
1b51627
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 30, 2022
59afb38
undo whitespace
mroeschke Jan 30, 2022
e094c70
Undo leftover test mods
mroeschke Jan 30, 2022
6159811
My local main wasn't updated
mroeschke Jan 30, 2022
5f1f709
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 31, 2022
6402886
Live with mulithead pyarrow
mroeschke Jan 31, 2022
b094458
Try changing macos image for pyarrow parquet issues
mroeschke Jan 31, 2022
4945a1d
Revert "Try changing macos image for pyarrow parquet issues"
mroeschke Jan 31, 2022
a57e650
Try this way
mroeschke Jan 31, 2022
e22fd95
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 31, 2022
5221d14
Reinstall pyarrow?
mroeschke Jan 31, 2022
d9e85e5
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Jan 31, 2022
24eded6
Don't run network as well
mroeschke Jan 31, 2022
cb4a92e
try pyarrow 6
mroeschke Jan 31, 2022
5dd03ba
Need to view again
mroeschke Jan 31, 2022
53f958d
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 1, 2022
0613305
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 1, 2022
67b5d49
Xfail for flaky macos pyarrow parquet thing
mroeschke Feb 1, 2022
80a73a9
Xfail for flaky macos pyarrow parquet thing
mroeschke Feb 1, 2022
f5a76ae
Address more pyarrow compat
mroeschke Feb 1, 2022
f7b5a75
Escape the brackets
mroeschke Feb 1, 2022
9b660fa
Try using the old OS again
mroeschke Feb 1, 2022
2be094e
Add back latest
mroeschke Feb 1, 2022
8177c22
Check arraymanager tests
mroeschke Feb 1, 2022
9977ca7
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 1, 2022
feab7ee
mRevert and recover the issue again
mroeschke Feb 2, 2022
bb13ec4
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 2, 2022
11ad11d
Change number of workers
mroeschke Feb 2, 2022
c696740
Try passing use_threads in pyarrow again
mroeschke Feb 2, 2022
985542b
Revert "Try passing use_threads in pyarrow again"
mroeschke Feb 2, 2022
84ed1fb
Revert "Change number of workers"
mroeschke Feb 2, 2022
cdfd056
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 2, 2022
d41fa26
Try reinstalling pyarrow again
mroeschke Feb 2, 2022
5096d5e
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 3, 2022
777c977
Try upgrading pyarrow instead
mroeschke Feb 3, 2022
9cbc5d3
Remove fastparquet from macos
mroeschke Feb 3, 2022
b994e24
specify conda forge?
mroeschke Feb 3, 2022
41b17a0
Try upgrading pyarrow again
mroeschke Feb 4, 2022
13742d7
Remove fastparquet
mroeschke Feb 4, 2022
0d6c676
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 4, 2022
8852ae4
Force uninstall
mroeschke Feb 4, 2022
9364966
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 4, 2022
3e7e3bc
Use an xfail
mroeschke Feb 4, 2022
d737eaa
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 5, 2022
311dd9c
Address some mac test
mroeschke Feb 5, 2022
424b77d
Merge remote-tracking branch 'upstream/main' into ci/align_azure
mroeschke Feb 6, 2022
ae8f616
Fix more tests
mroeschke Feb 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@ pr:
variables:
PYTEST_WORKERS: auto
PYTEST_TARGET: pandas
PATTERN: "not slow and not high_memory and not db and not network"
PANDAS_CI: 1

jobs:
# Mac and Linux use the same template
- template: ci/azure/posix.yml
parameters:
name: macOS
vmImage: macOS-10.15
vmImage: macOS-latest

- template: ci/azure/windows.yml
parameters:
name: Windows
vmImage: windows-2019
vmImage: windows-latest

- job: py38_32bit
pool:
Expand Down
36 changes: 9 additions & 27 deletions ci/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,22 @@ parameters:

jobs:
- job: ${{ parameters.name }}
timeoutInMinutes: 90
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
py38_macos_1:
ENV_FILE: ci/deps/azure-macos-38.yaml
py38:
ENV_FILE: ci/deps/actions-38.yaml
CONDA_PY: "38"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[a-h]*"
py38_macos_2:
ENV_FILE: ci/deps/azure-macos-38.yaml
CONDA_PY: "38"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[i-z]*"
py39_macos_1:
ENV_FILE: ci/deps/azure-macos-39.yaml
CONDA_PY: "39"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[a-h]*"
py39_macos_2:
ENV_FILE: ci/deps/azure-macos-39.yaml

py39:
ENV_FILE: ci/deps/actions-39.yaml
CONDA_PY: "39"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[i-z]*"
py310_macos_1:
ENV_FILE: ci/deps/azure-macos-310.yaml
CONDA_PY: "310"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[a-h]*"
py310_macos_2:
ENV_FILE: ci/deps/azure-macos-310.yaml

py310:
ENV_FILE: ci/deps/actions-310.yaml
CONDA_PY: "310"
PATTERN: "not slow"
PYTEST_TARGET: "pandas/tests/[i-z]*"

steps:
- script: echo '##vso[task.prependpath]$(HOME)/miniconda3/bin'
Expand Down
45 changes: 8 additions & 37 deletions ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,22 @@ parameters:

jobs:
- job: ${{ parameters.name }}
timeoutInMinutes: 90
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
py38_np18_1:
ENV_FILE: ci/deps/azure-windows-38.yaml
py38:
ENV_FILE: ci/deps/actions-38.yaml
CONDA_PY: "38"
PATTERN: "not slow"
PYTEST_WORKERS: 2 # GH-42236
PYTEST_TARGET: "pandas/tests/[a-h]*"

py38_np18_2:
ENV_FILE: ci/deps/azure-windows-38.yaml
CONDA_PY: "38"
PATTERN: "not slow"
PYTEST_WORKERS: 2 # GH-42236
PYTEST_TARGET: "pandas/tests/[i-z]*"

py39_1:
ENV_FILE: ci/deps/azure-windows-39.yaml
CONDA_PY: "39"
PATTERN: "not slow and not high_memory"
PYTEST_WORKERS: 2 # GH-42236
PYTEST_TARGET: "pandas/tests/[a-h]*"

py39_2:
ENV_FILE: ci/deps/azure-windows-39.yaml
py39:
ENV_FILE: ci/deps/actions-39.yaml
CONDA_PY: "39"
PATTERN: "not slow and not high_memory"
PYTEST_WORKERS: 2 # GH-42236
PYTEST_TARGET: "pandas/tests/[i-z]*"

py310_1:
ENV_FILE: ci/deps/azure-windows-310.yaml
CONDA_PY: "310"
PATTERN: "not slow and not high_memory"
PYTEST_WORKERS: 2 # GH-42236
PYTEST_TARGET: "pandas/tests/[a-h]*"

py310_2:
ENV_FILE: ci/deps/azure-windows-310.yaml
py310:
ENV_FILE: ci/deps/actions-310.yaml
CONDA_PY: "310"
PATTERN: "not slow and not high_memory"
PYTEST_WORKERS: 2 # GH-42236
PYTEST_TARGET: "pandas/tests/[i-z]*"

steps:
- powershell: |
Expand All @@ -59,7 +30,7 @@ jobs:
displayName: 'Update conda'

- bash: |
conda env create -q --file ci\\deps\\azure-windows-$(CONDA_PY).yaml
conda env create -q --file ci\\deps\\actions-$(CONDA_PY).yaml
displayName: 'Create anaconda environment'
- bash: |
source activate pandas-dev
Expand Down
36 changes: 0 additions & 36 deletions ci/deps/azure-macos-310.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions ci/deps/azure-macos-38.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions ci/deps/azure-macos-39.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions ci/deps/azure-windows-310.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions ci/deps/azure-windows-38.yaml

This file was deleted.

40 changes: 0 additions & 40 deletions ci/deps/azure-windows-39.yaml

This file was deleted.

8 changes: 2 additions & 6 deletions ci/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,14 @@ if [[ $(uname) == "Linux" && -z $DISPLAY ]]; then
XVFB="xvfb-run "
fi

PYTEST_CMD="${XVFB}pytest -r fEs -m \"$PATTERN\" -n $PYTEST_WORKERS --dist=loadfile $TEST_ARGS $COVERAGE $PYTEST_TARGET"

if [[ $(uname) != "Linux" && $(uname) != "Darwin" ]]; then
PYTEST_CMD="$PYTEST_CMD --ignore=pandas/tests/plotting/"
fi
PYTEST_CMD="${XVFB}pytest -v -r fEs -m \"$PATTERN\" -n $PYTEST_WORKERS --dist=loadfile $TEST_ARGS $COVERAGE $PYTEST_TARGET"

echo $PYTEST_CMD
sh -c "$PYTEST_CMD"

if [[ "$PANDAS_DATA_MANAGER" != "array" ]]; then
# The ArrayManager tests should have already been run by PYTEST_CMD if PANDAS_DATA_MANAGER was already set to array
PYTEST_AM_CMD="PANDAS_DATA_MANAGER=array pytest -m \"$PATTERN and arraymanager\" -n $PYTEST_WORKERS --dist=loadfile $TEST_ARGS $COVERAGE pandas"
PYTEST_AM_CMD="PANDAS_DATA_MANAGER=array pytest -v -m \"$PATTERN and arraymanager\" -n $PYTEST_WORKERS --dist=loadfile $TEST_ARGS $COVERAGE pandas"

echo $PYTEST_AM_CMD
sh -c "$PYTEST_AM_CMD"
Expand Down
Loading