<commit_before>require "spec_helper_#{ENV['SPEC_TARGET_BACKEND']}"

describe package('python-dev'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

[
  'python-apt',
  'python-pip',
  'python-setuptools'
].each do |p|
  describe package(p), :if => os[:family] == 'debian' do
    it { should be_installed }
  end
end

describe package('build-essential'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe package('build-base'), :if => os[:family] == 'alpine' do
  it { should be_installed }
end

describe package('unzip'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe package('curl'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe package('openssl') do
  it { should be_installed }
end

describe package('ca-certificates'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe command('which python') do
  its(:exit_status) { should eq 0 }
end

describe command('which unzip') do
  its(:exit_status) { should eq 0 }
end

describe command('which curl') do
  its(:exit_status) { should eq 0 }
end

describe command('which python') do
  its(:exit_status) { should eq 0 }
end

describe command('which pip') do
  its(:exit_status) { should eq 0 }
end
<commit_msg>Remove a spec related to openssl package on Darwin.<commit_after>require "spec_helper_#{ENV['SPEC_TARGET_BACKEND']}"

describe package('python-dev'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

[
  'python-apt',
  'python-pip',
  'python-setuptools'
].each do |p|
  describe package(p), :if => os[:family] == 'debian' do
    it { should be_installed }
  end
end

describe package('build-essential'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe package('build-base'), :if => os[:family] == 'alpine' do
  it { should be_installed }
end

describe package('unzip'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe package('curl'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe package('openssl'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe package('ca-certificates'), :if => ['debian', 'alpine'].include?(os[:family]) do
  it { should be_installed }
end

describe command('which python') do
  its(:exit_status) { should eq 0 }
end

describe command('which unzip') do
  its(:exit_status) { should eq 0 }
end

describe command('which curl') do
  its(:exit_status) { should eq 0 }
end

describe command('which python') do
  its(:exit_status) { should eq 0 }
end

describe command('which pip') do
  its(:exit_status) { should eq 0 }
end

{'fraction_non_alphanumeric': 0.16826071555083244, 'fraction_numerical': 0.003542330853701736, 'mean_word_length': 4.920335429769392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '647075', 'n_tokens_mistral': 996, 'n_tokens_neox': 922, 'n_words': 273}