From c48ae5ae6b27bbd23dfeffaf25b891d53fc2f66b Mon Sep 17 00:00:00 2001 From: Allen Hosler Date: Thu, 6 Nov 2025 09:06:05 -0800 Subject: [PATCH 1/2] Bump version to 1.3.4 and add support for Python 3.13-3.14 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 84215bf..52b70c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ build-backend = "flit_core.buildapi" # Required name = "ocifs" # the install (PyPI) name -version = "1.3.3" +version = "1.3.4" # Optional description = "Convenient filesystem interface over Oracle Cloud's Object Storage" @@ -49,6 +49,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] # PEP 508 – Dependency specification for Python Software Packages - https://peps.python.org/pep-0508/ From 6e1ebea18d016696134aa1214c3ce14a2f2c54fb Mon Sep 17 00:00:00 2001 From: Allen Hosler Date: Thu, 6 Nov 2025 09:12:53 -0800 Subject: [PATCH 2/2] Enhance documentation on compartment access and regions Added information on compartment-specific access and connection to different regions. --- docs/source/getting-connected.ipynb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/source/getting-connected.ipynb b/docs/source/getting-connected.ipynb index f3db2fd..bd4e3f4 100644 --- a/docs/source/getting-connected.ipynb +++ b/docs/source/getting-connected.ipynb @@ -212,6 +212,29 @@ " storage_options={\"signer\": instance_principal_signer})" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Accessing a Specific Compartment" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "If your OCI policies are scoped to a specific compartment, you can use the `compartment_id` parameter to specify the compartment to use for authorization. This is useful when you have policies that grant access to resources within a specific compartment, but not at the tenancy level." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "fs = ocifs.OCIFileSystem(config=\"~/.oci/config\", profile=\"DEFAULT\", compartment_id=\"ocid1.compartment.oc1..test\")" + ] + }, { "cell_type": "markdown", "id": "peripheral-muslim",