Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python-trio/trio

Trio – a friendly Python library for async concurrency and I/O
https://github.com/python-trio/trio

fiddle type completeness

daed7bbee0c323fc0906fe47ad1e5115ed4d8482 authored about 1 year ago by richardsheridan <[email protected]>
Merge remote-tracking branch 'upstream/master' into from_thread_check_cancelled

# Conflicts:
# trio/_tests/verify_types_darwin.json
# trio/_tests/verify_types_linux.json
# trio...

d4d10bbb5667a694f3d81e457c67de4b32de7096 authored about 1 year ago by richardsheridan <[email protected]>
Update docs based on review comments

c1990d4a36848b18bdab09c04c3508b6f34cbbfd authored about 1 year ago by richardsheridan <[email protected]>
Add typing classifier to trio + add typing changelog (#2811)

* Add typing classifier

* Add a changelog entry for type hints too

3d62ea05e9014026a69a9d2ed5312c26dd6ede23 authored about 1 year ago by EXPLOSION <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2810)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0...

8b7da61a8d84db525a438f8cd60287bfd6a94689 authored over 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Switch to use ruff (#2795)

* Switch to ruff and deal with the slight differences

* Project must have a name

* Remove ...

bbb4be77ce5919145b87ab0730410ed815ae90db authored over 1 year ago by CoolCat467 <[email protected]>
Replace public usages of `functools.wraps` (#2796)

* Replace public usages of `functools.wraps`

* Fix a couple CI errors

* Don't blank out on...

170642eb3b4102aa440d1daa39f61e07a398af5c authored over 1 year ago by EXPLOSION <[email protected]>
Dependency updates (#2806)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

c30c76fafb58455e1b4caa944824b5a87da0cf11 authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Typing SocketType, test_socket, test_highlevel_[socket, open_tcp_stream, open_tcp_listeners] (#2774)

* Removes _SocketType as a public type, expanding SocketType to have "abstract" methods raising ...

24226c3d43cb935a00fb84510c240ebfc1456f90 authored over 1 year ago by John Litborn <[email protected]>
get _core/_run to 100% coverage (#2805)

0eaa91aac40939aa91d122c5ea4bfa9339f6e29a authored over 1 year ago by John Litborn <[email protected]>
Fix typo in reference-io.rst (#2804)

Fixes typo from "can can" to "can" in reference-io.rst

3a1d190efe05b499226544b538dbcb41b1902b56 authored over 1 year ago by lyphrowny <[email protected]>
Fix wrongly highlighted lines in reference-core.rst (#2803)

Fixes wrongly highlighted lines in reference-core.rst

080564ba120743ff8976b7a59a3b7ecde24695b5 authored over 1 year ago by lyphrowny <[email protected]>
add types to io_windows (#2761)

* add types to io_windows

* add changes to gen_exports

* Statically type some Windows CFFI...

4ee5413d3dfd064abecf6c8e9423528dbc4afc9c authored over 1 year ago by John Litborn <[email protected]>
#2683: Make `_util.Final` support static analysis by converting to a decorator. (#2793)

* Reimplement _util.Final as a decorator, replace usages.
* Use util.final along NoPublicConstr...

1e8327b6adaef8cd1eeeaac69da2dd6879718af7 authored over 1 year ago by Spencer Brown <[email protected]>
Add comment and assertion to `pidfd_open` workaround (#2799)

* add assertion check to os.pidfd_open on linux, clarifying it's for <3.9 and pypy

a4f12b7c1aa1e76021130cb574475fc60cae3592 authored over 1 year ago by John Litborn <[email protected]>
make imports in tests on libraries not in install_requires skip on ImportError (#2784)

* make imports in tests on libraries not in install_requires skip on ImportError

* change che...

f86cbed769fda5fa2de8eef092270993f32db5eb authored over 1 year ago by John Litborn <[email protected]>
thread messages do not necessarily have RetT

689d45ccc047681b08e756cdac13efb5363714be authored over 1 year ago by richardsheridan <[email protected]>
Add types to `_signals`, `test_signals` (#2794)

* Add types to _signals and test_signals

* Hide SignalReceiver from the API.

Convert this ...

c16003f08285d0b5b3b5b16d5bdc4f00b1e3cd52 authored over 1 year ago by Spencer Brown <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2797)

2d8a8d906aed815fbaedb7ea73e222f24c9c5bc3 authored over 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Add typing for some of the tests (#2771)

* Add typing for tests
`test_channel` had an error, was awaiting a synchronous function

* Us...

be39867137ee4593a8ab6cc3f3db83d7072eca05 authored over 1 year ago by CoolCat467 <[email protected]>
split up nonblocking send of message from blocking reception of response

1bb9b79219f3cb303e2c59ecda74f96558ab9017 authored over 1 year ago by richardsheridan <[email protected]>
type consistency between from_thread_run and from_thread_run_sync

b02dfe9a0e235e3e41d102b81ff92c47fc529a2d authored over 1 year ago by richardsheridan <[email protected]>
Fix KI protection decorator (#2781)

* Fix KI protection decorator

* Appease CI

* Update `verify_types` files

* Try using a ...

4a8404107468fb56f85424d288e236408e7fe4cf authored over 1 year ago by EXPLOSION <[email protected]>
Merge pull request #2791 from jakkdl/skip_covered_coveragerc

enable skip_covered in coveragerc

005d41d851add2c97b416d9911543d740f2a6a8d authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #2702 from jakkdl/ipython_exceptiongroup_support

Remove special handling due to IPython lacking support for exception groups

bf204c48187cbaebcdb28aec48286c5b2a0296bc authored over 1 year ago by Zac Hatfield-Dodds <[email protected]>
Add grouping to CI logs (#2772)

* Add Github's grouping headers and summary to check.sh and ci.sh
* Make Mypy results appear as...

4ea1e6dd0d7b1af465f02c4795814d489396d517 authored over 1 year ago by Spencer Brown <[email protected]>
Add changelog entry

51db60114ef40d9e65a05c79c63e50f27e6de968 authored over 1 year ago by Spencer Brown <[email protected]>
enable skip_covered in coveragerc to make log shorter and make it easier to spot differences

49abaa51b7f7166a4463e0498b1a38d46470bdb9 authored over 1 year ago by jakkdl <[email protected]>
Remove unused helper function

ded143149042be2453a6e613a73886c7e201ea24 authored over 1 year ago by Spencer Brown <[email protected]>
colorama is Windows-only.

ff069157b778a0a5557f7d133e71423e1e06fe00 authored over 1 year ago by Spencer Brown <[email protected]>
Remove IPython-related exception group traceback tests

31b58c939b63bf074dca12e6ab509161cb653059 authored over 1 year ago by Spencer Brown <[email protected]>
Remove unused import

25dacf3c55a597a1d92a1de8ac4749c68f833a3a authored over 1 year ago by Spencer Brown <[email protected]>
Remove special handling due to IPython lacking support for exception groups

761ec2a762b2a68996b9baf954b761eaa42d0395 authored over 1 year ago by jakkdl <[email protected]>
Transmute AttributeError to RuntimeError

1930cae14bcef0c2dbe5d964ec49ea4f457ebcd6 authored over 1 year ago by richardsheridan <[email protected]>
remove extra cvar toggling

c0e11d403bc19ca1656d720c52d9ab91ea0297ed authored over 1 year ago by richardsheridan <[email protected]>
fix typos in docs

881180f114f934d4dc3338a067e8003c99b032aa authored over 1 year ago by richardsheridan <[email protected]>
Aesthetic refactor of API functions

787d2862c54da56634b98e942fcda3a175421097 authored over 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into from_thread_check_cancelled

# Conflicts:
# trio/_tests/test_threads.py
# trio/_threads.py
# trio/from_thread.py

a09aa848cac2170e36783d8148524d2507c693ca authored over 1 year ago by richardsheridan <[email protected]>
Merge pull request #2786 from richardsheridan/require-static-checks

Require static checks to pass in CI

1c1550093e0fae5ada31e13a8c6a609c2fb14136 authored over 1 year ago by richardsheridan <[email protected]>
Require static checks to pass in CI

83671a4bedb514f31ab82bd00d81f6ef23be099b authored over 1 year ago by richardsheridan <[email protected]>
Merge pull request #2787 from python-trio/fix-multierror-typing

Attempt to fix multierror typing

2cd5a6f4caa76ca88434a6283d70482bd6c3bbfc authored over 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into fix-multierror-typing

8f2d55ff873891ea51b1a07b996b6b25e129fb45 authored over 1 year ago by EXPLOSION <[email protected]>
Merge pull request #2788 from python-trio/fix-2696-2700

Fix type errors introduced when #2696 and #2700 were merged

4d193998ec8560b713025725a28867ce618bd6c6 authored over 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into fix-multierror-typing

18a54c566e70e75626a545104d0e534a9d614b06 authored over 1 year ago by CoolCat467 <[email protected]>
Fix unused type ignore

721bfcaada965018a89b8fadaf8c96ad5149051d authored over 1 year ago by CoolCat467 <[email protected]>
Explicit typing not required after cast

dacd4b3ff415938a6a7de1fb8a0bcd9221be6a61 authored over 1 year ago by CoolCat467 <[email protected]>
Fix type annotations

556fea4ebba3ff6ddfe3f0cbad6faa6ac4925ad7 authored over 1 year ago by CoolCat467 <[email protected]>
Fix formatting

90bbcf17891650ae90f493aa9aa02b3b347b8930 authored over 1 year ago by CoolCat467 <[email protected]>
Start fixing type errors

467c4f4f8521c29bb3851451d578267b1e37741f authored over 1 year ago by CoolCat467 <[email protected]>
Merge pull request #2700 from oremanj/sniffio-via-tlocal

Modernize sniffio integration

8304dcef22e4f7f1fd3269c2e2c1e35cfa6ea074 authored over 1 year ago by richardsheridan <[email protected]>
repair bad merge in _run.py

d3a5cb1d8c984a9d2101c84ed3e03c9f937b109c authored over 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into fix-multierror-typing

7e6436d9fd3da8276963c4834f3899b4a6561b21 authored over 1 year ago by CoolCat467 <[email protected]>
Ignore generics not matching

cfa1fb3c0f0c471ad572c1e630847acf1cccdfa3 authored over 1 year ago by CoolCat467 <[email protected]>
Merge branch 'master' into sniffio-via-tlocal

97da11f1548fd74c6abb4bbd02536ef3b832b52c authored over 1 year ago by richardsheridan <[email protected]>
Merge pull request #2696 from oremanj/guest-mode-waits-for-init

Ensure guest run is initialized when start_guest_run() returns

55db083bb3577e6d53b85bccd8326a71b8b60f33 authored over 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into guest-mode-waits-for-init

cc2d74aae57f1e44ad42cbf88bbd5078750ceba1 authored over 1 year ago by richardsheridan <[email protected]>
Fix unconditional openssl import in DTLS (#2779)

d3255a0bd29d4d1adfafff21aeeaa60d0b4aba9a authored over 1 year ago by Vincent Vanlaer <[email protected]>
Merge pull request #2780 from GalaxySnail/package-py.type

ae0dc99691ee5db83c91a0e5221ecfb422ba185f authored over 1 year ago by EXPLOSION <[email protected]>
Dependency updates (#2782)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

82b649550800a460048e37f75b3ae3986dbc528f authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add py.typed in MANIFEST.in

d9f71c4cd4ff527f41c30e575c0ded12a7158d4a authored over 1 year ago by GalaxySnail <[email protected]>
Test that Trio works around some CPython .throw bugs present in >= 3.9

The current tests that ensure Trio works around CPython .throw bugs are
all for .throw bugs that...

6784759c49ad4efe3a81dfcfcc02d04af6f4a231 authored over 1 year ago by Ganden Schaffner <[email protected]>
Add types to `test_io`, `test_run`, various other fixes (#2773)

* Use a type guard to eliminate a type-ignore in `_highlevel_generic.py`
* Use a protocol to fu...

e97bcb61b8b02523c82435b5408ff46efca5dfc3 authored over 1 year ago by Spencer Brown <[email protected]>
print out the slowest 10 pytest tests (#2760)

e9975aa237a58af62374e140ce7314cfc43106e2 authored over 1 year ago by John Litborn <[email protected]>
Fix typecheck failures in `master` (#2777)

* Add missing type hints to check_type_completeness

* Test_windows is not currently typed

7f78303bf14fbd2b2bbc7b2fd217e2eaff03525e authored over 1 year ago by Spencer Brown <[email protected]>
Implement #2750: Run `black`+`isort` on `gen_exports` results (#2759)

* Run isort and black on gen_exports results

* Auto-format generated modules

* Exit with a...

4c539419f37b17b22b71e719f8391ebc95597497 authored over 1 year ago by Spencer Brown <[email protected]>
expand wildcard for test files in mypy ignorelist (#2768)

0c108f94da7fc82008f5e5a034f48f4a7854269e authored over 1 year ago by John Litborn <[email protected]>
Fix pyright output (#2769)

ef6d8ee5cbaf63f9d71746a98638249e171b81ec authored over 1 year ago by EXPLOSION <[email protected]>
Update `contributing.rst` to talk about pre-commit (#2765)

* Update `contributing.rst` to talk about pre-commit

* Add details about isort action comment...

20f5435e513bf690fd71d79adb3f96030b312fa8 authored over 1 year ago by CoolCat467 <[email protected]>
check type completeness on all platforms (#2767)

* check type completeness on all platforms

* update .gitattributes and check.sh

87c6ef49ddacfb66661ce235ff30a35b8c650c32 authored over 1 year ago by John Litborn <[email protected]>
Add type annotations for `_ssl.py` (#2745)

* Somehow this did not get in to edbf981

* Add type annotations to `_ssl.py`

* Fix for pre...

f9fdeb72118fb9773f887cac928ac7aecabc3246 authored over 1 year ago by CoolCat467 <[email protected]>
Add typing for `_wait_for_object.py` (#2755)

* Add typing for `_wait_for_object.py`

* Fix CData type

* Future annotations

* Use expl...

3bdab9380a9619655c07494d4fe12ab167849e1e authored over 1 year ago by CoolCat467 <[email protected]>
Enable local partial types (#2766)

* Enable local partial types

* Fix missing annotations

9028678f7c94b53599460a60de3510c91a83f537 authored over 1 year ago by CoolCat467 <[email protected]>
Type remaining `_highlevel` modules (#2756)

* Type _highlevel_open_unix_stream

* Add types to _highlevel_socket

* Add types to _highle...

9dbf21c0b3f988a08c8708f68389d6f7c353711b authored over 1 year ago by Spencer Brown <[email protected]>
Add pre-commit (#2744)

* Add pre-commit

* Remove python version specifier from black

* Add codespell

* No more...

bf847ecad026ba6cfa859c9462cc4050ca4fb073 authored over 1 year ago by CoolCat467 <[email protected]>
Add types to most of `trio.testing` (#2747)

* Add types to trio.testing._trio_test

* Add types to trio.testing._check_streams

* Add ty...

5c85e6733e2b6ea8de31aa5e14f00152c02f1060 authored over 1 year ago by Spencer Brown <[email protected]>
Fix various files so the entire trio/ directory can be type-checked (#2763)

* Edit various files so the entire trio/ directory can be type-checked
without error

* Use t...

a316034efbc8304209c1554f4cd132748fd83ddd authored over 1 year ago by John Litborn <[email protected]>
add types to _core/_traps (#2751)

* type _core/_traps

4c38ba91df15ae374d0af194dcf9b6d342aab2f4 authored over 1 year ago by John Litborn <[email protected]>
Add a Sphinx extension to specially handle typevars in docstrings (#2752)

* Add a new sphinx extension to handle typevars in docstrings

---------

Co-authored-by: ja...

ba605c2c648464c63536a54efcf1cafe56d1c13d authored over 1 year ago by Spencer Brown <[email protected]>
Add types to `trio._subprocess` (#2753)

* Add type hints to _subprocess and _subprocess.platform.*

---------

Co-authored-by: jakkd...

749bb69012c45fd0e0ff8bd73040d8a59458f99f authored over 1 year ago by Spencer Brown <[email protected]>
Add types to `_threads` module (#2749)

* Add types to _threads module

---------

Co-authored-by: jakkdl <[email protected]>

dcec3049572a69a104dad27972780834c859d06f authored over 1 year ago by Spencer Brown <[email protected]>
Add typing for `_core/_multierror.py` (#2742)

Add typing for `_core/_multierror.py`

---------

Co-authored-by: CoolCat467 <CoolCat467@use...

d6d650f921d9fe9dec09accded23bb60b86b8336 authored over 1 year ago by CoolCat467 <[email protected]>
Add types to `_core._run` (#2733)

add types to `_core._run` and fix various small issues that arose during review

---------

...

709005123398dec08c8b76243e7d835f0bf1fb42 authored over 1 year ago by Spencer Brown <[email protected]>
Add typing for `_core/_asyncgens.py` (#2735)

* Add typing for `_core/_asyncgens.py`

---------

Co-authored-by: Spencer Brown <spencerb21...

4363a065d69965847a26c4a87bd1b5cc26080ef2 authored over 1 year ago by CoolCat467 <[email protected]>
type _io_epoll and _io_kqueue (#2743)

* type _io_epoll and _io_kqueue

---------

Co-authored-by: Spencer Brown <[email protected]>

0cb2886969f121dd7132c19f7a2fd92e1caa8f52 authored over 1 year ago by John Litborn <[email protected]>
Address an old comment waiting for `Self` support (#2746)

* Address an old comment left behind

* Fix formatting...

722f1b577d4753de5ea1ca5b5b9f2f1a7c6cb56d authored over 1 year ago by EXPLOSION <[email protected]>
Merge pull request #2741 from TeamSpen210/type_thread_cache

Add types to `core._thread_cache`

b3ef661cd19e1d36ce5ad114b534647117666283 authored over 1 year ago by Spencer Brown <[email protected]>
Make docs build succeed

055728c9742fafc994c58e39309a20d37355d2ee authored over 1 year ago by Spencer Brown <[email protected]>
Change typevar name

69f26825b193ae3afa1e0e962bb905d1f6a04719 authored over 1 year ago by Spencer Brown <[email protected]>
Temporarily ignore Any from missing outcome stubs

b719d8b521978e37154caa58ef1020deb9013b32 authored over 1 year ago by Spencer Brown <[email protected]>
Merge branch 'master' into type_thread_cache

5f5d622e6b7a984666252fc845405fe97fe32696 authored over 1 year ago by Spencer Brown <[email protected]>
Add link to changelog on PyPI page (#2736)

* Add link to changelog on PyPI page

* Update setup.py

* Update setup.py

* Minor stable...

c8aefc675327645e32e3afe4f7406e615461367c authored over 1 year ago by EXPLOSION <[email protected]>
Add missing type annotations to `_core/_mock_clock.py` (#2740)

* Add missing type annotations to `_core/_mock_clock.py`

* remove -> None on __init__ until d...

59229b1d473979e979f265e253ab9f871b122512 authored over 1 year ago by CoolCat467 <[email protected]>
Add typing to `_tools/gen_exports.py` (#2738)

* Add typing to `_tools/gen_exports.py`

---------

Co-authored-by: jakkdl <[email protected]>

987ef312b740188a9539d4e1d54a547cd484e70d authored over 1 year ago by CoolCat467 <[email protected]>
Add typing for `_highlevel_open_tcp_listeners.py` (#2724)

* Add typing for `_highlevel_open_tcp_listeners.py`

---------

Co-authored-by: CoolCat467 <...

49d03931456ad32fef6dfe4524dc46c71420ea60 authored over 1 year ago by CoolCat467 <[email protected]>
Update type completeness file

9933a83ddf4c5982f2e9155b96d5683fd90c112f authored over 1 year ago by Spencer Brown <[email protected]>
Type _core._thread_cache

0c646e88a78498771ece296ae8d989b0f87c75ec authored over 1 year ago by Spencer Brown <[email protected]>
Switch to |-optional

9236431d9a82f9d7d5d2d8090b797de08c493faf authored over 1 year ago by Spencer Brown <[email protected]>
Fix version selector and maybe search for RTD (#2732)

* Update docs-requirements.in and maybe fix docs

* Fix pip-compile'd documentation requirements

348713a7ae73c1afaef79969c90c57e12f4f098b authored over 1 year ago by EXPLOSION <[email protected]>
Dependency updates (#2731)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

8bce327bda28b62bf490176b03dd2c1373c8f973 authored over 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Typing highlevel open tcp stream (#2725)

* Add type annotations to `_highlevel_open_tcp_stream.py`

* Update `verify_types.json`

* A...

ccf4e24e26b70c09ca8b09ca8d5ef37a2fddfd83 authored over 1 year ago by CoolCat467 <[email protected]>