This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年11月22日 15:09 by ncoghlan, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (5) | |||
|---|---|---|---|
| msg203778 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2013年11月22日 15:09 | |
pip still relies on imp (due to cross-version compatibility requirements), so it may trigger a pending deprecation warning, and potentially return a non-zero return code: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3142/steps/test/logs/stdio |
|||
| msg203946 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2013年11月23日 01:33 | |
Reviewing the current buildbot failures, this is still the only one reporting the error: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3165/steps/test/logs/stdio I can reproduce the failure locally by running: $ PYTHONWARNINGS=d ./python -m test test_venv [1/1] test_venv /home/ncoghlan/devel/py3k/Lib/imp.py:32: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses PendingDeprecationWarning) /tmp/tmpwmsqtb9y/pip-1.5.rc1-py2.py3-none-any.whl/pip/wheel.py:127: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. test test_venv failed -- Traceback (most recent call last): File "/home/ncoghlan/devel/py3k/Lib/test/test_venv.py", line 289, in test_with_pip self.assertEqual(err, b"") AssertionError: b"/home/ncoghlan/devel/py3k/Lib/imp.py:32:[160 chars]g)\n" != b'' 1 test failed: test_venv I'm updating the test to make sure that venv runs the subprocess in isolated mode. |
|||
| msg203948 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年11月23日 01:38 | |
New changeset 0ce8d68181a2 by Nick Coghlan in branch 'default': Close #19694: venv now runs ensurepip in isolated mode http://hg.python.org/cpython/rev/0ce8d68181a2 |
|||
| msg204048 - (view) | Author: Larry Hastings (larry) * (Python committer) | Date: 2013年11月23日 16:34 | |
Are you sure the problem is fixed? I still see the same error on the same buildbot. http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3168/steps/test/logs/stdio |
|||
| msg204183 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2013年11月24日 06:51 | |
Using isolated mode addressed the warning noise, issue 19734 covers additional environment dependent problems in the test. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:53 | admin | set | github: 63893 |
| 2013年11月24日 06:51:16 | ncoghlan | set | messages: + msg204183 |
| 2013年11月23日 16:34:49 | larry | set | messages: + msg204048 |
| 2013年11月23日 01:38:25 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg203948 resolution: fixed stage: needs patch -> resolved |
| 2013年11月23日 01:33:39 | ncoghlan | set | messages: + msg203946 |
| 2013年11月22日 15:09:41 | ncoghlan | create | |