Repository: huggingface/tokenizers (language: rust)

Issue:
Alignment of python versions in pypi
Could you please change required python version for the newest release.

From what I understand from 0.21.0 onward py3.7 and py3.8 are no longer supported, but https://pypi.org/project/tokenizers/ does not reflect that, which means, even despite fix, some dependent packages may still be broken

![image](https://github.com/user-attachments/assets/551fedf1-4a9f-4fd0-bba2-a2ebfc43e9bb)



Discussion / hints:
Yep on it!

Fix patch:
diff --git a/bindings/node/Cargo.toml b/bindings/node/Cargo.toml
index ff05b4908..bcf6e3e7a 100644
--- a/bindings/node/Cargo.toml
+++ b/bindings/node/Cargo.toml
@@ -2,7 +2,7 @@
 authors = ["Nicolas Patry <nicolas@huggingface.co>"]
 edition = "2021"
 name    = "node"
-version = "0.20.4-dev.0"
+version = "0.21.0-dev.0"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 6c5a5244d..475b1fa23 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "tokenizers-python"
-version = "0.20.4-dev.0"
+version = "0.21.0-dev.0"
 authors = ["Anthony MOI <m.anthony.moi@gmail.com>"]
 edition = "2021"
 
diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml
index 5cdf090fa..681619a2f 100644
--- a/bindings/python/pyproject.toml
+++ b/bindings/python/pyproject.toml
@@ -1,6 +1,6 @@
 [project]
 name = 'tokenizers'
-requires-python = '>=3.7'
+requires-python = '>=3.9'
 authors = [
     {name = 'Nicolas Patry', email = 'patry.nicolas@protonmail.com'},
     {name = 'Anthony Moi', email = 'anthony@huggingface.co'}
diff --git a/tokenizers/Cargo.toml b/tokenizers/Cargo.toml
index 16285e113..cf3db78b4 100644
--- a/tokenizers/Cargo.toml
+++ b/tokenizers/Cargo.toml
@@ -2,7 +2,7 @@
 authors = ["Anthony MOI <m.anthony.moi@gmail.com>", "Nicolas Patry <patry.nicolas@protonmail.com>"]
 edition = "2018"
 name = "tokenizers"
-version = "0.20.4-dev.0"
+version = "0.21.0-dev.0"
 homepage = "https://github.com/huggingface/tokenizers"
 repository = "https://github.com/huggingface/tokenizers"
 documentation = "https://docs.rs/tokenizers/"


Test patch: