Package: tiktoken / 0.11.0-1

Metadata

Package Version Patches format
tiktoken 0.11.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
1000 lower dep versions.patch | (download)

Cargo.toml | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 allow older versions of dependencies fancy-regex and bstr.
 Lower versioned build dependencies to versions currently in Debian Sid.
1010 lower dep version pyo3.patch | (download)

Cargo.toml | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 relaxed versioned dependency on pyo3 to 0.*. and regex to >=1.7.1.
 Version 0.22 of pyo3 is in Debian Sid, 0.17 is not available.  Changed
 dependency to > 0.x and < 1.x.  Version 1.8.3 of regex is missing in
 Debian Bookworm, reducing dependency to an available version.
 Also the code requires pyo3 enabling feature "gil-refs" when >= 0.21.
2000 debian build.patch | (download)

.cargo/config.toml | 5 5 + 0 - 0 !
Cargo.toml | 3 3 + 0 - 0 !
pyproject.toml | 4 2 + 2 - 0 !
3 files changed, 10 insertions(+), 2 deletions(-)

 tell cargo to use debian packages and keep debug info.
 Works thanks to "export CARGO_HOME = $(CURDIR)/debian/.cargo" in debian/rules.