Repository: run-llama/llama_index
Pull request: build: support `python3=3.9,<4.0` for `llama-index-vector-stores-databricks`
# Description

Bumps supported python versions for `llama-index-vector-stores-databricks` from `>=3.9,<3.12` to `>=3.9,<4.0`

Fixes #17918

## New Package?

Did I fill in the `tool.llamahub` section in the `pyproject.toml` and provide a detailed README.md for my new integration or package?

- [ ] Yes
- [ ] No

## Version Bump?

Did I bump the version in the `pyproject.toml` file of the package I am updating? (Except for the `llama-index-core` package)

- [x] Yes
- [ ] No

## Type of Change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

Your pull-request will likely not be merged unless it is covered by some form of impactful unit testing.

- [ ] I added new unit tests to cover this change
- [X] I believe this change is already covered by existing unit tests

**There are no existing unit tests for this package**. I would be open to contributing to those, but I believe that should be a separate PR, as the scope of this PR was to address the supported versions of python.

## Suggested Checklist:

- [X] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have added Google Colab support for the newly added notebooks.
- [X] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
- [X] I ran `make format; make lint` to appease the lint gods


Problem statement:
[Feature Request]: llama-index-vector-stores-databricks support python 3.12
### Feature Description

`llama-index-vector-stores-databricks`  currently supports python <3.12. Open this up to at least 3.12, potentially <4.

I would be happy to create a PR if this idea is accepted.

### Reason

3.12 has been out for awhile and newer Databricks runtimes are on 3.12 now.

### Value of Feature

_No response_

Hints from issue discussion:
@themattmorris happy to review a PR! Hopefully it shouldn't be too complex, thanks in advance for your help!

Commit message: Merge branch 'main' into main

Patch to review:
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/llama_index/vector_stores/databricks/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/llama_index/vector_stores/databricks/base.py
index 64201ccfdd..120ee4bab4 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/llama_index/vector_stores/databricks/base.py
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/llama_index/vector_stores/databricks/base.py
@@ -6,13 +6,7 @@
 
 import json
 import logging
-from typing import (
-    Any,
-    List,
-    Dict,
-    Optional,
-    cast,
-)
+from typing import Any, List, Dict, Optional, cast
 from enum import Enum
 
 from databricks.vector_search.client import VectorSearchIndex
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/pyproject.toml b/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/pyproject.toml
index 3057c9f47c..27fd12612a 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/pyproject.toml
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/pyproject.toml
@@ -29,7 +29,7 @@ readme = "README.md"
 version = "0.3.0"
 
 [tool.poetry.dependencies]
-python = ">=3.9,<3.12"
+python = ">=3.9,<4.0"
 databricks-vectorsearch = "^0.21"
 llama-index-core = "^0.12.0"
 


Code review comments:
diff_hunk: @@ -29,7 +29,7 @@ readme = "README.md"
 version = "0.3.0"
path: llama-index-integrations/vector_stores/llama-index-vector-stores-databricks/pyproject.toml
text: @user1:
Let's bump the version here so CI will release a package with the updated metadata

@author:
Ah yes, thank you