Skip to content

Commit a763f81

Browse files
authored
ADS release 2.8.9 (#311)
1 parent d9756a8 commit a763f81

File tree

6 files changed

+28
-31
lines changed

6 files changed

+28
-31
lines changed

.github/workflows/run-unittests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
python-version: ["3.8", "3.9", "3.10"]
41-
test-path: ["tests/unitary", "tests/unitary/with_extras/model"]
41+
test-path: ["tests/unitary/with_extras tests/unitary/default_setup", "tests/unitary/with_extras/model"]
4242
include:
43-
- test-path: "tests/unitary"
43+
- test-path: "tests/unitary/with_extras tests/unitary/default_setup"
4444
ignore-path: "--ignore tests/unitary/with_extras/model --ignore tests/unitary/with_extras/feature_store"
4545
name: "unitary"
4646
- test-path: "tests/unitary/with_extras/model"

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ You have various options when installing ADS.
2929

3030
### Installing extras libraries
3131

32-
The `all-optional` module will install all optional dependencies. Note the single quotes around installation of extra libraries.
33-
34-
```bash
35-
python3 -m pip install 'oracle-ads[all-optional]'
36-
```
37-
3832
To work with gradient boosting models, install the `boosted` module. This module includes XGBoost and LightGBM model classes.
3933

4034
```bash
@@ -107,6 +101,8 @@ Install the `viz` module to include libraries for visualization tasks. Some of t
107101
python3 -m pip install 'oracle-ads[viz]'
108102
```
109103

104+
See `pyproject.toml` file `[project.optional-dependencies]` section for full list of modules and its list of extra libraries.
105+
110106
**Note**
111107

112108
Multiple extra dependencies can be installed together. For example:

docs/source/release_notes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
Release Notes
33
=============
44

5+
2.8.9
6+
-----
7+
Release date: September 5, 2023
8+
9+
* Upgraded the ``scikit-learn`` dependency to ``>=1.0``.
10+
* Upgraded the ``pandas`` dependency to ``>1.2.1,<2.1`` to allow you to use ADS with pandas 2.0.
11+
* Fixed the "Attribute not found" error, when ``deploy()`` called twice in ``GenericModel``.
12+
* Fixed the fetch of the security token, when the relative path for the ``security_token_file`` is provided (used in session token-bases authentication).
13+
514
2.8.8
615
-----
716
Release date: July 27, 2023

docs/source/user_guide/cli/quickstart.rst

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,55 +57,49 @@ Installing the ``oracle-ads`` base package
5757
Installing extras libraries
5858
+++++++++++++++++++++++++++
5959

60-
The ``all-optional`` module will install all optional dependencies.
61-
62-
.. code-block:: bash
63-
64-
$ python3 -m pip install oracle-ads[all-optional]
65-
6660
To work with gradient boosting models, install the ``boosted`` module. This module includes XGBoost and LightGBM model classes.
6761

6862
.. code-block:: bash
6963
7064
$ python3 -m pip install oracle-ads[boosted]
7165
72-
For big data use cases using Oracle Big Data Service (BDS), install the ``bds`` module. It includes the following libraries: `ibis-framework[impala]`, `hdfs[kerberos]` and `sqlalchemy`.
66+
For big data use cases using Oracle Big Data Service (BDS), install the ``bds`` module. It includes the following libraries: ``ibis-framework[impala]``, ``hdfs[kerberos]`` and ``sqlalchemy``.
7367

7468
.. code-block:: bash
7569
7670
$ python3 -m pip install oracle-ads[bds]
7771
78-
To work with a broad set of data formats (for example, Excel, Avro, etc.) install the ``data`` module. It includes the following libraries: `fastavro`, `openpyxl`, `pandavro`, `asteval`, `datefinder`, `htmllistparse`, and `sqlalchemy`.
72+
To work with a broad set of data formats (for example, Excel, Avro, etc.) install the ``data`` module. It includes the following libraries: ``fastavro``, ``openpyxl``, ``pandavro``, ``asteval``, ``datefinder``, ``htmllistparse``, and ``sqlalchemy``.
7973

8074
.. code-block:: bash
8175
8276
$ python3 -m pip install oracle-ads[data]
8377
84-
To work with geospatial data install the ``geo`` module. It includes the `geopandas` and libraries from the `viz` module.
78+
To work with geospatial data install the ``geo`` module. It includes the ``geopandas`` and libraries from the ``viz`` module.
8579

8680
.. code-block:: bash
8781
8882
$ python3 -m pip install oracle-ads[geo]
8983
90-
Install the ``notebook`` module to use ADS within the Oracle Cloud Infrastructure Data Science service `Notebook Session <https://docs.oracle.com/en-us/iaas/data-science/using/manage-notebook-sessions.htm>`_. This module installs `ipywidgets` and `ipython` libraries.
84+
Install the ``notebook`` module to use ADS within the Oracle Cloud Infrastructure Data Science service `Notebook Session <https://docs.oracle.com/en-us/iaas/data-science/using/manage-notebook-sessions.htm>`_. This module installs ``ipywidgets`` and ``ipython`` libraries.
9185

9286
.. code-block:: bash
9387
9488
$ python3 -m pip install oracle-ads[notebook]
9589
96-
To work with ONNX-compatible run times and libraries designed to maximize performance and model portability, install the ``onnx`` module. It includes the following libraries, `onnx`, `onnxruntime`, `onnxmltools`, `skl2onnx`, `xgboost`, `lightgbm` and libraries from the `viz` module.
90+
To work with ONNX-compatible run times and libraries designed to maximize performance and model portability, install the ``onnx`` module. It includes the following libraries, ``onnx``, ``onnxruntime``, ``onnxmltools``, ``skl2onnx``, ``xgboost``, ``lightgbm`` and libraries from the ``viz`` module.
9791

9892
.. code-block:: bash
9993
10094
$ python3 -m pip install oracle-ads[onnx]
10195
102-
For infrastructure tasks, install the ``opctl`` module. It includes the following libraries, `oci-cli`, `docker`, `conda-pack`, `nbconvert`, `nbformat`, and `inflection`.
96+
For infrastructure tasks, install the ``opctl`` module. It includes the following libraries, ``oci-cli``, ``docker``, ``conda-pack``, ``nbconvert``, ``nbformat``, and ``inflection``.
10397

10498
.. code-block:: bash
10599
106100
$ python3 -m pip install oracle-ads[opctl]
107101
108-
For hyperparameter optimization tasks install the ``optuna`` module. It includes the `optuna` and libraries from the `viz` module.
102+
For hyperparameter optimization tasks install the ``optuna`` module. It includes the ``optuna`` and libraries from the ``viz`` module.
109103

110104
.. code-block:: bash
111105
@@ -117,36 +111,36 @@ For Spark tasks install the ``spark`` module.
117111
118112
$ python3 -m pip install oracle-ads[spark]
119113
120-
Install the ``tensorflow`` module to include `tensorflow` and libraries from the ``viz`` module.
114+
Install the ``tensorflow`` module to include ``tensorflow`` and libraries from the ``viz`` module.
121115

122116
.. code-block:: bash
123117
124118
$ python3 -m pip install oracle-ads[tensorflow]
125119
126-
For text related tasks, install the ``text`` module. This will include the `wordcloud`, `spacy` libraries.
120+
For text related tasks, install the ``text`` module. This will include the ``wordcloud``, ``spacy`` libraries.
127121

128122
.. code-block:: bash
129123
130124
$ python3 -m pip install oracle-ads[text]
131125
132-
Install the ``torch`` module to include `pytorch` and libraries from the ``viz`` module.
126+
Install the ``torch`` module to include ``pytorch`` and libraries from the ``viz`` module.
133127

134128
.. code-block:: bash
135129
136130
$ python3 -m pip install oracle-ads[torch]
137131
138-
Install the ``viz`` module to include libraries for visualization tasks. Some of the key packages are `bokeh`, `folium`, `seaborn` and related packages.
132+
Install the ``viz`` module to include libraries for visualization tasks. Some of the key packages are ``bokeh``, ``folium``, ``seaborn`` and related packages.
139133

140134
.. code-block:: bash
141135
142136
$ python3 -m pip install oracle-ads[viz]
143137
138+
See ``pyproject.toml`` file ``[project.optional-dependencies]`` section for full list of modules and its list of extra libraries.
139+
144140
**Note**
145141

146142
Multiple extra dependencies can be installed together. For example:
147143

148144
.. code-block:: bash
149145
150146
$ python3 -m pip install oracle-ads[notebook,viz,text]
151-
152-

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build-backend = "flit_core.buildapi"
1919

2020
# Required
2121
name = "oracle_ads" # the install (PyPI) name; name for local build in [tool.flit.module] section below
22-
version = "2.8.8"
22+
version = "2.8.9"
2323

2424
# Optional
2525
description = "Oracle Accelerated Data Science SDK"
@@ -114,7 +114,7 @@ onnx = [
114114
"protobuf<=3.20",
115115
"skl2onnx>=1.10.4",
116116
"tf2onnx",
117-
"xgboost==1.5.1",
117+
"xgboost<=1.7",
118118
]
119119
opctl = [
120120
"conda-pack",

tests/unitary/with_extras/model/test_model_info_extractor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ def test_generic_lightgbm_model(self):
164164
reason="wait for proper testing pipeline for tensorflow related tests"
165165
)
166166
def test_generic_keras_model(self):
167-
168167
import tensorflow
169168

170169
mnist = tensorflow.keras.datasets.mnist
@@ -239,7 +238,6 @@ class any:
239238
def test_huggingface_extractors(
240239
self,
241240
):
242-
243241
fake_pipeline = FakePipeline("fake", Model())
244242
metadata_taxonomy = ModelInfoExtractorFactory.extract_info(fake_pipeline)
245243
assert isinstance(metadata_taxonomy, dict)

0 commit comments

Comments
 (0)