From a3900eb6f1e24c4f3b9d97137526bbd838cf3245 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Sun, 2 Jun 2024 23:03:49 +0200 Subject: [PATCH] v0.13.3 - Fix tree-sitter-python specification --- .github/workflows/python.yml | 8 ++++---- CHANGELOG.md | 4 ++++ Cargo.lock | 4 ++-- Cargo.toml | 2 +- bindings/python/pyproject.toml | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b2d8ca6..9a056f6 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -56,7 +56,7 @@ jobs: run: | set -e pip install --no-index --find-links dist --force-reinstall semantic-text-splitter - pip install pytest tokenizers tree-sitter tree-sitter-python@git+https://github.com/tree-sitter/tree-sitter-python + pip install pytest tokenizers tree-sitter tree-sitter-python pytest linux: @@ -93,7 +93,7 @@ jobs: run: | set -e pip install --no-index --find-links dist --force-reinstall semantic-text-splitter - pip install pytest tokenizers tree-sitter tree-sitter-python@git+https://github.com/tree-sitter/tree-sitter-python + pip install pytest tokenizers tree-sitter tree-sitter-python pytest windows: @@ -130,7 +130,7 @@ jobs: run: | set -e pip install --no-index --find-links dist --force-reinstall semantic-text-splitter - pip install pytest tokenizers tree-sitter tree-sitter-python@git+https://github.com/tree-sitter/tree-sitter-python + pip install pytest tokenizers tree-sitter tree-sitter-python pytest macos: @@ -166,7 +166,7 @@ jobs: run: | set -e pip install --no-index --find-links dist --force-reinstall semantic-text-splitter - pip install pytest tokenizers tree-sitter tree-sitter-python@git+https://github.com/tree-sitter/tree-sitter-python + pip install pytest tokenizers tree-sitter tree-sitter-python pytest sdist: diff --git a/CHANGELOG.md b/CHANGELOG.md index 8400880..fee368b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.13.3 + +Fixes broken PyPI publish because of a bad dev dependency specification. + ## v0.13.2 ### What's New diff --git a/Cargo.lock b/Cargo.lock index 28ff86d..18d671d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1872,7 +1872,7 @@ dependencies = [ [[package]] name = "semantic-text-splitter" -version = "0.13.2" +version = "0.13.3" dependencies = [ "auto_enums", "pyo3", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "text-splitter" -version = "0.13.2" +version = "0.13.3" dependencies = [ "ahash", "auto_enums", diff --git a/Cargo.toml b/Cargo.toml index 73e656e..3be632b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = ["bindings/*"] [workspace.package] -version = "0.13.2" +version = "0.13.3" authors = ["Ben Brandt "] edition = "2021" description = "Split text into semantic chunks, up to a desired chunk size. Supports calculating length by characters and tokens, and is callable from Rust and Python." diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index e09ca84..29d6af8 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -18,7 +18,7 @@ test = [ "mypy", "tokenizers", "tree-sitter", - "tree-sitter-python@git+https://github.com/tree-sitter/tree-sitter-python", + "tree-sitter-python", ] docs = ["pdoc"]