(pex)
| 26 | # type: (Any) -> None |
| 27 | |
| 28 | def get_fabric_versions(pex): |
| 29 | # type: (str) -> Dict[str, str] |
| 30 | output, returncode = run_simple_pex(pex, args=["--version"]) |
| 31 | assert 0 == returncode, output.decode("utf-8") |
| 32 | return dict( |
| 33 | cast("Tuple[str, str]", line.split(" ", 1)) |
| 34 | for line in output.decode("utf-8").splitlines() |
| 35 | ) |
| 36 | |
| 37 | # The only difference in these two PEX files is their entrypoint. Ensure venv execution takes |
| 38 | # that into account and disambiguates the otherwise identical PEX files. |
no test coverage detected