Merge branch 'main' into fullscreen_weather_module
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/test-on-rpi.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/test-on-rpi.yml
									
									
									
									
										vendored
									
									
								
							| @@ -25,9 +25,11 @@ jobs: | |||||||
|           SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }} |           SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }} | ||||||
|           TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }} |           TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }} | ||||||
|           TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} |           TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} | ||||||
|  |           TINDIE_API_KEY: ${{ secrets.TINDIE_API_KEY }} | ||||||
|  |           TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }} | ||||||
|         with: |         with: | ||||||
|           # Set the base_image to the desired Raspberry Pi OS version |           # 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 |           image_additional_mb: 2560 # enlarge free space to 2.5 GB | ||||||
|           optimize_image: true |           optimize_image: true | ||||||
|           user: inky |           user: inky | ||||||
|   | |||||||
| @@ -75,7 +75,8 @@ class Tindie(inkycal_module): | |||||||
|         header = {"accept": "text/json"} |         header = {"accept": "text/json"} | ||||||
|         response = requests.get(url, headers=header, params={"shipped": "false", "limit": "50"}) |         response = requests.get(url, headers=header, params={"shipped": "false", "limit": "50"}) | ||||||
|         if response.status_code != 200: |         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") |             raise AssertionError("Failed to get orders") | ||||||
|         else: |         else: | ||||||
|             logger.info("Orders received") |             logger.info("Orders received") | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ numpy==1.26.2 | |||||||
| packaging==23.2 | packaging==23.2 | ||||||
| pandas==2.1.4 | pandas==2.1.4 | ||||||
| peewee==3.17.0 | peewee==3.17.0 | ||||||
| Pillow==10.1.0 | Pillow==10.2.0 | ||||||
| pyparsing==3.1.1 | pyparsing==3.1.1 | ||||||
| python-dateutil==2.8.2 | python-dateutil==2.8.2 | ||||||
| python-dotenv==1.0.0 | python-dotenv==1.0.0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user