Skip to content

Commit

Permalink
Merge pull request #706 from bastelfreak/testsfoo
Browse files Browse the repository at this point in the history
CI: Dont pin pip to an outdated version and don't force python3 package installation
  • Loading branch information
bastelfreak authored Nov 26, 2024
2 parents 647a8fc + cad5b1b commit d51e0bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
7 changes: 1 addition & 6 deletions spec/acceptance/pip_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class { 'python':
ensure => 'present',
systempkgs => false,
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent package':
Expand Down Expand Up @@ -47,7 +46,6 @@ class { 'python':
ensure => 'present',
systempkgs => false,
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent package install':
Expand Down Expand Up @@ -78,15 +76,13 @@ class { 'python':
it 'throws an error' do
pp = <<-PUPPET
class { 'python':
version => '3',
dev => 'present',
dev => 'present',
}
python::pyvenv { '/opt/test-venv':
ensure => 'present',
systempkgs => false,
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent package':
Expand Down Expand Up @@ -116,7 +112,6 @@ class { 'python':
ensure => 'present',
systempkgs => false,
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent package via extra_index':
Expand Down
6 changes: 0 additions & 6 deletions spec/acceptance/pyvenv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class { 'python':
owner => 'agent',
group => 'agent',
mode => '0755',
pip_version => '<= 20.3.4',
}
PUPPET

Expand Down Expand Up @@ -58,7 +57,6 @@ class { 'python':
owner => 'agent',
group => 'agent',
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent' :
ensure => 'latest',
Expand Down Expand Up @@ -98,7 +96,6 @@ class { 'python':
owner => 'agent',
group => 'agent',
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent' :
virtualenv => '/opt/agent/venv',
Expand Down Expand Up @@ -135,7 +132,6 @@ class { 'python':
owner => 'agent',
group => 'agent',
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent' :
virtualenv => '/opt/agent/venv',
Expand Down Expand Up @@ -172,7 +168,6 @@ class { 'python':
owner => 'agent',
group => 'agent',
mode => '0755',
pip_version => '<= 20.3.4',
}
python::pip { 'agent' :
ensure => '0.1.2',
Expand Down Expand Up @@ -220,7 +215,6 @@ class { 'python':
owner => 'agent',
group => 'agent',
mode => '0755',
pip_version => '<= 20.3.4',
python_path => '/usr/bin/mycustompython',
}
python::pip { 'agent' :
Expand Down

0 comments on commit d51e0bb

Please sign in to comment.