Skip to content

✨[Feature] Move _C code out of _util.py #2121

@gs-olive

Description

@gs-olive

Context

PR #2118 moves key version-checking functionality into a utilities file which imports _C. This file, _util.py needs to be refactored and/or imported differently to allow use of the utility without pulling in the C dependency, which is undesirable for users who prefer to use Python-only runtimes or install a lightweight version of the repository.

Proposal

See 38a2c4c for a potential solution. In short, one can move the _C-dependent utilities to the ts directory and update the imports, with a new utilities file being created in the main directory.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions