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