-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-3498 Error installing virtual environment on zseries hosts #1101
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ShaneHarvey
requested changes
Oct 31, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zseries is still failing with the same error:
[2022/10/31 18:10:50.207] Running command 'shell.exec' in "run tests" (step 2.2 of 2).
[2022/10/31 18:10:50.629] /usr/local/lib/python3.8/site-packages/virtualenv.py:1047: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
[2022/10/31 18:10:50.629] import imp
[2022/10/31 18:10:50.629] Traceback (most recent call last):
[2022/10/31 18:10:50.629] File "/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main
[2022/10/31 18:10:50.629] return _run_code(code, main_globals, None,
[2022/10/31 18:10:50.629] File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code
[2022/10/31 18:10:50.629] exec(code, run_globals)
[2022/10/31 18:10:50.629] File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 2349, in <module>
[2022/10/31 18:10:50.629] main()
[2022/10/31 18:10:50.629] File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 703, in main
[2022/10/31 18:10:50.629] create_environment(home_dir,
[2022/10/31 18:10:50.629] File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 929, in create_environment
[2022/10/31 18:10:50.629] install_distutils(home_dir)
[2022/10/31 18:10:50.629] File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 1507, in install_distutils
[2022/10/31 18:10:50.629] distutils_path = change_prefix(distutils.__path__[0], home_dir)
[2022/10/31 18:10:50.629] File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 1043, in change_prefix
[2022/10/31 18:10:50.629] assert False, "Filename %s does not start with any of these prefixes: %s" % \
[2022/10/31 18:10:50.629] AssertionError: Filename /home/mci-exec/.local/lib/python3.8/site-packages/setuptools/_distutils does not start with any of these prefixes: ['/usr', '/usr']
[2022/10/31 18:10:50.629] 15.2.0
[2022/10/31 18:10:50.629] Using base prefix '/usr'
[2022/10/31 18:10:50.629] New python executable in /data/mci/c25a52d772b1067e188157aa8f02c1f3/src/pymongotestvenv/bin/python
[2022/10/31 18:10:50.655] Command ''shell.exec' in "run tests"' failed: shell script encountered problem: exit code 1.
[2022/10/31 18:10:50.655] Task completed - FAILURE.
All passing now. I'll forward-port this cleanup to master as well. |
ShaneHarvey
approved these changes
Oct 31, 2022
blink1073
added a commit
to blink1073/mongo-python-driver
that referenced
this pull request
Oct 31, 2022
…ngodb#1101) (cherry picked from commit b6982e8)
blink1073
added a commit
that referenced
this pull request
Nov 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.