Skip to content

Commit 7f70b85

Browse files
authored
Drop --no-site-packages from 1.7 upwards
1 parent 8afd564 commit 7f70b85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/virtualenv.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
if $_virtualenv_version != '' and versioncmp($_virtualenv_version, '1.7') > 0 and $systempkgs == true {
9999
$system_pkgs_flag = '--system-site-packages'
100-
} elsif $_virtualenv_version != '' and versioncmp($_virtualenv_version, '20.0.1') < 0 and $systempkgs == false {
100+
} elsif $_virtualenv_version != '' and versioncmp($_virtualenv_version, '1.7') < 0 and $systempkgs == false {
101101
$system_pkgs_flag = '--no-site-packages'
102102
} else {
103103
$system_pkgs_flag = $systempkgs ? {

0 commit comments

Comments
 (0)