Skip to content

Commit 1a5535d

Browse files
committed
Fix Windows deployment.
Twine was not being installed in Windows deployment workflows.
1 parent 6be33d9 commit 1a5535d

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/python-package-macos.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ jobs:
1616
python-version: ['3.7.9']
1717

1818
steps:
19-
- name: Clone ${{github.repository}}
20-
# actions/checkout breaks `git describe` so a manual clone is needed.
21-
# https://github.com/actions/checkout/issues/272
22-
run: |
23-
git clone https://github.com/${{github.repository}}.git ${{github.workspace}}
24-
git checkout ${{github.sha}}
19+
# v2 breaks `git describe` so v1 is needed.
20+
# https://github.com/actions/checkout/issues/272
21+
- uses: actions/checkout@v1
2522
- name: Checkout submodules
2623
run: |
2724
git submodule update --init --recursive --depth 1
@@ -44,8 +41,8 @@ jobs:
4441
- name: Install Python dependencies
4542
run: |
4643
python -m pip install --upgrade pip
47-
python -m pip install pytest pytest-cov pytest-benchmark wheel twine
48-
python -m pip install git+https://github.com/HexDecimal/delocate.git@loader_path
44+
pip install pytest pytest-cov pytest-benchmark wheel twine
45+
pip install git+https://github.com/HexDecimal/delocate.git@loader_path
4946
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5047
- name: Build package.
5148
run: |

.github/workflows/python-package.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ jobs:
2323
fail-fast: false
2424

2525
steps:
26-
- name: Checkout code
27-
# v2 breaks `git describe` so v1 is needed.
28-
# https://github.com/actions/checkout/issues/272
29-
uses: actions/checkout@v1
26+
# v2 breaks `git describe` so v1 is needed.
27+
# https://github.com/actions/checkout/issues/272
28+
- uses: actions/checkout@v1
3029
- name: Checkout submodules
3130
run: |
3231
git submodule update --init --recursive --depth 1
@@ -42,7 +41,7 @@ jobs:
4241
- name: Install Python dependencies
4342
run: |
4443
python -m pip install --upgrade pip
45-
python -m pip install pytest pytest-cov pytest-benchmark wheel
44+
pip install pytest pytest-cov pytest-benchmark wheel twine
4645
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4746
- name: Initialize package
4847
run: |

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ v2.0.0
88

99
Unreleased
1010
------------------
11+
Fixed
12+
- Fix Windows deployment.
1113

1214
12.3.0 - 2021-05-13
1315
-------------------

0 commit comments

Comments
 (0)