Skip to content

Commit 073f079

Browse files
authored
Fix and update build step for Python2.7 (dropbox#326)
* Pin pytest runner version * Update workflow step naming
1 parent e6c5930 commit 073f079

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/pypiupload.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Publish to PyPi
19+
- name: Setup Python
2020
uses: actions/[email protected]
2121
with:
2222
python-version: ${{ matrix.python-version }}

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
]
3232

3333
setup_requires = [
34-
'pytest-runner',
34+
# Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
35+
# Python 2.7
36+
'pytest-runner == 5.2.0',
3537
]
3638

3739
test_reqs = [

0 commit comments

Comments
 (0)