From 81775263c89f7dd3ad4fddcf42f14460cc7f57ff Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Thu, 23 Nov 2023 07:44:39 -0500 Subject: [PATCH] Run `brew upgrade` before `brew install mercurial` So that brew uses the recipe for Mercurial 6.6, which depends on Python 3.12 (unlike the previous recipe, which depends on 3.11) and thus does not conflict with 2to3 from Python 3.12. --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c7dbce..284c727 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,7 +61,9 @@ jobs: - name: Install Mercurial if: startsWith(matrix.os, 'macos-') - run: brew install mercurial + run: | + brew upgrade + brew install mercurial - name: Run tests with coverage if: startsWith(matrix.toxenv, 'py')