Skip to content

Commit 90a2a26

Browse files
committed
mingws_smoketests: Add PIP_EXTRA_INDEX_URL environment variable
1 parent a84a9d2 commit 90a2a26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mingw_smoketests.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ def test_c_ext_build(self):
361361
"install",
362362
tmppro,
363363
],
364+
# this is required so that patched setuptools is used
365+
# "PIP_EXTRA_INDEX_URL": "https://pypi.naveenmk.me/simple/",
366+
env={
367+
**os.environ.copy(),
368+
"PIP_EXTRA_INDEX_URL": "https://pypi.naveenmk.me/simple/",
369+
},
364370
)
365371
subprocess.check_call(
366372
[sys.executable, "-c", "import cwrapper"],

0 commit comments

Comments
 (0)