From ed368186bb0a02efcd27c02df6d13f809451b676 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:08:37 +0200 Subject: [PATCH 01/12] chore: add win32_arm64 driver --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index 6f9c7332d..ed46af1aa 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,12 @@ "platform": "win32", "zip_name": "win32_x64", }, + { + "wheel": "win_arm64.whl", + "machine": "arm64", + "platform": "win32", + "zip_name": "win32_arm64", + }, ] if len(sys.argv) == 2 and sys.argv[1] == "--list-wheels": From 53351be8eea9b1eff9c419ced25f505d012d6388 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:18:20 +0200 Subject: [PATCH 02/12] test --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a6d8fcd5..0157595ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,9 @@ jobs: - os: ubuntu-latest python-version: '3.13' browser: chromium + - os: windows-11-arm + python-version: '3.13' + browser: chromium runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From f800ee58888bd296f6fb115c1408ae01621c2f36 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:23:26 +0200 Subject: [PATCH 03/12] build --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0157595ea..fe428fa58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies & browsers run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip build pip install -r local-requirements.txt pip install -r requirements.txt pip install -e . From b464af8ec302c070e17fdd35d77ea87dcb8f5350 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:28:41 +0200 Subject: [PATCH 04/12] test --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe428fa58..5167a8c5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,18 +96,12 @@ jobs: pip install -e . python -m build --wheel python -m playwright install --with-deps ${{ matrix.browser }} - - name: Common Tests - run: pytest tests/common --browser=${{ matrix.browser }} --timeout 90 - - name: Test Reference count - run: pytest tests/test_reference_count_async.py --browser=${{ matrix.browser }} - - name: Test Wheel Installation - run: pytest tests/test_installation.py --browser=${{ matrix.browser }} - name: Test Sync API if: matrix.os != 'ubuntu-latest' - run: pytest tests/sync --browser=${{ matrix.browser }} --timeout 90 + run: python -m pytest tests/sync --browser=${{ matrix.browser }} --timeout 90 - name: Test Sync API if: matrix.os == 'ubuntu-latest' - run: xvfb-run pytest tests/sync --browser=${{ matrix.browser }} --timeout 90 + run: xvfb-run python -m pytest tests/sync --browser=${{ matrix.browser }} --timeout 90 - name: Test Async API if: matrix.os != 'ubuntu-latest' run: pytest tests/async --browser=${{ matrix.browser }} --timeout 90 From ee8b7ba98a24d573d434255e022d5e5e98354b52 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:38:28 +0200 Subject: [PATCH 05/12] test --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5167a8c5b..8650685d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,6 +84,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + if: matrix.os == 'windows-11-arm' - name: Set up Python uses: actions/setup-python@v5 with: From 082b5b137e024b9656582deeffa1e43481c24654 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:38:38 +0200 Subject: [PATCH 06/12] test --- .github/workflows/ci.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8650685d0..0bd7b75e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,37 +47,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9', '3.10'] - browser: [chromium, firefox, webkit] include: - - os: windows-latest - python-version: '3.11' - browser: chromium - - os: macos-latest - python-version: '3.11' - browser: chromium - - os: ubuntu-latest - python-version: '3.11' - browser: chromium - - os: windows-latest - python-version: '3.12' - browser: chromium - - os: macos-latest - python-version: '3.12' - browser: chromium - - os: ubuntu-latest - python-version: '3.12' - browser: chromium - - os: windows-latest - python-version: '3.13' - browser: chromium - - os: macos-latest - python-version: '3.13' - browser: chromium - - os: ubuntu-latest - python-version: '3.13' - browser: chromium - os: windows-11-arm python-version: '3.13' browser: chromium From d547d1130a3245d6fc444f93ff24b397383a6404 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:40:47 +0200 Subject: [PATCH 07/12] test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bd7b75e7..a985856b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 + - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh if: matrix.os == 'windows-11-arm' - name: Set up Python uses: actions/setup-python@v5 From 9f28a4355c4509ec107825e83ea420f2e67ffec9 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:42:49 +0200 Subject: [PATCH 08/12] a --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a985856b9..d3a35c607 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -y | sh if: matrix.os == 'windows-11-arm' - name: Set up Python uses: actions/setup-python@v5 From d4fdb69b5d40bc439474f2c1fc4eabc1033d8df0 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:43:44 +0200 Subject: [PATCH 09/12] test --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3a35c607..690400fb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,8 +54,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -y | sh - if: matrix.os == 'windows-11-arm' + - run: | + curl -L -o foo.sh https://sh.rustup.rs + chmod +x foo.sh + ./foo.sh -y + if: matrix.os == 'windows-11-arm' - name: Set up Python uses: actions/setup-python@v5 with: From 12a9b9fff0f959df62888b59b2b066329048a0a2 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:44:53 +0200 Subject: [PATCH 10/12] test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 690400fb4..3a80809f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: curl -L -o foo.sh https://sh.rustup.rs chmod +x foo.sh ./foo.sh -y - if: matrix.os == 'windows-11-arm' + if: matrix.os == 'windows-11-arm' - name: Set up Python uses: actions/setup-python@v5 with: From f73a52231e09064a2ca6e7739b8a489d464e7143 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 15:55:27 +0200 Subject: [PATCH 11/12] test --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a80809f0..937afb066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,11 +54,6 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - run: | - curl -L -o foo.sh https://sh.rustup.rs - chmod +x foo.sh - ./foo.sh -y - if: matrix.os == 'windows-11-arm' - name: Set up Python uses: actions/setup-python@v5 with: From 66eac31002844d26b11d003ca23047cd39553099 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Apr 2025 16:17:40 +0200 Subject: [PATCH 12/12] test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 937afb066..e117651fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install dependencies & browsers run: | python -m pip install --upgrade pip build