Skip to content

Commit 278a280

Browse files
Releasing version 3.68.1
Releasing version 3.68.1
2 parents cd6b080 + f3d6557 commit 278a280

File tree

15 files changed

+490
-80
lines changed

15 files changed

+490
-80
lines changed

CHANGELOG.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,57 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
3.68.1 - 2025-10-21
10+
--------------------
11+
Added
12+
~~~~~
13+
* Support for Helm Critical Resource Protection in DevOps Deploy service
14+
15+
* ``oci devops trigger-dry-run-result trigger-deployment-dry-run``
16+
* ``oci devops trigger-dry-run-result trigger-deployment-dry-run-create-deploy-pipeline-deployment-details``
17+
* ``oci devops trigger-dry-run-result trigger-deployment-dry-run-create-single-deploy-stage-deployment-details``
18+
* ``oci devops trigger-dry-run-result trigger-deployment-dry-run-create-deploy-pipeline-redeployment-details``
19+
* ``oci devops trigger-dry-run-result trigger-deployment-dry-run-create-single-deploy-stage-deployment-details``
20+
* ``oci devops trigger-dry-run-result trigger-deployment-dry-run-create-single-deploy-stage-redeployment-details``
21+
22+
* Support for Parameterized Pipelines as a part of the Data Science Service
23+
24+
* ``oci data-science pipeline create --parameters``
25+
* ``oci data-science pipeline update --parameters``
26+
* ``oci data-science pipeline-run create --parameters-override``
27+
* ``oci data-science pipeline-run create --storage-mount-configuration-override-details-list``
28+
* ``oci data-science job-run create --job-storage-mount-configuration-override-details-list``
29+
30+
* Support for new optional ZPR Security Attributes parameter for creating/updating stream pool in Streaming Service
31+
32+
* ``oci streaming stream-pool create --security-attributes``
33+
* ``oci streaming stream-pool update --security-attributes``
34+
35+
* Support for Configurable Version Upgrade Policies in MySQL HeatWave Service
36+
37+
* ``oci mysql db-system update --maintenance``
38+
* ``oci mysql db-system import --maintenance``
39+
* ``oci mysql db-system create --maintenance``
40+
* ``oci mysql db-system clone --maintenance``
41+
42+
* Support for 26ai version in Fleet Software Update Service
43+
44+
* ``oci fleet-software-update fsu-collection create-db --source-major-version``
45+
* ``oci fleet-software-update fsu-collection create-gi --source-major-version``
46+
* ``oci fleet-software-update fsu-discovery create-db --details-source-major-version``
47+
* ``oci fleet-software-update fsu-discovery create-gi --details-source-major-version``
48+
49+
* Support to use LDAP schema version RFC2307bis when creating or updating a mount target to set the LDAP ID map in File Storage Service
50+
51+
* ``oci fs mount-target create --ldap-idmap``
52+
* ``oci fs mount-target update --ldap-idmap``
53+
54+
* Support for python 3.13
55+
56+
Security
57+
~~~~~~~
58+
* updated setuptools dependency to `>= 78.1.1` for python version `>3.8` per: https://www.cve.org/CVERecord?id=CVE-2025-47273.
59+
960
3.68.0 - 2025-10-07
1061
--------------------
1162
Added

requirements.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ Jinja2>=3.1.5; python_version >= '3.7'
1515
jmespath==0.10.0
1616
ndg-httpsclient==0.4.2
1717
mock==2.0.0
18-
oci==2.161.0
19-
packaging==20.2
18+
oci==2.161.1
19+
packaging>=22.0; python_version > '3.8'
20+
packaging==20.2; python_version <= '3.8'
2021
pluggy==0.13.0
2122
py==1.11.0
2223
pyasn1==0.2.3
@@ -32,7 +33,8 @@ requests==2.27.0; python_version == '3.6'
3233
requests==2.31.0; python_version == '3.7'
3334
requests>=2.32.0; python_version > '3.7'
3435
six>=1.15.0
35-
sphinx==3.3.0
36+
sphinx==3.3.0; python_version < '3.13'
37+
sphinx==6.2.1; python_version == '3.13'
3638
sphinx-rtd-theme==0.4.3
3739
terminaltables==3.1.10
3840
tox==3.23.0
@@ -43,10 +45,12 @@ virtualenv>=20.26.6; python_version > '3.7'
4345
pytest-xdist==1.22.2
4446
pytest-forked==1.0.2
4547
PyYAML>=5.4,<=6.0.2
46-
docutils==0.15.2
48+
docutils==0.15.2; python_version < '3.13'
49+
docutils==0.18.1; python_version == '3.13'
4750
prompt-toolkit==3.0.29; python_version == '3.6'
4851
prompt-toolkit>=3.0.38,<=3.0.43; python_version > '3.6'
49-
setuptools>70.0.0; python_version > '3.7'
52+
setuptools>=78.1.1,<81; python_version > '3.8'
53+
setuptools==70.0.0; python_version == '3.8'
5054
setuptools==68.0.0; python_version == '3.7'
5155
setuptools==59.6.0; python_version == '3.6'
5256
# this is required because of python 3.6 requests dependency version bound

