Closed jhgoebbert closed 12 months ago
Since you're already willing to patch Cargo.toml, can you just patch it to use the exact versions of memchr and bstr you desire?
I am not too familiar with that, but the error message does not lead me to a solution.
patches must point to different sources
We have now updated to a newer version of Rust - that is now our "fix".
Ah I meant changing the dependencies directly instead of the patch.crates-io. Anyway, glad you've got things working! :-)
Hi, thank you for this great package. We are using it in combination with JupyterAI.
Lately memchr got updated to version 2.6.3 which requires
rust-version = "1.61"
: https://github.com/BurntSushi/memchr/blob/2.6.3/Cargo.toml#L14As memchr is a dependency of bstr ( https://github.com/BurntSushi/bstr/blob/1.0.1/Cargo.toml#L32 ) and bstr a dependency of tiktoken Rust 1.61 is now also required to install tiktoken.
I tried to add
to
Cargo.toml
but this does not work as it gives meIs there any other possible work-around to ensure that tiktoken keeps its support for Rust 1.60?