Przeglądaj źródła

Don't build python 3.14 wheels yet (#1730)

Jelmer Vernooij 2 tygodni temu
rodzic
commit
b57cfa1f6b
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 3 3
      .github/workflows/python-distributions.yml
  2. 2 2
      pyproject.toml

+ 3 - 3
.github/workflows/python-distributions.yml

@@ -28,9 +28,9 @@ jobs:
       - name: Find build identifiers using cibuildwheel --print-build-identifiers
         id: all-build-identifiers
         run: |
-          echo "linux=$(cibuildwheel --platform linux --print-build-identifiers | tr '\n' ' ')" >> $GITHUB_OUTPUT
-          echo "macos=$(cibuildwheel --platform macos --print-build-identifiers | tr '\n' ' ')" >> $GITHUB_OUTPUT
-          echo "windows=$(cibuildwheel --platform windows --print-build-identifiers | tr '\n' ' ')" >> $GITHUB_OUTPUT
+          echo "linux=$(cibuildwheel --platform linux --print-build-identifiers | grep -v cp314 | tr '\n' ' ')" >> $GITHUB_OUTPUT
+          echo "macos=$(cibuildwheel --platform macos --print-build-identifiers | grep -v cp314 | tr '\n' ' ')" >> $GITHUB_OUTPUT
+          echo "windows=$(cibuildwheel --platform windows --print-build-identifiers | grep -v cp314 | tr '\n' ' ')" >> $GITHUB_OUTPUT
       - name: Select build identifiers
         id: select-build-identifiers
         run: |

+ 2 - 2
pyproject.toml

@@ -16,7 +16,6 @@ classifiers = [
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
     "Programming Language :: Python :: 3.13",
-    "Programming Language :: Python :: 3.14",
     "Programming Language :: Python :: Implementation :: CPython",
     "Programming Language :: Python :: Implementation :: PyPy",
     "Operating System :: POSIX",
@@ -116,11 +115,12 @@ ignore = [
 convention = "google"
 
 [tool.cibuildwheel]
+skip = "cp314-*"
 environment = {PATH="$HOME/.cargo/bin:$PATH"}
 before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && rustup show"
 
 [tool.cibuildwheel.linux]
-skip = "*-musllinux_*"
+skip = "*-musllinux_* cp314-*"
 archs = ["auto", "aarch64"]
 before-build = "pip install -U setuptools-rust && yum -y install libatomic && curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && rustup show"