Show More
@@ -886,17 +886,16 b' def has_ensurepip():' | |||
|
886 | 886 | return False |
|
887 | 887 | |
|
888 | 888 | |
|
889 |
@check(" |
|
|
890 |
def has_ |
|
|
891 | if sys.version_info[0] != 2: | |
|
892 | return False | |
|
893 | ||
|
889 | @check("virtualenv", "virtualenv support") | |
|
890 | def has_virtualenv(): | |
|
894 | 891 | try: |
|
895 | 892 | import virtualenv |
|
896 | 893 | |
|
897 | virtualenv.ACTIVATE_SH | |
|
898 | return True | |
|
899 | except ImportError: | |
|
894 | # --no-site-package became the default in 1.7 (Nov 2011), and the | |
|
895 | # argument was removed in 20.0 (Feb 2020). Rather than make the | |
|
896 | # script complicated, just ignore ancient versions. | |
|
897 | return int(virtualenv.__version__.split('.')[0]) > 1 | |
|
898 | except (AttributeError, ImportError, IndexError): | |
|
900 | 899 | return False |
|
901 | 900 | |
|
902 | 901 |
@@ -222,13 +222,11 b" since it's bin on most platforms but Scr" | |||
|
222 | 222 | no problems detected |
|
223 | 223 | #endif |
|
224 | 224 | |
|
225 |
#if |
|
|
225 | #if virtualenv no-py3 | |
|
226 | 226 | |
|
227 |
Note: --no-site-packages is |
|
|
228 | ancient virtualenv from their linux distro or similar and it's not yet | |
|
229 | the default for them. | |
|
227 | Note: --no-site-packages is the default for all versions enabled by hghave | |
|
230 | 228 | |
|
231 |
$ "$PYTHON" -m virtualenv --n |
|
|
229 | $ "$PYTHON" -m virtualenv --never-download installenv >> pip.log | |
|
232 | 230 |
DEPRECATION: |
|
233 | 231 |
DEPRECATION: Python 2.7 |
|
234 | 232 | |
@@ -237,6 +235,7 b" since it's bin on most platforms but Scr" | |||
|
237 | 235 | $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log |
|
238 | 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. (?) |
|
239 | 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 (?) |
|
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 | 239 | $ ./installenv/*/hg debuginstall || cat pip.log |
|
241 | 240 | checking encoding (ascii)... |
|
242 | 241 | checking Python executable (*) (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now