Page MenuHomePhabricator

ci: test real dependency installation for pip
ClosedPublic

Authored by joerg.sonnenberger on Feb 2 2021, 1:45 PM.

Details

Summary

In the past, the pip smoke test inhibited actual dependency
installation, but that fails in different environments for setuptools
itself. Since it isn't what we actually want to test (which is pip
install), allow this to call home, if HGTESTS_ALLOW_NETIO=1 is set
in the environment.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

joerg.sonnenberger retitled this revision from ci: test real dependency installation for pip [WIP] to ci: test real dependency installation for pip.Feb 12 2021, 9:12 AM
joerg.sonnenberger edited the summary of this revision. (Show Details)
joerg.sonnenberger updated this revision to Diff 25607.

I suspect this test works without network if setuptools is already installed, but I don't care enough to block it on that pedantry.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.