Skip to content

Commit 0ddf828

Browse files
committed
[cd build] Update Python version requirements
According to what GitHub runners support
1 parent 447a1d4 commit 0ddf828

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nlpo3-python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ segment("สวัสดีครับ", dict_name="dict_name", safe=True)
8686
### Requirements
8787

8888
- [Rust 2018 Edition](https://www.rust-lang.org/tools/install)
89-
- Python 3.6 or newer
89+
- Python 3.9 or newer
9090
- Python Development Headers
9191
- Ubuntu: `sudo apt-get install python3-dev`
9292
- macOS: No action needed
93-
- [PyO3](https://github.com/PyO3/pyo3) - already included in Cargo.toml
93+
- [PyO3](https://github.com/PyO3/pyo3) - already included in `Cargo.toml`
9494
- [setuptools-rust](https://github.com/PyO3/setuptools-rust)
9595

9696
### Steps

nlpo3-python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "nlpo3"
77
version = "1.3.1-dev"
88
description = "Python binding for nlpO3 Thai language processing library in Rust"
99
readme = "README.md"
10-
requires-python = ">=3.6"
10+
requires-python = ">=3.9"
1111
license = { text = "Apache-2.0" }
1212
keywords = ["thai", "tokenizer", "nlp", "word-segmentation", "pythainlp"]
1313
authors = [
@@ -38,7 +38,7 @@ homepage = "https://github.com/PyThaiNLP/nlpo3/"
3838
repository = "https://github.com/PyThaiNLP/nlpo3/"
3939

4040
[tool.poetry.dependencies]
41-
python = "^3.6"
41+
python = "^3.9"
4242

4343
[tool.poetry.dev-dependencies]
4444
pytest = "*"

0 commit comments

Comments
 (0)