Skip to content

Commit 68a6a38

Browse files
committed
ci: pin pip: <20
Currently fails with: ``` Uninstalling pip-19.3.1: Successfully uninstalled pip-19.3.1 Successfully installed pip-20.0 Traceback (most recent call last): File "/opt/hostedtoolcache/PyPy/3.6.9/x64/bin/pip", line 8, in <module> sys.exit(main()) File "/opt/hostedtoolcache/PyPy/3.6.9/x64/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/opt/hostedtoolcache/PyPy/3.6.9/x64/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/opt/hostedtoolcache/PyPy/3.6.9/x64/lib-python/3/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1003, in _gcd_import File "<frozen importlib._bootstrap>", line 980, in _find_and_load File "<frozen importlib._bootstrap>", line 964, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 674, in _load_unlocked File "<builtin>/frozen importlib._bootstrap_external", line 691, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/opt/hostedtoolcache/PyPy/3.6.9/x64/site-packages/pip/_internal/commands/install.py", line 24, in <module> from pip._internal.cli.req_command import RequirementCommand File "/opt/hostedtoolcache/PyPy/3.6.9/x64/site-packages/pip/_internal/cli/req_command.py", line 20, in <module> from pip._internal.operations.prepare import RequirementPreparer File "/opt/hostedtoolcache/PyPy/3.6.9/x64/site-packages/pip/_internal/operations/prepare.py", line 16, in <module> from pip._internal.distributions import ( File "/opt/hostedtoolcache/PyPy/3.6.9/x64/site-packages/pip/_internal/distributions/__init__.py", line 1, in <module> from pip._internal.distributions.source import SourceDistribution ImportError: cannot import name 'SourceDistribution' ``` Ref: https://github.com/pytest-dev/pytest/runs/400730404
1 parent a52f791 commit 68a6a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
python-version: ${{ matrix.python }}
123123
- name: Install dependencies
124124
run: |
125-
python -m pip install --upgrade pip
125+
python -m pip install --upgrade "pip<20"
126126
pip install tox coverage
127127
128128
- name: Test without coverage

0 commit comments

Comments
 (0)