oracle/python-oracledb

Create extras_require section for azure , oci depdendencies

Closed this issue ยท 3 comments

  1. Describe your new request in detail

It would be good if the optional azure or oci packages could be installed with

pip install .oci

and similar.

  1. Give supporting information about tools and operating systems. Give relevant product version numbers

This would need something something along the lines of the following in the setup.py

extras_require={
         "azure": [
            "azure-appconfiguration",
            "azure-core",
             "azure-identity",
             "azure-keyvault-secrets"
         ],
         "oci": [
             "oci"
         ]
     }

This would help with downstream packaging of this module also.

Thanks.

This was included in python-oracledb 3.4.0 which was just released.

Nice - next fedora package will have a bunch of sub packages for these extra deps:

https://koji.fedoraproject.org/koji/buildinfo?buildID=2837766