From f5fe00366ba4fd0bc4e45c1c90d183069ccdef78 Mon Sep 17 00:00:00 2001 From: tylanderson <31015976+tylanderson@users.noreply.github.com> Date: Wed, 18 Jun 2025 17:26:32 -0400 Subject: [PATCH 1/3] change drive to C:/ --- .github/workflows/continuous-integration.yml | 2 +- tests/test_layout.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d0f823aac..74f66d6d9 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -45,7 +45,7 @@ jobs: if: runner.os == 'Windows' shell: bash env: - TMPDIR: 'D:\\a\\_temp' + TMPDIR: 'C:\\a\\_temp' run: uv run pytest tests - name: Test if: runner.os != 'Windows' diff --git a/tests/test_layout.py b/tests/test_layout.py index b92d9dee7..84765a6c1 100644 --- a/tests/test_layout.py +++ b/tests/test_layout.py @@ -405,7 +405,7 @@ class TestAsIsLayoutStrategy: def test_catalog(self) -> None: strategy = AsIsLayoutStrategy() expected_local_href = ( - "/an/href" if not path_includes_drive_letter() else "D:/an/href" + "/an/href" if not path_includes_drive_letter() else "C:/an/href" ) cat = pystac.Catalog(id="test", description="test desc") with pytest.raises(ValueError): @@ -417,7 +417,7 @@ def test_catalog(self) -> None: def test_collection(self) -> None: strategy = AsIsLayoutStrategy() expected_local_href = ( - "/an/href" if not path_includes_drive_letter() else "D:/an/href" + "/an/href" if not path_includes_drive_letter() else "C:/an/href" ) collection = TestCases.case_8() collection.set_self_href(None) @@ -432,7 +432,7 @@ def test_collection(self) -> None: def test_item(self) -> None: strategy = AsIsLayoutStrategy() expected_local_href = ( - "/an/href" if not path_includes_drive_letter() else "D:/an/href" + "/an/href" if not path_includes_drive_letter() else "C:/an/href" ) collection = TestCases.case_8() item = next(collection.get_items(recursive=True)) From 47ab5d9f738968a498a6a27235aec9a962c27484 Mon Sep 17 00:00:00 2001 From: tylanderson <31015976+tylanderson@users.noreply.github.com> Date: Wed, 18 Jun 2025 17:37:12 -0400 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ada31eb9..dd84794f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ media type value for these types and new media types COPC and VND_PMTILES ([#1554](https://github.com/stac-utils/pystac/pull/1554)) +### Changed + +- Update drive used by windows runners during tests + ### Fixed - More permissive collection extent deserialization ([#1559](https://github.com/stac-utils/pystac/pull/1559)) From 36a3da539f289b0ffe140c34d938d7949bc830be Mon Sep 17 00:00:00 2001 From: Tyler <31015976+tylanderson@users.noreply.github.com> Date: Tue, 24 Jun 2025 17:08:14 -0400 Subject: [PATCH 3/3] move to windows-2025 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 74f66d6d9..8d5d41982 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - "3.13" os: - ubuntu-latest - - windows-latest + - windows-2025 - macos-latest steps: - uses: actions/checkout@v4