packagecontrol / channel

Package Control Libraries Channel
https://packagecontrol.github.io/channel/
3 stars 5 forks source link

tiktoken dependenty added. #26

Closed yaroslavyaroslav closed 1 month ago

yaroslavyaroslav commented 1 month ago

Adds https://pypi.org/project/tiktoken

To fully use "tiktoken" packages need to add a "dependencies.json" with following content:

{
    "$schema": "sublime://packagecontrol.io/schemas/dependencies",

    "*": {
        "*": [
            "tiktoken",

            "regex",

            "requests",
            "charset-normalizer",
            "idna",
            "urllib3"
        ]
    }
}
deathaxe commented 1 month ago

The library requires

  1. regex which is currently not provided for python 3.8
  2. requests 0.26+ which is also not provided as it itself requires various libraries (urllib3, idna, ... ) all of which would need to explicitly declared by a package's dependencies.json.

Thus the library itself wouldn't be functional.

yaroslavyaroslav commented 1 month ago

Oh, bad luck