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:
295295 run : |
296296 mkdir site-packages
297297 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"
298303 - name : Check whats_left is not broken
299304 run : python -I whats_left.py
300305
Original file line number Diff line number Diff line change @@ -851,6 +851,10 @@ def _main():
851851 print ()
852852 _print_dict ('Variables' , get_config_vars ())
853853
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" )
854858
855859if __name__ == '__main__' :
856860 _main ()
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ def test_get_preferred_schemes(self):
141141 self .assertIsInstance (schemes , dict )
142142 self .assertEqual (set (schemes ), expected_schemes )
143143
144+ # NOTE: RUSTPYTHON this is hardcoded to 'python', we're set up for failure.
145+ @unittest .expectedFailure
144146 def test_posix_venv_scheme (self ):
145147 # The following directories were hardcoded in the venv module
146148 # 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