commit | 295705fd25ab2a20b5267977da32305cb6455ba5 | [log] [tgz] |
---|---|---|
author | Alex Waygood <Alex.Waygood@Gmail.com> | Wed May 31 19:29:56 2023 +0100 |
committer | GitHub <noreply@github.com> | Wed May 31 11:29:56 2023 -0700 |
tree | d77855a5179b07effe4e8110b288f8a9c002afeb | |
parent | bb75d261196aa6f520d1b80b373891c860ebb71b [diff] |
Add a cron job for testing third-party users of typing_extensions (#206) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
The typing_extensions
module serves two related purposes:
typing.TypeGuard
is new in Python 3.10, but typing_extensions
allows users on previous Python versions to use it too.typing
module.typing_extensions
uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it's safe to depend on typing_extensions
like this: typing_extensions >=x.y, <(x+1)
, where x.y
is the first version that includes all features you need.
typing_extensions
supports Python versions 3.7 and higher.
See the documentation for a complete listing of module contents.
To run tests, navigate into the src/
directory and run test_typing_extensions.py
.