diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..5ace4600a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 0e4149a2c..ba506ab08 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build SDist run: pipx run build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -25,16 +25,16 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, windows-2019, macos-11] + os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.3 + uses: pypa/cibuildwheel@v2.16.2 - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl diff --git a/pyproject.toml b/pyproject.toml index 5306e4b53..1c12c83e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,19 +36,19 @@ Repository = "https://github.com/cmusphinx/pocketsphinx.git" Issues = "https://github.com/cmusphinx/pocketsphinx/issues" [tool.cibuildwheel] -# Build the versions found in Ubuntu LTS, the stable PyPy, and 3.10 -# everywhere else +# Build a reduced selection of binaries as there are tons of them build = [ - "pp38*", - "cp36-manylinux_*", - "cp38-manylinux_*", + "pp310*", + "cp38-*", "cp310-*", - "cp311-*" + "cp311-*", + "cp312-*", +] +# Build only universal wheels for Mac +skip = [ + "cp*-macosx_x86_64", + "cp*-macosx_arm64", ] -# PyPy 3.8 will choke on CPython 3.8 build leftovers... -before-build = "rm -rf _skbuild" -# PyPy builds are broken on Windows, and skip 32-bit and musl -skip = ["*musl*", "*_i686", "*-win32", "pp*win*"] [tool.isort] profile = "black"