##// END OF EJS Templates
ci: test real dependency installation for pip...
Joerg Sonnenberger -
r47346:ad107ed7 default
parent child Browse files
Show More
@@ -702,6 +702,12 b' def has_test_repo():'
702 702 return os.path.isdir(os.path.join(t, "..", ".hg"))
703 703
704 704
705 @check("network-io", "whether tests are allowed to access 3rd party services")
706 def has_test_repo():
707 t = os.environ.get("HGTESTS_ALLOW_NETIO")
708 return t == "1"
709
710
705 711 @check("curses", "terminfo compiler and curses module")
706 712 def has_curses():
707 713 try:
@@ -184,7 +184,7 b' On Python 2, we use the 3rd party virtua'
184 184 $ cd $TESTTMP
185 185 $ unset PYTHONPATH
186 186
187 #if py3 ensurepip
187 #if py3 ensurepip network-io
188 188 $ "$PYTHON" -m venv installenv >> pip.log
189 189
190 190 Hack: Debian does something a bit different in ensurepip.bootstrap. This makes
@@ -197,8 +197,10 b" our virtual env. Then pip doesn't think "
197 197
198 198 Note: we use this weird path to run pip and hg to avoid platform differences,
199 199 since it's bin on most platforms but Scripts on Windows.
200 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
200 $ ./installenv/*/pip install $TESTDIR/.. >> pip.log
201 201 Failed building wheel for mercurial (?)
202 WARNING: You are using pip version *; however, version * is available. (glob) (?)
203 You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?)
202 204 $ ./installenv/*/hg debuginstall || cat pip.log
203 205 checking encoding (ascii)...
204 206 checking Python executable (*) (glob)
@@ -222,17 +224,17 b" since it's bin on most platforms but Scr"
222 224 no problems detected
223 225 #endif
224 226
225 #if virtualenv no-py3
227 #if virtualenv no-py3 network-io
226 228
227 229 Note: --no-site-packages is the default for all versions enabled by hghave
228 230
229 $ "$PYTHON" -m virtualenv --never-download installenv >> pip.log
231 $ "$PYTHON" -m virtualenv installenv >> pip.log
230 232 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?)
231 233 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?)
232 234
233 235 Note: we use this weird path to run pip and hg to avoid platform differences,
234 236 since it's bin on most platforms but Scripts on Windows.
235 $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
237 $ ./installenv/*/pip install $TESTDIR/.. >> pip.log
236 238 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?)
237 239 DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?)
238 240 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. (?)
General Comments 0
You need to be logged in to leave comments. Login now