Use upgraded pip in test fixture virtual environment by EliahKagan · Pull Request #1864 · gitpython-developers/GitPython
if with_pip: # The upgrade_deps parameter to venv.create is 3.9+ only, so do it this way. command = [self.python, "-m", "pip", "install", "--upgrade", "pip"] if sys.version_info < (3, 12): command.append("setuptools") subprocess.check_output(command)
@property def env_dir(self): """The top-level directory of the environment."""