From 84d94f7d3bd773846f84195fe6642da2a9b08cc9 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 24 Mar 2025 22:28:20 -0700 Subject: [PATCH 1/6] update license metadata per PEP639 resolves #105 --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b5101594..1f535393 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", From 58eebded153d15e3e38e08763c63cf5351d0ffb7 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 25 Mar 2025 08:08:27 -0700 Subject: [PATCH 2/6] drop support for python v3.7 and v3.8 --- .github/workflows/release.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d007561e..ddad628d 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] tag: [manylinux, musllinux] steps: - name: Checkout Current Repo diff --git a/pyproject.toml b/pyproject.toml index 1f535393..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" ] @@ -45,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"] From 39811e0fc4d1f93294d5137ef0ebe697389eb9d4 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 1 Aug 2025 00:28:39 -0700 Subject: [PATCH 3/6] switch back to latest quemu docker image They finally updated the latest tag on docker hub. --- .github/workflows/release.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ddad628d..ca54935a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,14 +36,6 @@ 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 From b6c84b38db14add5f5289744a7caf1cb80e3fdc2 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 1 Aug 2025 00:32:02 -0700 Subject: [PATCH 4/6] bump cibuildwheel and include python v3.14 builds --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca54935a..6b77e992 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: [cp39, cp310, cp311, cp312, cp313] + python: [cp39, cp310, cp311, cp312, cp313, cp314] tag: [manylinux, musllinux] steps: - name: Checkout Current Repo @@ -37,8 +37,8 @@ jobs: if: matrix.platform != 'native' uses: docker/setup-qemu-action@v3 - - 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 From 93c937bd656143b0496e1d0fe67fe6147a696880 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 1 Aug 2025 00:34:35 -0700 Subject: [PATCH 5/6] rename step that uploads to PyPI --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b77e992..e5d8bbfc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,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 From 1bc17336471fc9ac0bac91ce065304e5d5969d74 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 1 Aug 2025 00:34:54 -0700 Subject: [PATCH 6/6] ignore known misspellings --- .cspell.config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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