From 2a886e8c5e862b4e5c1e43f7d80a2006d0797391 Mon Sep 17 00:00:00 2001 From: kampersanda Date: Sat, 30 May 2026 21:06:27 +0900 Subject: [PATCH 1/3] Add project metadata to pyproject.toml --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d167149..d0dec23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,3 +6,12 @@ build-backend = "maturin" name = "vibrato" dynamic = ["version"] requires-python = ">=3.10" +description = "🎤 vibrato: VIterbi-Based acceleRAted TOkenizer" +readme = "README.md" +classifiers = [ + "License :: OSI Approved :: Apache Software License", + "License :: OSI Approved :: MIT License", + "Programming Language :: Rust", + "Topic :: Software Development :: Libraries", + "Topic :: Text Processing", +] From b93da8149ae5e53783d4390a99e2a39146fc12b1 Mon Sep 17 00:00:00 2001 From: kampersanda Date: Sat, 30 May 2026 21:20:08 +0900 Subject: [PATCH 2/3] Update Read the Docs configuration and add optional dependencies for documentation --- .readthedocs.yaml | 9 ++++++--- pyproject.toml | 6 ++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3f3618e..ab3c4b4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -2,14 +2,17 @@ version: 2 sphinx: builder: html + configuration: docs/source/conf.py build: - os: ubuntu-20.04 + os: ubuntu-24.04 tools: - python: "3.9" - rust: "1.64" + python: latest + rust: latest python: install: - method: pip path: . + extra_requirements: + - docs diff --git a/pyproject.toml b/pyproject.toml index d0dec23..c14cf55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,3 +15,9 @@ classifiers = [ "Topic :: Software Development :: Libraries", "Topic :: Text Processing", ] + +[project.optional-dependencies] +docs = [ + "sphinx", + "sphinx-rtd-theme", +] From 82a88f8a084864f76b7a992f05f77cf98d060006 Mon Sep 17 00:00:00 2001 From: kampersanda Date: Sat, 30 May 2026 21:29:59 +0900 Subject: [PATCH 3/3] Bump version to 0.2.3 in Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ee18a06..350b70e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "python-vibrato" -version = "0.2.2" +version = "0.2.3" edition = "2021" [lib]