oracle / oracle/oci-cli

Update optional DB dependency from obsolete 'cx_Oracle' to 'oracledb'

Open
#782 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

The python-oracledb driver is the upgrade from cx_Oracle, see the release announcement. This was first released several years ago and it's past time for oci-cli to update, e.g. to update setup.py and change:

extras = {
    'db': ['cx_Oracle==8.3']
}

to:

extras = {
    'db': ['oracledb']
}

This new version of the driver for Oracle Database connectivity has various advantages, notably it doesn't require Oracle Client libraries to be installed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open setup.py and inspect the db optional dependency shown in the issue. Update the package metadata to use the current Oracle driver, then verify that the optional db dependency is recorded correctly and that the CLI packaging checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.