From 5b5d90c859290ed22e055127dbeb0177b2a58ed5 Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Sat, 26 Oct 2024 20:37:50 +0200 Subject: [PATCH 1/3] ci: install dependencies --- .github/workflows/main.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c16218..e0c4d23 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,12 +12,12 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-minor-version: [8, 9, 10, 11, 12, 13-dev] + python-minor-version: [8, 9, 10, 11, 12, 13] name: Python 3.${{ matrix.python-minor-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup pip cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: pipcache with: path: ~/.cache/pip @@ -25,14 +25,22 @@ jobs: restore-keys: | ${{ runner.os }}-py3${{ matrix.python-minor-version }}-pip- - name: Install system dependencies - run: sudo apt-get install graphviz + run: sudo apt-get install graphviz swig - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.${{ matrix.python-minor-version }} check-latest: true - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: Install lg library + run: | + cd $RUNNER_TEMP + wget http://abyz.me.uk/lg/lg.zip + unzip lg.zip + cd lg + make + sudo make install - name: Install Python packages run: pip install --upgrade setuptools pip wheel tox coveralls - name: Run tests From 0ef5f8002a6078dc9d5849e779d4290617aeacb7 Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Sat, 26 Oct 2024 20:37:58 +0200 Subject: [PATCH 2/3] bump year --- LICENSE.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.rst b/LICENSE.rst index ec3a294..1e93367 100644 --- a/LICENSE.rst +++ b/LICENSE.rst @@ -1,7 +1,7 @@ The MIT License (MIT) --------------------- -Copyright (c) 2013-2023 Richard Hull & Contributors +Copyright (c) 2013-2024 Richard Hull & Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 0ff2c817c983da97fb8041b790be5c034de16bb6 Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Sat, 26 Oct 2024 20:38:16 +0200 Subject: [PATCH 3/3] use luma.core branch for testing --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 74907e9..3dceb4a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,13 +23,14 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 [options] zip_safe = False packages = find_namespace: python_requires = >=3.8, <4 install_requires = - luma.core>=2.4.1 + luma.core[gpio,spi] @ git+https://github.com/rm-hull/luma.core.git@optional-270 tests_require = pytest pytest-cov