poise / poise-python

A Chef cookbook to provide a unified interface for installing Python, managing Python packages, and creating virtualenvs.
Apache License 2.0
124 stars 108 forks source link

Scl package unavailable for Oracle-7 #143

Open neaGaze opened 5 years ago

neaGaze commented 5 years ago

I'm trying to install python 3.5 by using

  python_runtime 'python3' do
     provider :scl
     pip_version '18.0'
     get_pip_url 'https://github.com/pypa/get-pip/raw/f88ab195ecdf2f0001ed21443e247fb32265cabb/get-pip.py'
     version '3.5'
   end

It gives me this error on Oracle-7

      ......         
      * poise_languages_scl[rh-python35] action install
         * yum_package[centos-release-scl-rh] action upgrade
    * No candidate version available for centos-release-scl-rh
    * No candidate version available for centos-release-scl-rh
    * No candidate version available for centos-release-scl-rh
    * No candidate version available for centos-release-scl-rh
    * No candidate version available for centos-release-scl-rh
    * No candidate version available for centos-release-scl-rh
    ================================================================================
    Error executing action `upgrade` on resource 'yum_package[centos-release-scl-rh]'
     ......  ================================================================================

Can anyone point out what could be going wrong with it? It looks like the scl isn't getting downloaded. It works fine in centos-7 though. I have also enabled epel-release package using

  package 'Install epel-release' do
      package_name 'oracle-epel-release-el7'
  end

  package 'Install epel-release' do
      package_name 'oracle-release-el7'
  end