Skip to content

Commit

Permalink
Update pip for GitHub runner
Browse files Browse the repository at this point in the history
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 <module>
      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: pypa/pip#11501 [1]
  • Loading branch information
matthewhughes934 committed Dec 5, 2024
1 parent d5f8d18 commit e1fe80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pip==22.3.1
pip==23.2
virtualenv==20.17.1

0 comments on commit e1fe80d

Please sign in to comment.