diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 75f8753..d7f8a24 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.9" - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Build wheels diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fe8e4f..ca3395a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Breaking Changes - Update to `v0.23.0` of `tree-sitter`. There was a breaking change for language definitions, so this is also a breaking change for us, especially on the Python side, since we support passing the language in. +- Minimum Python version for the Python bindings is now 3.9 since 3.8 will be EOL next month. #### Python diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 032ea12..dce0ab4 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -15,7 +15,7 @@ name = "semantic_text_splitter" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.22", features = ["abi3-py38"] } +pyo3 = { version = "0.22", features = ["abi3-py39"] } text-splitter = { path = "../..", features = [ "code", "markdown", diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 2733138..3397c58 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "semantic-text-splitter" -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython",