Commit 9a4895c
committed
Fix pip install failing under Homebrew Python (PEP 668)
Homebrew Python 3.12+ blocks pip install outside a venv. The action
was trying to upgrade pip before creating the venv, causing the
externally-managed-environment error. Create venv first, then upgrade
pip inside it. Also drop OrderedDict which is a built-in since Python 3.1.1 parent 1d0fff3 commit 9a4895c
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | | - | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
0 commit comments