Skip to content

Commit f29f1e2

Browse files
authored
[Test] Update for sentencepiece (#1361)
It appears that `sentencepiece` has been updated with Python 3.13 support, and the [replacement package](https://pypi.org/project/dbowring-sentencepiece/) we were using has been yanked from PyPI. Update `setup.py` to reflect this. Closes #1222
1 parent a23df17 commit f29f1e2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
for v in extras_requires.values():
4545
all_requires = all_requires.union(v)
4646

47-
# See
48-
# https://github.com/guidance-ai/guidance/issues/1222
49-
sentencepiece_dependency = "sentencepiece" if sys.version_info.minor != 13 else "dbowring-sentencepiece"
50-
5147
# Required for builds etc.
5248
doc_requires = [
5349
"ipython",
@@ -79,7 +75,7 @@
7975
"papermill",
8076
"pillow",
8177
"protobuf",
82-
sentencepiece_dependency,
78+
"sentencepiece",
8379
"torch",
8480
"transformers",
8581
"tiktoken>=0.3",

0 commit comments

Comments
 (0)