Skip to content

Commit 763c846

Browse files
ADS Release v2.11.5 (#748)
1 parent fdb02f4 commit 763c846

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

ads/aqua/__init__.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@
88
import sys
99
import os
1010
from ads.aqua.utils import fetch_service_compartment
11-
11+
from ads.config import OCI_RESOURCE_PRINCIPAL_VERSION
12+
from ads import set_auth
1213

1314
logger = logging.getLogger(__name__)
1415
handler = logging.StreamHandler(sys.stdout)
1516
logger.setLevel(logging.INFO)
1617

18+
if OCI_RESOURCE_PRINCIPAL_VERSION:
19+
set_auth("resource_principal")
1720

1821
ODSC_MODEL_COMPARTMENT_OCID = os.environ.get("ODSC_MODEL_COMPARTMENT_OCID")
1922
if not ODSC_MODEL_COMPARTMENT_OCID:
2023
try:
2124
ODSC_MODEL_COMPARTMENT_OCID = fetch_service_compartment()
22-
except:
25+
except Exception as e:
2326
logger.error(
24-
"ODSC_MODEL_COMPARTMENT_OCID environment variable is not set for Aqua."
27+
f"ODSC_MODEL_COMPARTMENT_OCID environment variable is not set for Aqua, due to {e}."
2528
)

docs/source/release_notes.rst

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Release Notes
33
=============
44

5+
2.11.5
6+
------
7+
Release date: March 25, 2024
8+
9+
* Fixed bugs and introduced enhancements following our recent release, which included internal adjustments for future features and updates for the Jupyter Lab 3 upgrade.
10+
511
2.11.4
612
------
713
Release date: March 25, 2024

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-backend = "flit_core.buildapi"
2121

2222
# Required
2323
name = "oracle_ads" # the install (PyPI) name; name for local build in [tool.flit.module] section below
24-
version = "2.11.4"
24+
version = "2.11.5"
2525

2626
# Optional
2727
description = "Oracle Accelerated Data Science SDK"

0 commit comments

Comments
 (0)