Skip to content
Merged
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
22 changes: 2 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-minor-version: [9, 10, 11, 12, 13, 14, 15-dev]
python-minor-version: [10, 11, 12, 13, 14, 15-dev]
name: Python 3.${{ matrix.python-minor-version }}
steps:
- uses: actions/checkout@v7
Expand All @@ -36,25 +36,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install swig python3-setuptools python3-dev
- name: Setup lg cache
uses: actions/cache@v6
id: lgcache
with:
path: ${{ runner.temp }}/lg
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Download and build lg library
if: steps.lgcache.outputs.cache-hit != 'true'
run: |
cd $RUNNER_TEMP
wget http://abyz.me.uk/lg/lg.zip
unzip lg.zip
cd lg
make
- name: Install lg library
run: |
cd $RUNNER_TEMP/lg
sudo make install
sudo apt-get install swig python3-setuptools python3-dev liblgpio-dev python3-rpi-lgpio
- name: Run tests
env:
TOX_ENV: py3${{ matrix.python-minor-version }}
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-24.04
os: ubuntu-lts-latest
tools:
python: "3.12"
python: "3"
apt_packages:
- graphviz

Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ChangeLog
+------------+---------------------------------------------------------------------+------------+
| Version | Description | Date |
+============+=====================================================================+============+
| **2.6.1** | * Drop support for Python 3.9 | TBA |
+------------+---------------------------------------------------------------------+------------+
| **2.6.0** | * Raise UnsupportedPlatform for any RPi.GPIO RuntimeError | 2026/08/03 |
| | * Optimize viewport to skip redundant refreshes | |
| | * Drop support for Python 3.8 | |
Expand Down
5 changes: 4 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017-2023 Richard Hull and contributors
# Copyright (c) 2017-2026 Richard Hull and contributors
# See LICENSE.rst for details.

# luma.core documentation build configuration file, created by
Expand Down Expand Up @@ -90,6 +90,9 @@
r'https://www.createjs.com/'
]

# exclude index linkcheck
linkcheck_exclude_documents = [r'^index$']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers =
Topic :: System :: Hardware
Topic :: System :: Hardware :: Hardware Drivers
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Expand All @@ -27,7 +26,7 @@ classifiers =
[options]
zip_safe = False
packages = find_namespace:
python_requires = >=3.9, <4
python_requires = >=3.10, <4
install_requires =
pillow>=9.2.0
smbus2
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See LICENSE.rst for details.

[tox]
envlist = py{39,310,311,312,313,314,315},qa,doc
envlist = py{310,311,312,313,314,315},qa,doc
skip_missing_interpreters = True

[testenv]
Expand Down