Skip to content

Commit f3afcd5

Browse files
committed
python3.11-tiktoken: bump to 0.9.0
1 parent e84f10f commit f3afcd5

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- a/setup.py
2+
+++ b/setup.py
3+
@@ -1,4 +1,4 @@
4+
-from setuptools import setup
5+
+from setuptools import setup, Extension
6+
from setuptools_rust import Binding, RustExtension
7+
8+
setup(
9+
@@ -16,4 +16,5 @@
10+
package_data={"tiktoken": ["py.typed"]},
11+
packages=["tiktoken", "tiktoken_ext"],
12+
zip_safe=False,
13+
+ ext_modules=[Extension('dummy', sources=[])],
14+
)

tur-pypi-311/python3.11-tiktoken/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://github.com/openai/tiktoken
22
TERMUX_PKG_DESCRIPTION="A fast BPE tokeniser for use with OpenAI's models"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
5-
TERMUX_PKG_VERSION="0.8.0"
5+
TERMUX_PKG_VERSION="0.9.0"
66
TERMUX_PKG_SRCURL=https://github.com/openai/tiktoken/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz
7-
TERMUX_PKG_SHA256=6ac7a9cfe9f9c4d111ea633b7ae2214ba504a6a4e994b26dff28b3bdee919293
7+
TERMUX_PKG_SHA256=3ab7d5464350c979a46a036247bfc329ffc783a98f0da6c1fbd3c7a494ef19a6
88
TERMUX_PKG_AUTO_UPDATE=true
9-
TERMUX_PKG_DEPENDS="libc++, python3.10"
9+
TERMUX_PKG_DEPENDS="libc++, python3.11"
1010
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel, setuptools-rust"
1111
TERMUX_PKG_PYTHON_TARGET_DEPS="'regex>=2022.1.18', 'requests>=2.26.0'"
1212
TERMUX_PKG_BUILD_IN_SRC=true

0 commit comments

Comments
 (0)