trio-typing
Static type checking support for Trio and related projects
0.10.0
1.4M downloads/mo
#3946 most downloaded on PyPI
python-trio/trio-typing
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.3 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
8 years old
11 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Feb 2019 to Dec 2023Releases
latest 11-
0.10.001 Dec 2023Commits, not release notes
This project publishes no release notes. Between
v0.9.0andv0.10.0there were 8 commits, 4 of them substantive:- Replace plugin.args_invariant_decorator_callback with use of ParamSpec, to support mypy 1.7
- Placate black and stubtest
- CI fixes
- Fix DTLSChannel typo
-
0.9.017 Aug 2023Commits, not release notes
This project publishes no release notes. Between
v0.8.0andv0.9.0there were 16 commits, 9 of them substantive:- Update init.pyi
- Fix TaskStatus.started type unsafety when not using the mypy plugin
- Add strict_exception_groups parameter to start_guest_run()
- Fix mypy 1.4 plugin API and error changes
- Fix stubtest errors caused by mypy 1.4 upgrade
- Add support for mypy < 1.4 back in
- Add missing async_generator dependency
- Fix stubs to match changes in trio
- Inline default object() in RunVar
-
0.8.029 Mar 2023Commits, not release notes
This project publishes no release notes. Between
v0.7.0andv0.8.0there were 37 commits, 19 of them substantive:- Fix minor issues in socket stubs
- Fixed return type of getnameinfo()
- Fixed return type of getaddrinfo()
- Allow clock= argument of trio.run() and trio.lowlevel.start_guest_run() to be None
- Update black to 22.3
- Make Listener covariant w.r.t. the resource
- Fix typing for trio.abc.HostnameResolver getaddrinfo() and getnameinfo()
- Remove python 3.6 from test matrix
- Fix open_signal_receiver misannotation
- Fix type annotation of trio.socket.SocketType.listen
- [outcome] Add support for type checking match
- Fix takes_callable_and_args TypeVar binding bug
- Add stubtest, fix incorrect stubs
- Updated type annotations for getaddrinfo()
- Run black
- Update stubs for upstream updates we haven't taken yet: lowlevel.open_process(), nursery.start(run_process, ...), run(strict_exception_groups=...), DTLS
- Run black and fix typo
- Fix mypy errors
- Tweak stubtest allowlist
-
0.7.016 Dec 2021Commits, not release notes
This project publishes no release notes. Between
v0.6.0andv0.7.0there were 8 commits, 3 of them substantive:- Mark many subprocess types as Optional
- Add support for mypy 0.920
- Remove some socket constants that seem to have been removed from typeshed
-
0.6.003 Dec 2021Commits, not release notes
This project publishes no release notes. Between
v0.5.1andv0.6.0there were 34 commits, 21 of them substantive:- Fix aclosing async generator support
- Changed serve_tcp to make task_status parameter optional to match trio lib
- Added default value for task_status for serve_ssl_over_tcp method
- Update stubs for trio 0.18.0
- Fixes #40
- Fixes #40 (2nd try)
- Allow Path objects in subprocess functions
- Port CI to Github Actions
- Make ci.sh executable
- Misc fixes
- Bump mypy version, reformat
- Fix type check errors
- Fix more CI issues
- Fix one more typecheck error
- Try again
- Allow subprocess functions to take PathLikes for the cwd parameter
- Add missing typing import, fix quotes
- Add missing local_address argument of trio.open_tcp_stream()
- Do open() mode interpretation using Literal types rather than plugin
- Fix formatting
…and 1 more.
-
0.5.108 Jul 2021Commits, not release notes
This project publishes no release notes. Between
v0.5.0andv0.5.1there were 6 commits, 2 of them substantive:- move mypy dependency under "mypy" extras_require
- Update testsuite for recent changes in mypy error messages
-
0.5.029 Jun 2020Commits, not release notes
This project publishes no release notes. Between
v0.4.0andv0.5.0there were 6 commits, 2 of them substantive:- Update stubs to match Trio 0.16
- Fix CI
-
0.4.012 Dec 2019Commits, not release notes
This project publishes no release notes. Between
v0.3.0andv0.4.0there were 19 commits, 10 of them substantive:- Fix attrs version used on CI
- Pin mypy at 0.740 for now
- Test on released 3.8 and nightly 3.9a
- Fix some false negatives
- Mark context managers that can't swallow exceptions as returning None
- Update tests
- Update black to 19.10b0
- Update mypy to 0.750
- Rearrange for better inference
- blacken
-
0.3.017 Oct 2019Commits, not release notes
This project publishes no release notes. Between
v0.2.0andv0.3.0there were 19 commits, 12 of them substantive:- Fix stubs for memory send/receive streams
- Add several missing trio.Path methods and fix return type of iteration functions
- Fix formatting
- Semaphore isn't spelled like that
- Update for trio v0.12.0 and mypy v0.740
- blacken
- Update tool versions in CI
- Add missing files
- Ignore warings from the 'imp' module which are indirectly triggered by mypy.build
- Tweak warnings filter
- Use py3.5 compatible syntax
- Pin attrs 19.1.0 since outcome creates deprecation warnings with 19.2.0
-
0.2.019 Feb 2019Nothing published for this version
-
0.1.011 Feb 2019Nothing published for this version