From 2dd4435f18a713086def64a7b30c2a281e094465 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 16:32:24 +0530 Subject: [PATCH 01/12] remove windows --- .github/workflows/CI.yml | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b8d3bc3..6f4fc4d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,7 +11,7 @@ on: - main - master tags: - - '*' + - "*" pull_request: workflow_dispatch: @@ -41,6 +41,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x + - name: Install fontconfig + run: sudo apt-get install -y libfontconfig1-dev - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -72,6 +74,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x + - name: Install fontconfig + run: sudo apt-get install -y libfontconfig1-dev - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -85,33 +89,6 @@ jobs: name: wheels-musllinux-${{ matrix.platform.target }} path: dist - windows: - runs-on: ${{ matrix.platform.runner }} - strategy: - matrix: - platform: - - runner: windows-latest - target: x64 - - runner: windows-latest - target: x86 - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.x - architecture: ${{ matrix.platform.target }} - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter - sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} - - name: Upload wheels - uses: actions/upload-artifact@v4 - with: - name: wheels-windows-${{ matrix.platform.target }} - path: dist - macos: runs-on: ${{ matrix.platform.runner }} strategy: @@ -170,7 +147,7 @@ jobs: - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-path: 'wheels-*/*' + subject-path: "wheels-*/*" - name: Publish to PyPI if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: PyO3/maturin-action@v1 From 707b594c81938852c2ad06a3b8862fc48ae5cabb Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 16:35:55 +0530 Subject: [PATCH 02/12] fix error --- .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 6f4fc4d..51135d8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -134,7 +134,7 @@ jobs: name: Release runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} - needs: [linux, musllinux, windows, macos, sdist] + needs: [linux, musllinux, macos, sdist] permissions: # Use to sign the release artifacts id-token: write From fa3ded8a07ba80f54cd99f9c80f6b804d6dd9ba9 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 16:50:54 +0530 Subject: [PATCH 03/12] add dependencies --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 51135d8..73355b7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -41,8 +41,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - name: Install fontconfig - run: sudo apt-get install -y libfontconfig1-dev + - name: Install dependencies + run: sudo apt-get install -y libfontconfig1-dev libfontconfig1 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -74,8 +74,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - name: Install fontconfig - run: sudo apt-get install -y libfontconfig1-dev + - name: Install dependencies + run: sudo apt-get install -y libfontconfig1-dev libfontconfig1 - name: Build wheels uses: PyO3/maturin-action@v1 with: From 80e3fa593bedaf8543756e8a032ddc69a56f5ee6 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:00:26 +0530 Subject: [PATCH 04/12] fix dependencies --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 73355b7..8959d19 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -37,12 +37,12 @@ jobs: - runner: ubuntu-22.04 target: ppc64le steps: + - name: Install dependencies + run: sudo apt-get install -y libfontconfig1-dev pkg-config - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: 3.x - - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev libfontconfig1 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -70,12 +70,12 @@ jobs: - runner: ubuntu-22.04 target: armv7 steps: + - name: Install dependencies + run: sudo apt-get install -y libfontconfig1-dev pkg-config - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: 3.x - - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev libfontconfig1 - name: Build wheels uses: PyO3/maturin-action@v1 with: From dd40bb07fc4ab65502a189993e285f188a25dfe6 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:05:10 +0530 Subject: [PATCH 05/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8959d19..6c08d7e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev pkg-config + run: sudo apt-get install -y libfontconfig1-dev fontconfig-dev fontconfig - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +71,7 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev pkg-config + run: sudo apt-get install -y libfontconfig1-dev fontconfig-dev fontconfig - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From 267666f482e38e17219dd935cb5bc602ffa76f5d Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:06:35 +0530 Subject: [PATCH 06/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6c08d7e..ccc1afb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev fontconfig-dev fontconfig + run: sudo apt-get install -y libfontconfig1-dev - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +71,7 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev fontconfig-dev fontconfig + run: sudo apt-get install -y libfontconfig1-dev - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From 2030b89e2d92baf496e0bfb8a7414c8167914f31 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:24:15 +0530 Subject: [PATCH 07/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ccc1afb..662e8ca 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev + run: sudo apt install -y fontconfig - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +71,7 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt-get install -y libfontconfig1-dev + run: sudo apt install -y fontconfig - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From 3c65c10555dd12e2d321b1da6513d2a06076c753 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:30:13 +0530 Subject: [PATCH 08/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 662e8ca..5f05a36 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt install -y fontconfig + run: sudo apt install -y fontconfig fontconfig-dev - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +71,7 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt install -y fontconfig + run: sudo apt install -y fontconfig fontconfig-dev - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From 4ccd3c7e28a5bb3dda4287090d65b6c80fb8d17c Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:34:02 +0530 Subject: [PATCH 09/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5f05a36..cb77f52 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt install -y fontconfig fontconfig-dev + run: sudo apt install -y fontconfig fontconfig-devel - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +71,7 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt install -y fontconfig fontconfig-dev + run: sudo apt install -y fontconfig fontconfig-devel - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From d23791d45ab63dd88fbcff4f9cba26b2838c570d Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:35:44 +0530 Subject: [PATCH 10/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cb77f52..a13d961 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt install -y fontconfig fontconfig-devel + run: sudo apt install -y fontconfig libfontconfig1-dev pkg-config - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +71,7 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt install -y fontconfig fontconfig-devel + run: sudo apt install -y fontconfig libfontconfig1-dev pkg-config - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From 45179440bbd4e5f942a0bafd4120dd74175599e9 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 17:41:54 +0530 Subject: [PATCH 11/12] fix dependencies --- .github/workflows/CI.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a13d961..5f94468 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,8 +1,3 @@ -# This file is autogenerated by maturin v1.8.2 -# To update, run -# -# maturin generate-ci github -# name: CI on: @@ -38,7 +33,9 @@ jobs: target: ppc64le steps: - name: Install dependencies - run: sudo apt install -y fontconfig libfontconfig1-dev pkg-config + run: | + sudo apt update + sudo apt install -y fontconfig libfontconfig1-dev pkg-config - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -71,7 +68,9 @@ jobs: target: armv7 steps: - name: Install dependencies - run: sudo apt install -y fontconfig libfontconfig1-dev pkg-config + run: | + sudo apt update + sudo apt install -y fontconfig libfontconfig1-dev pkg-config - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -136,11 +135,8 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} needs: [linux, musllinux, macos, sdist] permissions: - # Use to sign the release artifacts id-token: write - # Used to upload release artifacts contents: write - # Used to generate artifact attestation attestations: write steps: - uses: actions/download-artifact@v4 From e149542af1c2fa086db5899ea1478f1424706221 Mon Sep 17 00:00:00 2001 From: imhimansu28 Date: Thu, 20 Feb 2025 18:01:28 +0530 Subject: [PATCH 12/12] fix dependencies --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5f94468..4b70880 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,7 +35,7 @@ jobs: - name: Install dependencies run: | sudo apt update - sudo apt install -y fontconfig libfontconfig1-dev pkg-config + sudo apt install pkg-config libfreetype6-dev libfontconfig1-dev - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: @@ -70,7 +70,7 @@ jobs: - name: Install dependencies run: | sudo apt update - sudo apt install -y fontconfig libfontconfig1-dev pkg-config + sudo apt install pkg-config libfreetype6-dev libfontconfig1-dev - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: