Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .cspell.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ version: "0.2"
words:
- addch
- addstr
- ARCHS
- armv
- attroff
- attron
- autoattribute
- autoclass
- automethod
- calcsize
- cbreak
- cibuildwheel
- CIBW
- classmethod
- crclength
- currentmodule
Expand All @@ -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
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand All @@ -24,15 +24,14 @@ keywords = [
"RF24Network",
"RF24Mesh",
]
license = {text = "GPLv2"}
license = "GPL-2.0-only"
authors = [
{ name = "Brendan Doherty", email = "2bndy5@gmail.com" },
]
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",
Expand All @@ -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"]

Expand Down