File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,11 @@ jobs:
295
295
run : |
296
296
mkdir site-packages
297
297
target/release/rustpython --install-pip ensurepip --user
298
+ - if : runner.os != 'Windows'
299
+ name : Check that ensurepip succeeds.
300
+ run : |
301
+ target/release/rustpython -m ensurepip
302
+ target/release/rustpython -c "import pip"
298
303
- name : Check whats_left is not broken
299
304
run : python -I whats_left.py
300
305
Original file line number Diff line number Diff line change @@ -851,6 +851,10 @@ def _main():
851
851
print ()
852
852
_print_dict ('Variables' , get_config_vars ())
853
853
854
+ # XXX RUSTPYTHON: replace python with rustpython in all these paths
855
+ for group in _INSTALL_SCHEMES .values ():
856
+ for key in group .keys ():
857
+ group [key ] = group [key ].replace ("Python" , "RustPython" ).replace ("python" , "rustpython" )
854
858
855
859
if __name__ == '__main__' :
856
860
_main ()
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ def test_get_preferred_schemes(self):
141
141
self .assertIsInstance (schemes , dict )
142
142
self .assertEqual (set (schemes ), expected_schemes )
143
143
144
+ # NOTE: RUSTPYTHON this is hardcoded to 'python', we're set up for failure.
145
+ @unittest .expectedFailure
144
146
def test_posix_venv_scheme (self ):
145
147
# The following directories were hardcoded in the venv module
146
148
# before bpo-45413, here we assert the posix_venv scheme does not regress
You can’t perform that action at this time.
0 commit comments