scripts/install/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ The order of precedence in which this scripts applies input parameters is as fol
7777

7878
Checksums
7979
-----------
80+
..
81+
These checksums must also be changed if we change install scripts right?
82+
8083
install.sh eff201279e7198101e8cbbe4cea2ca559732f3cd502e145354d7477d2a4621ce
8184
install.ps1 8dba598ded1718cfa2e52ca8785ece31d0b573868eaec9ad2af535d43797a70c
8285
install.py 9d2714cad813a47e725a644a74621f29093c4e82ec9db149a09aa4d731e74e83

scripts/install/install.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
3838
Default options:
3939
- Install required version of Python if not already installed (to $env:USERPROFILE\Python)
40-
- Create virtualenv in $env:USERPROFILE\lib\oracle-cli
40+
- Create virtualenv in $env:USERPROFILE\lib\oracle-cli or in $env:USERPROFILE\lib\ocli (windows builds < 14393)
4141
- Upgrade / replace any current installation in $env:USERPROFILE\lib\oracle-cli
4242
- Place oci executable in $env:USERPROFILE\bin
4343
- Add $env:USERPROFILE\bin to PATH
@@ -69,7 +69,9 @@ if ([System.Enum]::GetNames('System.Net.SecurityProtocolType') -Contains 'Tls12'
6969
}
7070

7171

72-
$PythonInstallScriptUrl = "https://raw.githubusercontent.com/oracle/oci-cli/v3.2.1/scripts/install/install.py"
72+
# The python script also has to be changed, and the right one will be released to GitHub in oci-cli v3.68.1
73+
# Should this be changed to https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.py instead?
74+
$PythonInstallScriptUrl = "https://raw.githubusercontent.com/oracle/oci-cli/v3.68.1/scripts/install/install.py"
7375
$FallbackPythonInstallScriptUrl = "https://raw.githubusercontent.com/oracle/oci-cli/v2.22.0/scripts/install/install.py"
7476
$PythonVersionToInstall = "3.8.5" # version of Python to install if none exists
7577
$MinValidPython3Version = "3.6.0" # minimum required version of Python 3 on system

scripts/install/install.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ def is_windows():
2828
return sys.platform == 'win32'
2929

3030

31+
def is_long_path_supported():
32+
# Using build number to differentiate windows kernels. Not sure if this is the most robust way.
33+
# Starting in Windows 10, version 1607 (build 14393), MAX_PATH limitations have been removed. Not removed by default
34+
# For windows builds prior build 14393, MAX_PATH limitations exist.
35+
if not is_windows():
36+
return True
37+
if sys.getwindowsversion().build < 14393:
38+
return False
39+
return True
40+
41+
3142
def get_linux_distribution_id_like():
3243
# An example of a line in /etc/os-release is ID_LIKE=ubuntu
3344
# An example of a line in /etc/os-release is ID=debian
@@ -80,7 +91,9 @@ def get_ubuntu_version():
8091
VIRTUALENV_DOWNLOAD_URL = 'https://github.com/pypa/get-virtualenv/blob/{}/public/virtualenv.pyz?raw=true'.format(VIRTUALENV_VERSION)
8192
VIRTUALENV_ARCHIVE_SHA256 = 'a5d9b1f27bc790423f7910876c0e46cf476044f4ebd76d29dc6c06a3ab019e93'
8293

83-
DEFAULT_INSTALL_DIR = os.path.expanduser(os.path.join('~', 'lib', 'oracle-cli'))
94+
# Temporary fix of reducing installation dirname to prevent file path length to exceed MAX_PATH in windows builds that
95+
# don't support long paths (windows builds starting from 14393, support long paths)
96+
DEFAULT_INSTALL_DIR = os.path.expanduser(os.path.join('~', 'lib', 'oracle-cli')) if is_long_path_supported() else os.path.expanduser(os.path.join('~', 'lib', 'ocli'))
8497
DEFAULT_EXEC_DIR = os.path.expanduser(os.path.join('~', 'bin'))
8598
DEFAULT_SCRIPT_DIR = os.path.expanduser(os.path.join('~', 'bin', 'oci-cli-scripts'))
8699
OCI_EXECUTABLE_NAME = 'oci.exe' if is_windows() else 'oci'

scripts/install/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
# individual params > accept_all_defaults > interactive inputs
1212
#
1313
SHELL_INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh"
14-
INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/oracle/oci-cli/v3.2.1/scripts/install/install.py"
14+
# The python script also has to be changed, and the right one will be released to GitHub in oci-cli v3.68.1
15+
# Should this be changed to https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.py instead?
16+
INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/oracle/oci-cli/v3.68.1/scripts/install/install.py"
1517
FALLBACK_INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/oracle/oci-cli/v2.22.0/scripts/install/install.py"
1618
_TTY=/dev/tty
1719
NO_TTY_REQUIRED=false

0 commit comments

Comments
 (0)