From e1fe80df4af78bc3af5eb57539b5b3c86714ccc1 Mon Sep 17 00:00:00 2001 From: Matthew Hughes Date: Thu, 5 Dec 2024 16:56:27 +0000 Subject: [PATCH] Update `pip` for GitHub runner This is to address an error seen on some Python 3.12 runners: <-- SNIP --> File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2164, in register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? ^^^^^^^^^^^^^^^^^^^ This looks to be the issue[1] fixed in Pip 23.2 so use that verison Link: https://github.com/pypa/pip/issues/11501 [1] --- .github/workflows/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index 249a21f6..b098a52d 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,2 +1,2 @@ -pip==22.3.1 +pip==23.2 virtualenv==20.17.1