diff --git a/.cspell.config.yml b/.cspell.config.yml index be6d6615..5b91a4e4 100644 --- a/.cspell.config.yml +++ b/.cspell.config.yml @@ -2,6 +2,8 @@ version: "0.2" words: - addch - addstr + - ARCHS + - armv - attroff - attron - autoattribute @@ -9,6 +11,8 @@ words: - automethod - calcsize - cbreak + - cibuildwheel + - CIBW - classmethod - crclength - currentmodule @@ -24,21 +28,31 @@ words: - getmaxyx - gpiochip - gpiod + - graphviz - hexlified - HLINE - KBPS + - libgl + - libglvnd + - libxkbcommon + - manylinux - MBPS - millis - MRAA - multicasted - multiceiver + - musllinux + - mypy - nocbreak - noecho + - peaceiris - pigpio - pybind + - pypa - pyproject - pyrf - repr + - sdist - seealso - setuptools - SPIDEV diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d007561e..e5d8bbfc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: platform: [native, aarch64, armv7l] - python: [cp37, cp38, cp39, cp310, cp311, cp312, cp313] + python: [cp39, cp310, cp311, cp312, cp313, cp314] tag: [manylinux, musllinux] steps: - name: Checkout Current Repo @@ -36,17 +36,9 @@ jobs: - name: Set up QEMU if: matrix.platform != 'native' uses: docker/setup-qemu-action@v3 - with: - # cached image is enabled by default. - # This option to disable caching doesn't exist before docker/setup-qemu-action@v3.3 - # cache-image: false - - # NOTE: the default tag `tonistiigi/binfmt:latest` is old and uses qemu v6.2.0 - # See also https://github.com/tonistiigi/binfmt/issues/215 - image: docker.io/tonistiigi/binfmt:qemu-v8.1.5 - - name: Build wheels with cibuildwheels - uses: pypa/cibuildwheel@v2.23.3 + - name: Build wheels with cibuildwheel + uses: pypa/cibuildwheel@v3.1.2 env: CIBW_ARCHS_LINUX: ${{ matrix.platform }} CIBW_SKIP: pp* *ppc64le *s390x @@ -72,7 +64,7 @@ jobs: name: pyRF24_pkg_dist_${{ matrix.platform }}_${{ matrix.python }}_${{ matrix.tag }} path: ${{ github.workspace }}/dist - upload-pypi: + publish: needs: [build] permissions: id-token: write diff --git a/pyproject.toml b/pyproject.toml index b5101594..d2371a91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ # building cmake from pypi releases requires openssl-dev installed, so # just require users install cmake from apt when getting python-dev (CPython headers) requires = [ - "setuptools>=61", + "setuptools>=77", "wheel", "setuptools_scm[toml]>=6.2" ] @@ -24,7 +24,7 @@ keywords = [ "RF24Network", "RF24Mesh", ] -license = {text = "GPLv2"} +license = "GPL-2.0-only" authors = [ { name = "Brendan Doherty", email = "2bndy5@gmail.com" }, ] @@ -32,7 +32,6 @@ classifiers = [ # https://pypi.org/pypi?%3Aaction=list_classifiers "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: POSIX :: Linux", "Programming Language :: C++", "Programming Language :: Python :: 3", @@ -46,7 +45,7 @@ classifiers = [ "Topic :: System :: Networking", "Typing :: Typed", ] -requires-python = ">=3.7" +requires-python = ">=3.9" dependencies = ['typing-extensions; python_version < "3.13"'] dynamic = ["version"]