Skip to content

Commit c227bc0

Browse files
committed
Restore implicit ensurepip in venv
1 parent 8576534 commit c227bc0

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,9 @@ jobs:
5858
5959
- name: Set up virtualenv
6060
run: |
61-
python3.9 -m venv --without-pip .venv
61+
python3.9 -m venv .venv
6262
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
6363
64-
- name: Bootstrap pip in virtualenv
65-
run: |
66-
wget -qO- https://bootstrap.pypa.io/get-pip.py | python
67-
6864
- name: Update PyPA packages
6965
run: |
7066
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.

test/test_installation.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,11 @@
44
import ast
55
import os
66
import subprocess
7-
import sys
8-
9-
import pytest
107

118
from test.lib import TestBase, VirtualEnvironment, with_rw_directory
129

1310

1411
class TestInstallation(TestBase):
15-
@pytest.mark.xfail(
16-
sys.platform == "cygwin" and "CI" in os.environ,
17-
reason="Trouble with pip on Cygwin CI, see issue #2004",
18-
raises=subprocess.CalledProcessError,
19-
)
2012
@with_rw_directory
2113
def test_installation(self, rw_dir):
2214
venv = self._set_up_venv(rw_dir)

0 commit comments

Comments
 (0)