ansible-oracle icon indicating copy to clipboard operation
ansible-oracle copied to clipboard

cx_oracle 8.0 not compatible with Python 2.x anymore

Open matthiaslink77 opened this issue 5 years ago • 3 comments

The cxoracle role does not install per default anymore, as cx_oracle==7.3 is the last version compatible with python 2.x.

cx_oracle 8.+ require Python 3.x . Currently this is not reflected in the role.

matthiaslink77 avatar Jul 07 '20 10:07 matthiaslink77

@matthiaslink77 Could you close this issue?

Rendanic avatar Jul 08 '20 05:07 Rendanic

Good morning Thorsten, thanks a lot.

Yes - to just add the version to the package name was the fix I already provided in the text.

This issue was actually opened to fix it "properly", hence version 8.+ should be usable.

So I would rather like to keep this issue open.

Danke und beste Grüße, Matthias.

matthiaslink77 avatar Jul 08 '20 06:07 matthiaslink77

We should close this issue. Reasons:

  • Python3 + Ansible has issues on OL7 Some Ansible modules - not the library inside ansible-oracle - have problems during execution of ansible-playbooks. Solution: Use Ansible with Python2 on OL7. This requires the old version of cx_Oracle.
  • Python3 + Ansible is working on OL8

I see no way to fix the issue with newer version of cx_Oracle on OL7 with Python3.

Rendanic avatar May 27 '21 18:05 Rendanic