From 0d33b67cc7270f986f4cc6d3bd793a0db15e8bf3 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Thu, 27 Aug 2026 15:46:30 -0700 Subject: [PATCH] Update pinned filecheck version to 1.0.3 Update requirements-dev.txt to use the modern Python filecheck package (1.0.3+). Set PYTHONUTF8 in CI to avoid encoding problems on Windows. Future versions of filecheck will hopefully support UTF-8 explicitly and make this unnecessary. --- .github/workflows/ci.yml | 5 +++++ requirements-dev.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3513897b1b..06357533949 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,11 @@ jobs: # currently macos-13, but unfortunately that doesn't exist in github # actions so we settle for macos-14. os: [ubuntu-22.04, ubuntu-latest, macos-14, windows-latest, windows-11-arm] + env: + # Enable UTF-8 mode for Python on Windows. This is required for filecheck + # 1.0.3 to handle Unicode filenames/checks and should be unnecessary in + # future versions of filecheck. + PYTHONUTF8: 1 steps: - uses: actions/setup-python@v5 with: diff --git a/requirements-dev.txt b/requirements-dev.txt index 500c11b34e0..801fc6669e6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,5 +4,5 @@ # Install with `pip3 install -r requirements-dev.txt` ruff==0.16.0 -filecheck==0.0.22 +filecheck==1.0.3 lit==0.11.0.post1