Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_venv: test_with_pip() failure on "AMD64 Windows Server 2008 [SB] 3.x" buildbot #63968

Closed
vstinner opened this issue Nov 25, 2013 · 3 comments
Labels
tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 19769
Nosy @ncoghlan, @vstinner, @larryhastings, @dstufft

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-02-18.11:33:38.385>
created_at = <Date 2013-11-25.11:30:05.188>
labels = ['tests']
title = 'test_venv: test_with_pip() failure on "AMD64 Windows Server 2008 [SB] 3.x" buildbot'
updated_at = <Date 2014-02-18.11:33:38.385>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2014-02-18.11:33:38.385>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2014-02-18.11:33:38.385>
closer = 'vstinner'
components = ['Tests']
creation = <Date 2013-11-25.11:30:05.188>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 19769
keywords = ['buildbot']
message_count = 3.0
messages = ['204325', '204335', '210991']
nosy_count = 4.0
nosy_names = ['ncoghlan', 'vstinner', 'larry', 'dstufft']
pr_nums = []
priority = 'high'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue19769'
versions = ['Python 3.4']

@vstinner
Copy link
Member Author

This issue looks like issue bpo-19734, but I'm not sure, so I prefer to open a new issue. Don't hesitate to close it as a duplicate of it's the same.

http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1752/steps/test/logs/stdio

test_with_pip (test.test_venv.EnsurePipTest) ... FAIL

======================================================================
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_venv.py", line 314, in test_with_pip
    self.assertEqual(err, "")
AssertionError: "C:\\Users\\BUILDS~1\\AppData\\Local\\Tem[138 chars]\r\n" != ''
- C:\Users\BUILDS~1\AppData\Local\Temp\tmpa0ocjb9d\Scripts\python_d.exe: No module named 'pip._vendor.requests.adapters'; 'pip' is a package and cannot be directly executed

@vstinner vstinner added the tests Tests in the Lib/test dir label Nov 25, 2013
@ncoghlan
Copy link
Contributor

So, the last part of the error message is just runpy getting confused because attempting to import pip.__main__ threw ImportError (it should check the ImportError name (see bpo-19771).

I'm not sure about the first part though - I'm not sure why the pip wheel would lose track of a submodule like that.

@vstinner
Copy link
Member Author

I didn't see this error recently, can I close the issue?

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

2 participants