From 954713ee9d91db227d6047d5713ae751fba8c83b Mon Sep 17 00:00:00 2001 From: Ace Date: Sat, 20 Jan 2024 21:14:36 +0100 Subject: [PATCH 1/4] add missing variables --- .github/workflows/test-on-rpi.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-on-rpi.yml b/.github/workflows/test-on-rpi.yml index d97c918..2f659d6 100644 --- a/.github/workflows/test-on-rpi.yml +++ b/.github/workflows/test-on-rpi.yml @@ -25,6 +25,8 @@ jobs: SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }} TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }} TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} + TINDIE_API_KEY: ${{ secrets.TINDIE_API_KEY }} + TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }} with: # Set the base_image to the desired Raspberry Pi OS version base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-10-10/2023-10-10-raspios-bookworm-armhf-lite.img.xz From e73cded31d77180018053a6f0983748cbe6515d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 22:18:39 +0000 Subject: [PATCH 2/4] Bump pillow from 10.1.0 to 10.2.0 Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.1.0 to 10.2.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.1.0...10.2.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 95bfc78..ac197de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ lxml==4.9.3 matplotlib==3.8.0 numpy==1.24.4 packaging==23.2 -Pillow==10.1.0 +Pillow==10.2.0 pyparsing==3.1.1 PySocks==1.7.1 python-dateutil==2.8.2 From 0c8e6a65d621107f4359b276f83e1cc34700cd14 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 23 Jan 2024 13:01:17 +0100 Subject: [PATCH 3/4] log server response on error --- inkycal/modules/inkycal_tindie.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inkycal/modules/inkycal_tindie.py b/inkycal/modules/inkycal_tindie.py index 1f7a742..24b51cb 100755 --- a/inkycal/modules/inkycal_tindie.py +++ b/inkycal/modules/inkycal_tindie.py @@ -75,7 +75,8 @@ class Tindie(inkycal_module): header = {"accept": "text/json"} response = requests.get(url, headers=header, params={"shipped": "false", "limit": "50"}) if response.status_code != 200: - logger.error(f"Failed to get orders, status code: {response.status_code}, reason: {response.reason}") + logger.error(f"Failed to get orders, status code: {response.status_code}, reason: {response.reason}.") + logger.error(f"response: {response.text}") raise AssertionError("Failed to get orders") else: logger.info("Orders received") From cb09fb587d6362b2ae86e5b9eca912190f793cdd Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 23 Jan 2024 16:36:44 +0100 Subject: [PATCH 4/4] update base OS to bookworm dec-2023 --- .github/workflows/test-on-rpi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-on-rpi.yml b/.github/workflows/test-on-rpi.yml index 2f659d6..38f6c18 100644 --- a/.github/workflows/test-on-rpi.yml +++ b/.github/workflows/test-on-rpi.yml @@ -29,7 +29,7 @@ jobs: TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }} with: # Set the base_image to the desired Raspberry Pi OS version - base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-10-10/2023-10-10-raspios-bookworm-armhf-lite.img.xz + base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-12-11/2023-12-11-raspios-bookworm-armhf-lite.img.xz image_additional_mb: 2560 # enlarge free space to 2.5 GB optimize_image: true user: inky