()
| 52 | |
| 53 | |
| 54 | def _get_pip_version(): |
| 55 | with _get_pip_whl_path_ctx() as bundled_wheel_path: |
| 56 | wheel_name = bundled_wheel_path.name |
| 57 | return ( |
| 58 | # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl' |
| 59 | wheel_name. |
| 60 | removeprefix('pip-'). |
| 61 | partition('-')[0] |
| 62 | ) |
| 63 | |
| 64 | |
| 65 | def _run_pip(args, additional_paths=None): |
no test coverage detected
searching dependent graphs…