Skip to content

Commit

Permalink
Merge pull request easybuilders#3427 from Flamefire/pip-version-check
Browse files Browse the repository at this point in the history
disable the version check of pip in Python packages
  • Loading branch information
Micket authored Aug 29, 2024
2 parents 3ca1f1a + 0182b68 commit b0b012e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easybuild/easyblocks/generic/pythonpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ def __init__(self, *args, **kwargs):
# Users or sites may require using a virtualenv for user installations
# We need to disable this to be able to install into the modules
env.setvar('PIP_REQUIRE_VIRTUALENV', 'false')
# Don't let pip connect to PYPI to check for a new version
env.setvar('PIP_DISABLE_PIP_VERSION_CHECK', 'true')

def determine_install_command(self):
"""
Expand Down

0 comments on commit b0b012e

Please sign in to comment.