Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions py3-faiss-cpu.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: py3-faiss-cpu
version: "1.13.0"
version: "1.13.1"
epoch: 0
description: Community-maintained faiss wheel builder
annotations:
Expand Down Expand Up @@ -39,7 +39,7 @@ environment:
pipeline:
- uses: git-checkout
with:
expected-commit: 7fc015119bc098f665a27816287d0ecb8bb85f53
expected-commit: 54f5aeb4afa2c08c6d719f200930f5d98cb496d1
recurse-submodules: true
repository: https://github.com/faiss-wheels/faiss-wheels
tag: v${{package.version}}
Expand Down
19 changes: 14 additions & 5 deletions py3-faiss-cpu/dont-build-with-stable-abi.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
We see a FTBFS for Python 3.13 if we leave this `wheel.py-api` setting in place.
From f49bceaa07161102d6952a0fe4e3c15548c2c1c7 Mon Sep 17 00:00:00 2001
Date: Sun, 7 Dec 2025 23:38:19 +0300
Subject: [PATCH] dont build with stable abi

---
pyproject.toml | 5 -----
1 file changed, 5 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index a1db878..db3bf4c 100644
index ad663a5..d20a8a0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -67,11 +67,6 @@ sdist.exclude = [
@@ -66,11 +66,6 @@ sdist.exclude = [
"third-party/faiss/tutorial"
]

-[[tool.scikit-build.overrides]]
-if.platform-system = "^(darwin|linux)" # NOTE: Windows ABI3 results in broken DLLs.
-if.abi-flags = "^$" # NOTE: Free-threaded Python does not support stable ABI.
-wheel.py-api = "cp39"
-wheel.py-api = "cp310"
-
[tool.cibuildwheel]
archs = "native"
# NOTE: We do not support cp39 and cp310 on Windows ARM64
# NOTE: We do not support cp310 on Windows ARM64
--
2.50.1 (Apple Git-155)

Loading