From 221146cda8f1b42a265eed601f65059b256f6929 Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 28 Jan 2026 11:35:58 -0500 Subject: [PATCH 1/9] fix python version for cd --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e494637..056e809 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,6 +29,9 @@ jobs: with: fetch-depth: 0 persist-credentials: false + - uses: actions/setup-python@v4 + with: + python-version: "3.13" - uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0 From 1c8213e0edd7898dac48ca8ccf64d18ce174065d Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 28 Jan 2026 15:24:03 -0500 Subject: [PATCH 2/9] set variable for pyO3 --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 056e809..e4482bc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,6 +18,7 @@ env: # Many color libraries just need this to be set to any value, but at least # one distinguishes color depth, where "3" -> "256-bit color". FORCE_COLOR: 3 + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 jobs: dist: From 2fd6ccda54f1399ff728abc528a128b4861f6b5e Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 28 Jan 2026 15:45:08 -0500 Subject: [PATCH 3/9] fix pydantic verison issue --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e4482bc..e70e36b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -32,7 +32,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v4 with: - python-version: "3.13" + python-version: "3.12" - uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0 From 8130b8de15582388be500786432fe1ff9b42f309 Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 4 Feb 2026 09:03:33 -0500 Subject: [PATCH 4/9] try to set up toolchain --- .github/workflows/cd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e70e36b..bb3cc62 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -30,6 +30,10 @@ jobs: with: fetch-depth: 0 persist-credentials: false + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal - uses: actions/setup-python@v4 with: python-version: "3.12" From d7417e6ae6b853d5379d629c5a216963b2d8189f Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 4 Feb 2026 09:06:05 -0500 Subject: [PATCH 5/9] use actions v4 --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bb3cc62..a008a06 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false From af64f0edbb613a375b989654de5246c28c33eb8f Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 4 Feb 2026 09:15:56 -0500 Subject: [PATCH 6/9] remove py03 env variable --- .github/workflows/cd.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a008a06..68e1da7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,7 +18,6 @@ env: # Many color libraries just need this to be set to any value, but at least # one distinguishes color depth, where "3" -> "256-bit color". FORCE_COLOR: 3 - PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 jobs: dist: From fbada8b7b151e6ee3bbe35040f44175680c7d1ef Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 4 Feb 2026 09:19:14 -0500 Subject: [PATCH 7/9] swap python version --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 68e1da7..11d8d4a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -35,7 +35,7 @@ jobs: profile: minimal - uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.11" - uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0 From 9193d7df839ea51ae091f34f658ab363cb57adcd Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 4 Feb 2026 12:52:24 -0500 Subject: [PATCH 8/9] try version5 --- .github/workflows/cd.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 11d8d4a..636bf3d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,17 +25,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 persist-credentials: false - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal + # - uses: actions-rs/toolchain@v1 + # with: + # toolchain: stable + # profile: minimal - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0 From 87962a29c306c1f2ed0e557ae1909da031a2e54f Mon Sep 17 00:00:00 2001 From: jennmald Date: Wed, 4 Feb 2026 13:34:18 -0500 Subject: [PATCH 9/9] pin python got hynek --- .github/workflows/cd.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 636bf3d..c43daa0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,15 +29,13 @@ jobs: with: fetch-depth: 0 persist-credentials: false - # - uses: actions-rs/toolchain@v1 - # with: - # toolchain: stable - # profile: minimal - uses: actions/setup-python@v4 with: python-version: "3.12" - uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0 + with: + python-version: "3.12" publish: needs: [dist]