From 9360c7146308ee831065daba39eb25e94a3a05d4 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 15:43:44 +0200 Subject: [PATCH 01/19] Add run-tests action --- .github/actions/run-tests/action.yml | 26 ++++++++++++++++++++++++++ .github/workflows/macos-windows.yml | 18 ++---------------- .github/workflows/posix.yml | 25 ++++--------------------- .github/workflows/python-dev.yml | 26 +++----------------------- 4 files changed, 35 insertions(+), 60 deletions(-) create mode 100644 .github/actions/run-tests/action.yml diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml new file mode 100644 index 0000000000000..db0dd883b5097 --- /dev/null +++ b/.github/actions/run-tests/action.yml @@ -0,0 +1,26 @@ +name: Run tests and report results +runs: + using: composite + steps: + - name: Test + run: ci/run_tests.sh + shell: bash -el {0} + + - name: Publish test results + uses: actions/upload-artifact@v2 + with: + name: Test results + path: test-data.xml + if: failure() + + - name: Report Coverage + run: coverage report -m + if: failure() + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + flags: unittests + name: codecov-pandas + fail_ci_if_error: false + if: failure() diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml index 26e6c8699ca64..686089080bc68 100644 --- a/.github/workflows/macos-windows.yml +++ b/.github/workflows/macos-windows.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] + env_file: [actions-38.yaml] #, actions-39.yaml, actions-310.yaml] fail-fast: false runs-on: ${{ matrix.os }} name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }} @@ -53,18 +53,4 @@ jobs: uses: ./.github/actions/build_pandas - name: Test - run: ci/run_tests.sh - - - name: Publish test results - uses: actions/upload-artifact@v3 - with: - name: Test results - path: test-data.xml - if: failure() - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 - with: - flags: unittests - name: codecov-pandas - fail_ci_if_error: false + run: ./.github/actions/run-tests diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 28d2ae6d26bda..4b69cbe23f97e 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -24,11 +24,11 @@ jobs: timeout-minutes: 120 strategy: matrix: - env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] - pattern: ["not single_cpu", "single_cpu"] + #env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] + #pattern: ["not single_cpu", "single_cpu"] # Don't test pyarrow v2/3: Causes timeouts in read_csv engine # even if tests are skipped/xfailed - pyarrow_version: ["5", "6", "7"] + #pyarrow_version: ["5", "6", "7"] include: - name: "Downstream Compat" env_file: actions-38-downstream_compat.yaml @@ -165,23 +165,6 @@ jobs: uses: ./.github/actions/build_pandas - name: Test - run: ci/run_tests.sh + run: ./.github/actions/run-tests # TODO: Don't continue on error for PyPy continue-on-error: ${{ env.IS_PYPY == 'true' }} - - - name: Build Version - run: conda list - - - name: Publish test results - uses: actions/upload-artifact@v3 - with: - name: Test results - path: test-data.xml - if: failure() - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 - with: - flags: unittests - name: codecov-pandas - fail_ci_if_error: false diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 753e288f5e391..1d16bd8907c07 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -29,7 +29,7 @@ env: jobs: build: - if: false # Comment this line out to "unfreeze" + #if: false # Comment this line out to "unfreeze" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -72,25 +72,5 @@ jobs: run: | python -c "import pandas; pandas.show_versions();" - - name: Test with pytest - shell: bash -el {0} - run: | - ci/run_tests.sh - - - name: Publish test results - uses: actions/upload-artifact@v3 - with: - name: Test results - path: test-data.xml - if: failure() - - - name: Report Coverage - run: | - coverage report -m - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 - with: - flags: unittests - name: codecov-pandas - fail_ci_if_error: true + - name: Test + run: ./.github/actions/run-tests From 28f6684a7ee53bfa905417c200cbb87c5d1b0da8 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 15:53:55 +0200 Subject: [PATCH 02/19] Fix --- .github/workflows/posix.yml | 24 ++++++++++++------------ .github/workflows/python-dev.yml | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 4b69cbe23f97e..2cf226694a076 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -24,11 +24,11 @@ jobs: timeout-minutes: 120 strategy: matrix: - #env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] - #pattern: ["not single_cpu", "single_cpu"] + env_file: [] #actions-38.yaml, actions-39.yaml, actions-310.yaml] + pattern: [] #"not single_cpu", "single_cpu"] # Don't test pyarrow v2/3: Causes timeouts in read_csv engine # even if tests are skipped/xfailed - #pyarrow_version: ["5", "6", "7"] + pyarrow_version: [] #"5", "6", "7"] include: - name: "Downstream Compat" env_file: actions-38-downstream_compat.yaml @@ -62,15 +62,15 @@ jobs: pattern: "not slow and not network and not single_cpu" pandas_testing_mode: "deprecate" test_args: "-W error::DeprecationWarning:numpy" - exclude: - - env_file: actions-39.yaml - pyarrow_version: "6" - - env_file: actions-39.yaml - pyarrow_version: "7" - - env_file: actions-310.yaml - pyarrow_version: "6" - - env_file: actions-310.yaml - pyarrow_version: "7" + # exclude: + # - env_file: actions-39.yaml + # pyarrow_version: "6" + # - env_file: actions-39.yaml + # pyarrow_version: "7" + # - env_file: actions-310.yaml + # pyarrow_version: "6" + # - env_file: actions-310.yaml + # pyarrow_version: "7" fail-fast: false name: ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }} env: diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 1d16bd8907c07..93212c7a4f317 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -52,7 +52,7 @@ jobs: - name: Set up Python Dev Version uses: actions/setup-python@v3 with: - python-version: '3.11-dev' + python-version: '3.10-dev' - name: Install dependencies shell: bash -el {0} From 60718feecf25dff974e177606d563ec09bc59475 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 16:03:09 +0200 Subject: [PATCH 03/19] Fix --- .github/workflows/python-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 93212c7a4f317..365d05c758fe5 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -52,7 +52,7 @@ jobs: - name: Set up Python Dev Version uses: actions/setup-python@v3 with: - python-version: '3.10-dev' + python-version: '3.10' #-dev' - name: Install dependencies shell: bash -el {0} From 2385fdcf01d911982624e87d44a5199bf0773555 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 16:04:31 +0200 Subject: [PATCH 04/19] Fix --- .github/workflows/posix.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 2cf226694a076..5e294616a6e1a 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -24,11 +24,11 @@ jobs: timeout-minutes: 120 strategy: matrix: - env_file: [] #actions-38.yaml, actions-39.yaml, actions-310.yaml] - pattern: [] #"not single_cpu", "single_cpu"] + env_file: [actions-38.yaml] #, actions-39.yaml, actions-310.yaml] + pattern: ["not single_cpu"] #, "single_cpu"] # Don't test pyarrow v2/3: Causes timeouts in read_csv engine # even if tests are skipped/xfailed - pyarrow_version: [] #"5", "6", "7"] + pyarrow_version: ["5"] #, "6", "7"] include: - name: "Downstream Compat" env_file: actions-38-downstream_compat.yaml From e1bb55b5f5725cd77baf9d68ec793a16b3ed2306 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 16:38:14 +0200 Subject: [PATCH 05/19] Update macos-windows.yml --- .github/workflows/macos-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml index 686089080bc68..cda78235dc546 100644 --- a/.github/workflows/macos-windows.yml +++ b/.github/workflows/macos-windows.yml @@ -53,4 +53,4 @@ jobs: uses: ./.github/actions/build_pandas - name: Test - run: ./.github/actions/run-tests + uses: ./.github/actions/run-tests From 241118a327a0769c624515adf4e114958df6e2d9 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 16:39:08 +0200 Subject: [PATCH 06/19] Update posix.yml --- .github/workflows/posix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 5e294616a6e1a..fc46ed82722eb 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -165,6 +165,6 @@ jobs: uses: ./.github/actions/build_pandas - name: Test - run: ./.github/actions/run-tests + uses: ./.github/actions/run-tests # TODO: Don't continue on error for PyPy continue-on-error: ${{ env.IS_PYPY == 'true' }} From c55ebf46aec67a84ce9e3f3e1af6347938ae1935 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 16:39:25 +0200 Subject: [PATCH 07/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 365d05c758fe5..c2fc60f8ffbaa 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -73,4 +73,4 @@ jobs: python -c "import pandas; pandas.show_versions();" - name: Test - run: ./.github/actions/run-tests + uses: ./.github/actions/run-tests From 256bb9226ae41e510a99303115c0c2f64c0324e1 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 17:53:16 +0200 Subject: [PATCH 08/19] Update action.yml --- .github/actions/run-tests/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml index db0dd883b5097..2a7601f196ec4 100644 --- a/.github/actions/run-tests/action.yml +++ b/.github/actions/run-tests/action.yml @@ -15,6 +15,7 @@ runs: - name: Report Coverage run: coverage report -m + shell: bash -el {0} if: failure() - name: Upload coverage to Codecov From 48793fae21d3cf328e801c4e310d15720fb13a03 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 17:53:33 +0200 Subject: [PATCH 09/19] Update macos-windows.yml --- .github/workflows/macos-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml index cda78235dc546..4c48d83b68947 100644 --- a/.github/workflows/macos-windows.yml +++ b/.github/workflows/macos-windows.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest] - env_file: [actions-38.yaml] #, actions-39.yaml, actions-310.yaml] + env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] fail-fast: false runs-on: ${{ matrix.os }} name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }} From 0eb3698299b27c945a2e719fb47af2366012a1d8 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 17:54:36 +0200 Subject: [PATCH 10/19] Update posix.yml --- .github/workflows/posix.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index fc46ed82722eb..539222d95c3dc 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -24,11 +24,11 @@ jobs: timeout-minutes: 120 strategy: matrix: - env_file: [actions-38.yaml] #, actions-39.yaml, actions-310.yaml] - pattern: ["not single_cpu"] #, "single_cpu"] + env_file: [actions-38.yaml, actions-39.yaml, actions-310.yaml] + pattern: ["not single_cpu", "single_cpu"] # Don't test pyarrow v2/3: Causes timeouts in read_csv engine # even if tests are skipped/xfailed - pyarrow_version: ["5"] #, "6", "7"] + pyarrow_version: ["5", "6", "7"] include: - name: "Downstream Compat" env_file: actions-38-downstream_compat.yaml @@ -62,15 +62,15 @@ jobs: pattern: "not slow and not network and not single_cpu" pandas_testing_mode: "deprecate" test_args: "-W error::DeprecationWarning:numpy" - # exclude: - # - env_file: actions-39.yaml - # pyarrow_version: "6" - # - env_file: actions-39.yaml - # pyarrow_version: "7" - # - env_file: actions-310.yaml - # pyarrow_version: "6" - # - env_file: actions-310.yaml - # pyarrow_version: "7" + exclude: + - env_file: actions-39.yaml + pyarrow_version: "6" + - env_file: actions-39.yaml + pyarrow_version: "7" + - env_file: actions-310.yaml + pyarrow_version: "6" + - env_file: actions-310.yaml + pyarrow_version: "7" fail-fast: false name: ${{ matrix.name || format('{0} pyarrow={1} {2}', matrix.env_file, matrix.pyarrow_version, matrix.pattern) }} env: From d40063b15dfb288d0db6db38568531d6aae95ac9 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Thu, 9 Jun 2022 20:43:41 +0200 Subject: [PATCH 11/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index c2fc60f8ffbaa..d86be4db6f00e 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -58,7 +58,8 @@ jobs: shell: bash -el {0} run: | python -m pip install --upgrade pip setuptools wheel - pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + #pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + pip install numpy pip install git+https://github.com/nedbat/coveragepy.git pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pip list From 5185dcafc914599c8b2f7ff82fe97a8c04a8a017 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Fri, 10 Jun 2022 12:46:39 +0200 Subject: [PATCH 12/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index d86be4db6f00e..58ee408559560 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -61,7 +61,7 @@ jobs: #pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install numpy pip install git+https://github.com/nedbat/coveragepy.git - pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov + pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio pip list - name: Build Pandas From b162ec9cb8b1ceae971ef8a24ab8c80dbf882956 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Fri, 10 Jun 2022 14:49:41 +0200 Subject: [PATCH 13/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 58ee408559560..6bc61f8abc9da 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -29,7 +29,7 @@ env: jobs: build: - #if: false # Comment this line out to "unfreeze" + if: false # Comment this line out to "unfreeze" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -52,14 +52,13 @@ jobs: - name: Set up Python Dev Version uses: actions/setup-python@v3 with: - python-version: '3.10' #-dev' + python-version: '3.11-dev' - name: Install dependencies shell: bash -el {0} run: | python -m pip install --upgrade pip setuptools wheel - #pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy - pip install numpy + pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install git+https://github.com/nedbat/coveragepy.git pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio pip list From b9e6833d6f0581518e7a9129a685e4b6786917d1 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Sat, 11 Jun 2022 08:19:45 +0200 Subject: [PATCH 14/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 6bc61f8abc9da..8149980864b45 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -29,7 +29,7 @@ env: jobs: build: - if: false # Comment this line out to "unfreeze" +# if: false # Comment this line out to "unfreeze" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -58,9 +58,10 @@ jobs: shell: bash -el {0} run: | python -m pip install --upgrade pip setuptools wheel - pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + #pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + pip install numpy pip install git+https://github.com/nedbat/coveragepy.git - pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio + pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17 pip list - name: Build Pandas From 3ddaa76f269547f60fa364131424dea521d9d2cd Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Sat, 11 Jun 2022 08:35:28 +0200 Subject: [PATCH 15/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 8149980864b45..eff294eb7058a 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -57,7 +57,7 @@ jobs: - name: Install dependencies shell: bash -el {0} run: | - python -m pip install --upgrade pip setuptools wheel + pip install --upgrade pip setuptools wheel #pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install numpy pip install git+https://github.com/nedbat/coveragepy.git @@ -67,7 +67,7 @@ jobs: - name: Build Pandas run: | python setup.py build_ext -q -j2 - python -m pip install -e . --no-build-isolation --no-use-pep517 + pip install -e . --no-build-isolation --no-use-pep517 - name: Build Version run: | From feb0efc4d0a69f93209030f9ae6e8ea5eed4a8a9 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Mon, 13 Jun 2022 09:38:26 +0200 Subject: [PATCH 16/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index eff294eb7058a..1b06d5946ccf0 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -29,7 +29,7 @@ env: jobs: build: -# if: false # Comment this line out to "unfreeze" + if: false # Comment this line out to "unfreeze" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -58,8 +58,7 @@ jobs: shell: bash -el {0} run: | pip install --upgrade pip setuptools wheel - #pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy - pip install numpy + pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy pip install git+https://github.com/nedbat/coveragepy.git pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17 pip list From a79c3302871bec1a03ba7257442473a9eb60cdb1 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Mon, 13 Jun 2022 21:24:41 +0200 Subject: [PATCH 17/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 1b06d5946ccf0..9e84d7957c01e 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -29,7 +29,7 @@ env: jobs: build: - if: false # Comment this line out to "unfreeze" +# if: false # Comment this line out to "unfreeze" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -57,20 +57,22 @@ jobs: - name: Install dependencies shell: bash -el {0} run: | - pip install --upgrade pip setuptools wheel - pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy - pip install git+https://github.com/nedbat/coveragepy.git - pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17 - pip list + python3 -VV + python3 -m pip install --upgrade pip setuptools wheel + #python3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + python3 -m pip install numpy + python3 -m pip install git+https://github.com/nedbat/coveragepy.git + python3 -m pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17 + python3 -m pip list - name: Build Pandas run: | - python setup.py build_ext -q -j2 - pip install -e . --no-build-isolation --no-use-pep517 + python3 setup.py build_ext -q -j2 + python3 -m pip install -e . --no-build-isolation --no-use-pep517 - name: Build Version run: | - python -c "import pandas; pandas.show_versions();" + python3 -c "import pandas; pandas.show_versions();" - name: Test uses: ./.github/actions/run-tests From abce58dbbc349bef485fbf013c015765f477681e Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Mon, 13 Jun 2022 21:47:05 +0200 Subject: [PATCH 18/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 9e84d7957c01e..b7b3b494d6cd1 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -29,7 +29,7 @@ env: jobs: build: -# if: false # Comment this line out to "unfreeze" + if: false # Comment this line out to "unfreeze" runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -57,9 +57,7 @@ jobs: - name: Install dependencies shell: bash -el {0} run: | - python3 -VV - python3 -m pip install --upgrade pip setuptools wheel - #python3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy + python3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy python3 -m pip install numpy python3 -m pip install git+https://github.com/nedbat/coveragepy.git python3 -m pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17 From 5e197df1f43649dbb42b97a6b48fc9184100cd23 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Tue, 14 Jun 2022 11:23:47 +0200 Subject: [PATCH 19/19] Update python-dev.yml --- .github/workflows/python-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index b7b3b494d6cd1..09639acafbba1 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -57,8 +57,8 @@ jobs: - name: Install dependencies shell: bash -el {0} run: | + python3 -m pip install --upgrade pip setuptools wheel python3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy - python3 -m pip install numpy python3 -m pip install git+https://github.com/nedbat/coveragepy.git python3 -m pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17 python3 -m pip list