def _upgrade_pip_setuptools_and_wheel(session):
    if SKIP_REQUIREMENTS_INSTALL:
        session.log('Skipping Python Requirements because SKIP_REQUIREMENTS_INSTALL was found in the environ')
        return False
    install_command = ['python', '-m', 'pip', 'install', '--progress-bar=off', '-U', 'pip>=20.2.4,<21.2', 'setuptools!=50.*,!=51.*,!=52.*', 'wheel']
    session.run(*install_command, silent=PIP_INSTALL_SILENT)
    return True
def _upgrade_pip_setuptools_and_wheel(session):
    if SKIP_REQUIREMENTS_INSTALL:
        session.log('Skipping Python Requirements because SKIP_REQUIREMENTS_INSTALL was found in the environ')
        return False
    install_command = ['python', '-m', 'pip', 'install', '--progress-bar=off', '-U', 'pip>=20.2.4,<21.2', 'setuptools!=50.*,!=51.*,!=52.*', 'wheel']
    session.run(*install_command, silent=PIP_INSTALL_SILENT)
    return True