Skip to content

Commit ee37095

Browse files
authored
text-splitters: bump spacy version to 3.8.7 (#31834)
This allows to use spacy with Python 3.13
1 parent b8e9b4a commit ee37095

File tree

2 files changed

+230
-240
lines changed

2 files changed

+230
-240
lines changed

libs/text-splitters/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ test = [
3737
"langchain-core",
3838
]
3939
test_integration = [
40-
"spacy<3.8.4,>=3.0.0; python_version < \"3.10.0\"",
41-
"spacy<4.0.0,>=3.0.0; python_version < \"3.13.0\"",
40+
"spacy<4.0.0,>=3.8.7",
41+
"thinc<9.0.0,>=8.3.6",
4242
"nltk<4.0.0,>=3.9.1",
4343
"transformers<5.0.0,>=4.51.3",
44-
"sentence-transformers>=2.6.0; python_version < \"3.13\"",
44+
"sentence-transformers>=3.0.1",
4545
]
4646

4747
[tool.uv.sources]
@@ -54,7 +54,7 @@ enable_error_code = "deprecated"
5454
report_deprecated_as_note = "True"
5555

5656
[[tool.mypy.overrides]]
57-
module = ["konlpy", "nltk", "sentence_transformers", "spacy",]
57+
module = ["konlpy", "nltk",]
5858
ignore_missing_imports = "True"
5959

6060
[tool.ruff]

0 commit comments

Comments
 (0)