diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23974ac9..3af268f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,8 @@ jobs: strategy: matrix: os: [ ubuntu-22.04 ] - python: ["3.10"] + python: ["3.14"] manylinux_image: [ manylinux2014, manylinux_2_28 ] - # Disable for platforms where pure Python wheels would be generated - cibw_skip: [ "pp38-* pp39-* pp310-* pp311-* pp312-* pp313-*" ] steps: - uses: actions/checkout@v4 @@ -27,6 +25,10 @@ jobs: with: python-version: ${{ matrix.python }} + - name: Install packaging tools + run: | + python -m pip install --upgrade pip setuptools importlib_metadata wheel + - name: Install cibuildwheel run: | python -m pip install --upgrade pip cibuildwheel @@ -61,14 +63,13 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: "3.10" + python-version: "3.14" - name: Install cibuildwheel run: | python -m pip install --upgrade pip cibuildwheel - name: Build binary wheels env: - CIBW_SKIP: "pp38-* pp39-* pp310-* pp311-*" CIBW_BUILD_VERBOSITY: 1 CIBW_ARCHS_MACOS: "x86_64 arm64" run: python -m cibuildwheel @@ -83,7 +84,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - python: ["3.10"] + python: ["3.14"] steps: - uses: actions/checkout@v4 @@ -93,12 +94,12 @@ jobs: python-version: ${{ matrix.python }} - name: Install packaging tools run: | - python -m pip install --upgrade pip setuptools importlib_metadata wheel + python -m pip install --upgrade pip build - name: Build Python pure Python wheel env: SCOUT_DISABLE_EXTENSIONS: "1" - run: python setup.py bdist_wheel + run: python -m build --wheel - uses: actions/upload-artifact@v4 with: @@ -114,10 +115,14 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: "3.10" + python-version: "3.14" + + - name: Install packaging tools + run: | + python -m pip install --upgrade pip build - name: Build sdist - run: python setup.py sdist + run: python -m build --sdist - uses: actions/upload-artifact@v4 with: