From a2f4a9f046e898b93519de6e4ee239b8fed4f49d Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 07:24:29 +0200 Subject: [PATCH 01/17] Update wheels.yml --- .github/workflows/wheels.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 69e6da8309b24..57f9bc987993e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # 3:27 UTC every day - - cron: "27 3 * * *" + # 5:30 UTC every day + - cron: "30 5 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] @@ -123,13 +123,6 @@ jobs: with: python-version: '3.11' - # Work around for https://github.com/actions/runner-images/issues/2619? - # Empty disk and memory cache - - name: Purge on macOS - if: ${{ matrix.buildplat[1] == 'macosx_*' }} - run: | - sudo /usr/sbin/purge - # Python version used to build sdist doesn't matter # wheel will be built from sdist with the correct version - name: Build sdist (macOS) @@ -146,10 +139,10 @@ jobs: # Work around for https://github.com/actions/runner-images/issues/2619? # Empty disk and memory cache # Again for good luck :) - - name: Purge on macOS again + - name: Sleep on macOS (prevent missing files in the tarball) if: ${{ matrix.buildplat[1] == 'macosx_*' }} run: | - sudo /usr/sbin/purge + sleep 10 - name: Build wheels uses: pypa/cibuildwheel@v2.14.1 From 463d12338661aa7b9574f50a6c5265c95c90d39c Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 07:33:20 +0200 Subject: [PATCH 02/17] Update wheels.yml --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 57f9bc987993e..773d2d200ab4f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # 5:30 UTC every day - - cron: "30 5 * * *" + # 5:34 UTC every day + - cron: "34 5 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] From a5d769bca980a9bba0b2fa375f07fd747f4c4580 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 07:34:03 +0200 Subject: [PATCH 03/17] Update wheels.yml --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 773d2d200ab4f..9c2e0ee2bd7c9 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -35,7 +35,7 @@ jobs: build_sdist: name: Build sdist if: >- - (github.event_name == 'schedule' && github.repository_owner == 'pandas-dev') || + (github.event_name == 'schedule' && github.repository_owner == 'lithomas1') || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Build')) || From 4efd5bd2ffabfc809159fa262b89ca2fa6eb1f3b Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 07:34:45 +0200 Subject: [PATCH 04/17] Update wheels.yml --- .github/workflows/wheels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 9c2e0ee2bd7c9..afa617f51f55b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # 5:34 UTC every day - - cron: "34 5 * * *" + # 5:35 UTC every day + - cron: "35 5 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] @@ -35,7 +35,7 @@ jobs: build_sdist: name: Build sdist if: >- - (github.event_name == 'schedule' && github.repository_owner == 'lithomas1') || + (github.event_name == 'schedule') || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Build')) || @@ -76,7 +76,7 @@ jobs: needs: build_sdist name: Build wheel for ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }} if: >- - (github.event_name == 'schedule' && github.repository_owner == 'pandas-dev') || + (github.event_name == 'schedule') || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Build')) || From 6a35295d2211dd6a4e4576fb5463931481208c7f Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 07:39:27 +0200 Subject: [PATCH 05/17] Update wheels.yml --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index afa617f51f55b..7ae41b61598c8 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,7 +15,7 @@ name: Wheel builder on: schedule: # 5:35 UTC every day - - cron: "35 5 * * *" + - cron: "40 5 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] From f41545adb25161df0b153bcc95ec41c629686fca Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:31:32 +0200 Subject: [PATCH 06/17] Update wheels.yml --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 7ae41b61598c8..06b0fde958b99 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # 5:35 UTC every day - - cron: "40 5 * * *" + # :40 every hour + - cron: "40 * * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] From 5a6e87f9659393011459b23bbfa7e47b0dd046f9 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:49:19 +0200 Subject: [PATCH 07/17] Update wheels.yml --- .github/workflows/wheels.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 06b0fde958b99..36ceff20d78e2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # :40 every hour - - cron: "40 * * * *" + # Every 15 minutes + - cron: "*/15 * * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] @@ -137,8 +137,6 @@ jobs: run: echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV" # Work around for https://github.com/actions/runner-images/issues/2619? - # Empty disk and memory cache - # Again for good luck :) - name: Sleep on macOS (prevent missing files in the tarball) if: ${{ matrix.buildplat[1] == 'macosx_*' }} run: | From 333328e449424088bbec8803fa59a6e5ec0eadb5 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 11:17:03 +0200 Subject: [PATCH 08/17] Update wheels.yml --- .github/workflows/wheels.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 36ceff20d78e2..720a1b22d5534 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -137,10 +137,10 @@ jobs: run: echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV" # Work around for https://github.com/actions/runner-images/issues/2619? - - name: Sleep on macOS (prevent missing files in the tarball) - if: ${{ matrix.buildplat[1] == 'macosx_*' }} - run: | - sleep 10 +# - name: Sleep on macOS (prevent missing files in the tarball) +# if: ${{ matrix.buildplat[1] == 'macosx_*' }} +# run: | +# sleep 10 - name: Build wheels uses: pypa/cibuildwheel@v2.14.1 From 8a1970204f9495f4221dfdf0e34b419954080921 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:12:25 +0200 Subject: [PATCH 09/17] Update wheels.yml --- .github/workflows/wheels.yml | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 720a1b22d5534..b947d676c6f24 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -66,6 +66,10 @@ jobs: with: name: sdist path: ./dist/* + + - name: Sanity check sdist files + run: | + ls ./dist - name: Output sdist name id: save-path @@ -111,36 +115,28 @@ jobs: # We need to build wheels from the sdist since the sdist # removes unnecessary files from the release - name: Download sdist (not macOS) - if: ${{ matrix.buildplat[1] != 'macosx_*' }} + #if: ${{ matrix.buildplat[1] != 'macosx_*' }} uses: actions/download-artifact@v3 with: name: sdist path: ./dist - - name: Set up Python (macOS) - if: ${{ matrix.buildplat[1] == 'macosx_*' }} - uses: actions/setup-python@v4 - with: - python-version: '3.11' - + - name: Output sdist name (macOS) + id: save-path + shell: bash -el {0} + run: echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV" + # Python version used to build sdist doesn't matter # wheel will be built from sdist with the correct version - - name: Build sdist (macOS) + - name: Unzip sdist (macOS) if: ${{ matrix.buildplat[1] == 'macosx_*' }} run: | - python -m pip install build - python -m build --sdist - + tar -cxf ./dist/${{ env.sdist_name }} + - name: Output sdist name (macOS) id: save-path shell: bash -el {0} - run: echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV" - - # Work around for https://github.com/actions/runner-images/issues/2619? -# - name: Sleep on macOS (prevent missing files in the tarball) -# if: ${{ matrix.buildplat[1] == 'macosx_*' }} -# run: | -# sleep 10 + run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" - name: Build wheels uses: pypa/cibuildwheel@v2.14.1 From 95d838cc82326949d851ffa73e54cec26ed473a0 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:17:50 +0200 Subject: [PATCH 10/17] Update wheels.yml --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b947d676c6f24..1c65391cb1448 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -134,7 +134,7 @@ jobs: tar -cxf ./dist/${{ env.sdist_name }} - name: Output sdist name (macOS) - id: save-path + id: save-path2 shell: bash -el {0} run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" From 9aa0267e56d4c7e227319d1d06c28a0618f8f310 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:31:46 +0200 Subject: [PATCH 11/17] Update wheels.yml --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1c65391cb1448..a2efd76343e1d 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -131,7 +131,7 @@ jobs: - name: Unzip sdist (macOS) if: ${{ matrix.buildplat[1] == 'macosx_*' }} run: | - tar -cxf ./dist/${{ env.sdist_name }} + tar -xzf ./dist/${{ env.sdist_name }} - name: Output sdist name (macOS) id: save-path2 From 3a0c29736c2dbbbe3c999d10c0b0c6caca22755e Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 21:49:50 +0200 Subject: [PATCH 12/17] Update wheels.yml --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a2efd76343e1d..8a491ba665147 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -131,7 +131,7 @@ jobs: - name: Unzip sdist (macOS) if: ${{ matrix.buildplat[1] == 'macosx_*' }} run: | - tar -xzf ./dist/${{ env.sdist_name }} + tar -xzf ./dist/${{ env.sdist_name }} -C ./dist - name: Output sdist name (macOS) id: save-path2 From d1bb4787d87005c452e4ab4cbe8eddf4629c9c05 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:13:17 +0200 Subject: [PATCH 13/17] Update wheels.yml --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8a491ba665147..d758ec2a2f7d3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # Every 15 minutes - - cron: "*/15 * * * *" + # 8:27 UTC every day + - cron: "27 8 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] From efb161c8d800ffce9df83187bf7830a57660617b Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:29:26 +0200 Subject: [PATCH 14/17] Update wheels.yml --- .github/workflows/wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d758ec2a2f7d3..d926dde02196a 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # 8:27 UTC every day - - cron: "27 8 * * *" + # 8:35 UTC every day + - cron: "35 8 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] @@ -66,7 +66,7 @@ jobs: with: name: sdist path: ./dist/* - + - name: Sanity check sdist files run: | ls ./dist From de10f44b22a306cd92d031410908d3da272773a4 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:34:55 +0200 Subject: [PATCH 15/17] fixes --- .github/workflows/wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8a491ba665147..47fedb0c5a0e0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -66,7 +66,7 @@ jobs: with: name: sdist path: ./dist/* - + - name: Sanity check sdist files run: | ls ./dist @@ -125,14 +125,14 @@ jobs: id: save-path shell: bash -el {0} run: echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV" - + # Python version used to build sdist doesn't matter # wheel will be built from sdist with the correct version - name: Unzip sdist (macOS) if: ${{ matrix.buildplat[1] == 'macosx_*' }} run: | tar -xzf ./dist/${{ env.sdist_name }} -C ./dist - + - name: Output sdist name (macOS) id: save-path2 shell: bash -el {0} From 59caa6ce41a923af918438e4a58be34f93a03a11 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:35:11 +0200 Subject: [PATCH 16/17] Update wheels.yml --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d926dde02196a..c29322d0f43c2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,7 +15,7 @@ name: Wheel builder on: schedule: # 8:35 UTC every day - - cron: "35 8 * * *" + - cron: "40 8 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened] From bcdac3a45b93e273ba2f8fbd2fea6e48187b4b1d Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 10 Aug 2023 22:41:10 +0200 Subject: [PATCH 17/17] Update wheels.yml --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 66c9b9f454852..4330c25034e4f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -14,8 +14,8 @@ name: Wheel builder on: schedule: - # 8:35 UTC every day - - cron: "40 8 * * *" + # 8:50 UTC every day + - cron: "50 8 * * *" push: pull_request: types: [labeled, opened, synchronize, reopened]