Skip to content

Commit e0fc3ec

Browse files
Replace pip with python -m pip
Closes #2478
1 parent f82b62c commit e0fc3ec

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/wheels.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install deps
3131
run: |
3232
brew install gsl
33-
pip install --upgrade pip build
33+
python -m pip install --upgrade pip build
3434
- name: Build Wheel (arm64)
3535
if: matrix.os != 'macos-15-intel'
3636
run: |
@@ -57,7 +57,7 @@ jobs:
5757
python -m build --wheel
5858
- name: Delocate to bundle dynamic libs
5959
run: |
60-
pip install delocate
60+
python -m pip install delocate
6161
delocate-wheel -v dist/*.whl
6262
- name: Upload Wheels
6363
uses: actions/upload-artifact@v6.0.0
@@ -88,7 +88,7 @@ jobs:
8888
shell: cmd
8989
- name: Install deps
9090
run: |
91-
pip install --upgrade pip build delvewheel
91+
python -m pip install --upgrade pip build delvewheel
9292
- name: Fix windows symlinks
9393
run: |
9494
if (Test-Path "lwt_interface") { Remove-Item -Recurse -Force "lwt_interface" }
@@ -130,7 +130,7 @@ jobs:
130130
- name: Build sdist
131131
shell: bash
132132
run: |
133-
pip install --upgrade pip build
133+
python -m pip install --upgrade pip build
134134
python -m build --sdist
135135
- name: Upload sdist
136136
uses: actions/upload-artifact@v6.0.0
@@ -160,7 +160,7 @@ jobs:
160160
- name: Download wheels
161161
uses: actions/download-artifact@v7.0.0
162162
with:
163-
name: osx-wheel-${{ matrix.os }}-${{ matrix.python }}
163+
name: osx-wheel-${{ matrix.os }}-${{ matrix.python }}
164164
- name: Set up Python ${{ matrix.python }}
165165
uses: actions/setup-python@v6.1.0
166166
with:
@@ -169,8 +169,8 @@ jobs:
169169
run: |
170170
python -VV
171171
# Install the local wheel
172-
pip install numpy newick>=1.3.0 tskit>=0.5.2 demes>=0.2
173-
pip install msprime --no-index --only-binary msprime -f .
172+
python -m pip install numpy newick>=1.3.0 tskit>=0.5.2 demes>=0.2
173+
python -m pip install msprime --no-index --only-binary msprime -f .
174174
python -c "import msprime"
175175
msp simulate 10 tmp.trees
176176
tskit info tmp.trees
@@ -195,9 +195,9 @@ jobs:
195195
run: |
196196
python -VV
197197
# Install the local wheel
198-
pip install numpy newick demes
199-
pip install --no-dependencies msprime --no-index --only-binary msprime -f .
200-
pip install tskit
198+
python -m pip install numpy newick demes
199+
python -m pip install --no-dependencies msprime --no-index --only-binary msprime -f .
200+
python -m pip install tskit
201201
python -c "import msprime"
202202
msp simulate 10 tmp.trees
203203
tskit info tmp.trees
@@ -222,8 +222,8 @@ jobs:
222222
- name: Install wheel and test
223223
run: |
224224
python -VV
225-
pip install numpy newick>=1.3.0 tskit>=0.5.2 demes>=0.2
226-
pip install msprime --no-index --only-binary msprime -f .
225+
python -m pip install numpy newick>=1.3.0 tskit>=0.5.2 demes>=0.2
226+
python -m pip install msprime --no-index --only-binary msprime -f .
227227
python -c "import msprime"
228228
msp simulate 10 tmp.trees
229229
tskit info tmp.trees

0 commit comments

Comments
 (0)