Skip to content

Commit 7d35788

Browse files
authored
Merge pull request #1772 from github/RasmusWL/fix-pipenv
python-setup: Fix pipenv (`--keep-outdated` deprecated)
2 parents 12aa0a6 + d1a140b commit 7d35788

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)