-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
What happened?
Python 3.14 is scheduled to be released on Tuesday. (https://peps.python.org/pep-0745/) The dependency on overrides
is a problem, as it raises an AttributeError
when it is imported under Python 3.14. An issue has been raised and a pull request has been submitted to the GitHub repo for the overrides
project. But the maintainer has been unresponsive.
Current behavior:
In Python 3.14+, whenever anything is imported from the overrides
package (an external dependency), an AttributeError
is immediately raised:
AttributeError: module 'typing' has no attribute 'ByteString'
Desired behavior:
For Python 3.12+, do not depend on overrides
, as the standard library offers typing.override
as a suitable replacement. For runtimes using Python 3.11 are earlier, overrides
should still be used until chroma
ends its support of those runtimes.
Versions
Chroma v0.3.24
or later (including latest
)
Python 3.14.0rc2
OS: Any
Relevant log output
AttributeError: module 'typing' has no attribute 'ByteString'