##// 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 return os.path.isdir(os.path.join(t, "..", ".hg"))
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 @check("curses", "terminfo compiler and curses module")
711 @check("curses", "terminfo compiler and curses module")
706 def has_curses():
712 def has_curses():
707 try:
713 try:
@@ -184,7 +184,7 b' On Python 2, we use the 3rd party virtua'
184 $ cd $TESTTMP
184 $ cd $TESTTMP
185 $ unset PYTHONPATH
185 $ unset PYTHONPATH
186
186
187 #if py3 ensurepip
187 #if py3 ensurepip network-io
188 $ "$PYTHON" -m venv installenv >> pip.log
188 $ "$PYTHON" -m venv installenv >> pip.log
189
189
190 Hack: Debian does something a bit different in ensurepip.bootstrap. This makes
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 Note: we use this weird path to run pip and hg to avoid platform differences,
198 Note: we use this weird path to run pip and hg to avoid platform differences,
199 since it's bin on most platforms but Scripts on Windows.
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 Failed building wheel for mercurial (?)
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 $ ./installenv/*/hg debuginstall || cat pip.log
204 $ ./installenv/*/hg debuginstall || cat pip.log
203 checking encoding (ascii)...
205 checking encoding (ascii)...
204 checking Python executable (*) (glob)
206 checking Python executable (*) (glob)
@@ -222,17 +224,17 b" since it's bin on most platforms but Scr"
222 no problems detected
224 no problems detected
223 #endif
225 #endif
224
226
225 #if virtualenv no-py3
227 #if virtualenv no-py3 network-io
226
228
227 Note: --no-site-packages is the default for all versions enabled by hghave
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 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. (?)
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 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 (?)
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 Note: we use this weird path to run pip and hg to avoid platform differences,
235 Note: we use this weird path to run pip and hg to avoid platform differences,
234 since it's bin on most platforms but Scripts on Windows.
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 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. (?)
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 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 (?)
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 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. (?)
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