diff --git a/.github/workflows/test-on-rpi.yml b/.github/workflows/test-on-rpi.yml index d97c918..38f6c18 100644 --- a/.github/workflows/test-on-rpi.yml +++ b/.github/workflows/test-on-rpi.yml @@ -25,9 +25,11 @@ 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 + 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 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") diff --git a/requirements.txt b/requirements.txt index c75546b..4d72ace 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,7 @@ numpy==1.26.2 packaging==23.2 pandas==2.1.4 peewee==3.17.0 -Pillow==10.1.0 +Pillow==10.2.0 pyparsing==3.1.1 python-dateutil==2.8.2 python-dotenv==1.0.0