Skip to content

Commit d1a140b

Browse files
committed
python-setup: Fix pipenv (--keep-outdated deprecated)
Recently released pipenv removed support for `--keep-outdated` flag (see https://github.com/pypa/pipenv/blob/main/CHANGELOG.rst#pipenv-202379-2023-07-09) Local testing showed that installation was fine without this 👍
1 parent 12aa0a6 commit d1a140b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-setup/auto_install_packages.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def install_packages_with_pipenv(has_lockfile):
7676
# In windows the default path were the deps are installed gets wiped out between steps,
7777
# so we have to set it up to a folder that will be kept
7878
os.environ['WORKON_HOME'] = os.path.join(os.environ['RUNNER_WORKSPACE'], 'virtualenvs')
79-
lock_args = ['--keep-outdated', '--ignore-pipfile'] if has_lockfile else ['--skip-lock']
79+
lock_args = ['--ignore-pipfile'] if has_lockfile else ['--skip-lock']
8080
try:
8181
_check_call(command + ['install'] + lock_args)
8282
except subprocess.CalledProcessError:

0 commit comments

Comments
 (0)