From 596b4cc8ad2a80f134da4e3bee030a2b4911a3ff Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Sun, 12 Jul 2026 07:48:20 -0400 Subject: [PATCH 1/4] Pin action versions to commit hashes setup-uv no longer supports non-specific versions, so might as well pin them all --- .github/workflows/run-update-sensor.yml | 18 +++++++++--------- .github/workflows/test-data-scripts.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/run-update-sensor.yml b/.github/workflows/run-update-sensor.yml index 97554d29..81631f3c 100644 --- a/.github/workflows/run-update-sensor.yml +++ b/.github/workflows/run-update-sensor.yml @@ -20,14 +20,14 @@ jobs: OVERPASS_API_NAME: ${{ vars.OVERPASS_API_NAME }} steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install uv - uses: astral-sh/setup-uv@v8 + uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: version: "$UV_VERSION" enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version-file: ".python-version" - name: Get Day of Week @@ -73,14 +73,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install uv - uses: astral-sh/setup-uv@v8 + uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: version: "$UV_VERSION" enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version-file: ".python-version" - name: Install the project @@ -119,14 +119,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install uv - uses: astral-sh/setup-uv@v8 + uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: version: "$UV_VERSION" enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version-file: ".python-version" - name: Get Day of Week diff --git a/.github/workflows/test-data-scripts.yml b/.github/workflows/test-data-scripts.yml index 91f225b5..16693c4f 100644 --- a/.github/workflows/test-data-scripts.yml +++ b/.github/workflows/test-data-scripts.yml @@ -13,14 +13,14 @@ jobs: name: Run unit tests with pytest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install uv - uses: astral-sh/setup-uv@v8 + uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: version: "$UV_VERSION" enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version-file: ".python-version" - name: Install the project From 2ef1d1472bd405cb0b908ead9eac2db3cd547400 Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Sun, 12 Jul 2026 07:50:41 -0400 Subject: [PATCH 2/4] dummy change to run test action --- src/bikespace_data/bicycle_parking/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bikespace_data/bicycle_parking/wrappers.py b/src/bikespace_data/bicycle_parking/wrappers.py index 5db09974..8be5e154 100644 --- a/src/bikespace_data/bicycle_parking/wrappers.py +++ b/src/bikespace_data/bicycle_parking/wrappers.py @@ -186,7 +186,7 @@ def __init__(self, dataset_name: str, overpass_query: str): if OVERPASS_API_URL == overpass_default else "un-named custom overpass server", ) - print(f"Requesting OpenStreetMap data from {OVERPASS_API_NAME}") + print(f"Requesting OpenStreetMap data from {OVERPASS_API_NAME} (dummy change)") api = overpass.API( endpoint=OVERPASS_API_URL, From 45485b0104f4080fd1d918914bc7fbb2d810163c Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Sun, 12 Jul 2026 07:57:21 -0400 Subject: [PATCH 3/4] Fix variable reading Must use context syntax for variables not interpreted by `run` --- .github/workflows/run-update-sensor.yml | 6 +++--- .github/workflows/test-data-scripts.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-update-sensor.yml b/.github/workflows/run-update-sensor.yml index 81631f3c..7e20a059 100644 --- a/.github/workflows/run-update-sensor.yml +++ b/.github/workflows/run-update-sensor.yml @@ -24,7 +24,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: - version: "$UV_VERSION" + version: ${{ env.UV_VERSION }} enable-cache: true - name: "Set up Python" uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 @@ -77,7 +77,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: - version: "$UV_VERSION" + version: ${{ env.UV_VERSION }} enable-cache: true - name: "Set up Python" uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 @@ -123,7 +123,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: - version: "$UV_VERSION" + version: ${{ env.UV_VERSION }} enable-cache: true - name: "Set up Python" uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 diff --git a/.github/workflows/test-data-scripts.yml b/.github/workflows/test-data-scripts.yml index 16693c4f..10600313 100644 --- a/.github/workflows/test-data-scripts.yml +++ b/.github/workflows/test-data-scripts.yml @@ -17,7 +17,7 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 with: - version: "$UV_VERSION" + version: ${{ env.UV_VERSION }} enable-cache: true - name: "Set up Python" uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 From adbf644183f726762e6cd593e7932f5ded3c5a89 Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Sun, 12 Jul 2026 07:58:41 -0400 Subject: [PATCH 4/4] Revert "dummy change to run test action" This reverts commit 2ef1d1472bd405cb0b908ead9eac2db3cd547400. --- src/bikespace_data/bicycle_parking/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bikespace_data/bicycle_parking/wrappers.py b/src/bikespace_data/bicycle_parking/wrappers.py index 8be5e154..5db09974 100644 --- a/src/bikespace_data/bicycle_parking/wrappers.py +++ b/src/bikespace_data/bicycle_parking/wrappers.py @@ -186,7 +186,7 @@ def __init__(self, dataset_name: str, overpass_query: str): if OVERPASS_API_URL == overpass_default else "un-named custom overpass server", ) - print(f"Requesting OpenStreetMap data from {OVERPASS_API_NAME} (dummy change)") + print(f"Requesting OpenStreetMap data from {OVERPASS_API_NAME}") api = overpass.API( endpoint=OVERPASS_API_URL,