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

remove _assert_raises

153d7004c9f2330c97ad492cce9df7ea958fdeb1 authored about 1 year ago by jakkdl <[email protected]>
Address PyPy flakiness in test_for_leaking_fds

e835f779337923b148f7f375a3af84bc37aa1094 authored about 1 year ago by A5rocks <[email protected]>
get rid of the last vestiges of _assert_raises

84fb527cf9d9a97baf11c7437870f52c6b318992 authored about 1 year ago by jakkdl <[email protected]>
change strict_exception_groups default to True

cfc0755e8ef1d9d7e05de4f39d6c2bdbad02fdf0 authored about 1 year ago by jakkdl <[email protected]>
Merge pull request #2882 from VincentVanlaer/tests-bin-sleep

Don't use absolute path for sleep binary in tests

9c496fa3727500e85f9d43d319678bb4bb822b1b authored about 1 year ago by EXPLOSION <[email protected]>
remove skipif not relevant since py<3.6.2 was supported (#2884)

a15d0f98b0769c3c8bbf40c5afb41696ac110fee authored about 1 year ago by John Litborn <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2883)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh...

fd175c9d16a52983cd8b1321e4e3883f99e14c6c authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Don't use absolute path for sleep binary in tests

While most OSes will have the `sleep` binary in `/bin`, this is not
guaranteed (e.g. `/bin` only...

9bcc1ead22e1c6c2518ad599320033810e65b120 authored about 1 year ago by Vincent Vanlaer <[email protected]>
Minor refactors in _threads.py (#2871)

* raise from None when transmuting errors

* make from_thread funcs thinner and DRYer

* upd...

c951d95951ea3f44f9744f55520899e6ad7cec62 authored about 1 year ago by richardsheridan <[email protected]>
move `-p trio._tests.pytest_plugin` to project addopts and add `--pyargs trio` (#2870)

* move `-p trio._tests.pytest_plugin` to project addopts and add `--pyargs trio`

Fixes #2863
...

20d6c87bca0c4106754d6c555ae30dbd1d0e3ca1 authored about 1 year ago by Tomasz Kłoczko <[email protected]>
Remove check_type_completeness and verify_types_*.json, minor fixes (#2877)

* Remove check_type_completeness and verify_types_*.json
* moving pyright --verifytypes directl...

3eaa93162ec1020d767d25deb2c3b4ce2620cf81 authored about 1 year ago by John Litborn <[email protected]>
add tests and coverage ignores for testing/_fake_net to reach full coverage (#2852)

* add tests and coverage ignores for testing/_fake_net to reach full coverage, as well as some m...

d5c0fb83bba6b56c35956c65092411cc9a2be8c3 authored about 1 year ago by John Litborn <[email protected]>
Update `black` -> `23.11.0` and `ruff` -> `0.1.5` (#2875)

68de354501e911c56648b8b9549dda455a45f82d authored about 1 year ago by CoolCat467 <[email protected]>
Add missing docstrings (#2762)

* Add missing docstrings for `wait_readable`, `wait_writable`, `notify_closing`, `fromshare`, an...

44f7f2dee42c5635a37c07486e02444341bc825b authored about 1 year ago by John Litborn <[email protected]>
Move to src-layout. (#2798)

* Move to src-layout.

The intention of this is better isolation. `trio` is no longer
acciden...

315a0e8cac6fa41f9032dc3e13d935499f16a640 authored about 1 year ago by Florian Apolloner <[email protected]>
Enable flake8-type-checking rule (#2813)

* Enable flake8-type-checking rule

* Set the `SPHINX_AUTODOC_RELOAD_MODULES` flag to 1

---...

b7d2054c3093a53cb31d25316d0b99c986053a8b authored about 1 year ago by CoolCat467 <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2872)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](https://github.com/astral-sh...

e6e18bd1120fea54e5b1bbe518f13248d71004df authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Merge pull request #2874 from A5rocks/fix-pyright-open-memory-channel

Make pyright recognize `open_memory_channel` as generic

ced22d16e373577da7cfe89ddb06d3e3155f6d16 authored about 1 year ago by Zac Hatfield-Dodds <[email protected]>
[pre-commit.ci] auto fixes from pre-commit.com hooks

dfa5576907ef7fb2eabe4ad3c1520655d02a9002 authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Add a newsfragment

5d0753633d12858453e8a373c99155cd99c46181 authored about 1 year ago by A5rocks <[email protected]>
Please pyright with `open_memory_channel`

bbdf12f795f6af9bc9f17c6dcbee1642f1eeb9d5 authored about 1 year ago by A5rocks <[email protected]>
remove filterwarnings lines for warnings that no longer occur (#2869)

* remove warnings that no longer occur

* comment astor warning

0d53c29283d92dd77b8e494e1c935119fd48884d authored about 1 year ago by Thomas Grainger <[email protected]>
Merge pull request #2867 from graingert/coverage-rc-pyproject-toml

move coveragrc to pyproject.toml

7297516389fe89a556ea443f142a75ec7acc354d authored about 1 year ago by Thomas Grainger <[email protected]>
Update newsfragments/2867.misc.rst

6badd0ada6273f8ee5130e43cf13894595d7f283 authored about 1 year ago by Thomas Grainger <[email protected]>
Merge branch 'master' into coverage-rc-pyproject-toml

8c58d04b009bcb4d1371eb4a506bf5b386475276 authored about 1 year ago by Thomas Grainger <[email protected]>
move coveragrc to pyproject.toml

49a31e53cd2421dba8c1d2dbe909d904fbbdc1a3 authored about 1 year ago by Thomas Grainger <[email protected]>
Merge pull request #2865 from graingert/no-pre-exceptiongroup

bec5f2b2fbd842bcca690ff15019254f54ecb446 authored about 1 year ago by Thomas Grainger <[email protected]>
do not depend on exceptiongroup pre-release

Fixes #2861

122246ba7588ee8e274dea93ef8db70be3f4085d authored about 1 year ago by Thomas Grainger <[email protected]>
Merge pull request #2860 from graingert/pyproject-toml

switch to PEP 621

549f46cb3e7ff973f2f1d24c003ba81c41b7d2fa authored about 1 year ago by Thomas Grainger <[email protected]>
Update newsfragments/2860.misc.rst

19e63f23f6589e38c2449ed3d294407431279189 authored about 1 year ago by Sviatoslav Sydorenko <[email protected]>
Update trio/_version.py

Co-authored-by: Sviatoslav Sydorenko <[email protected]>

062e2f468f9f67a35c06362d4d949f510fb4ffbd authored about 1 year ago by Thomas Grainger <[email protected]>
Update pyproject.toml

Co-authored-by: Sviatoslav Sydorenko <[email protected]>

1a2d1aec13fa584eae384f8dd040c23388a7d4ec authored about 1 year ago by Thomas Grainger <[email protected]>
Update newsfragments/2860.misc.rst

Co-authored-by: Sviatoslav Sydorenko <[email protected]>

e070e232f05571d32ef9c48e9f81c9e9cda9c575 authored about 1 year ago by Thomas Grainger <[email protected]>
Update ci.sh

Co-authored-by: Thomas Grainger <[email protected]>

9675f762c1d05cabbb41cbc859e5b268164702ea authored about 1 year ago by Alex Grönholm <[email protected]>
bump setuptools build-system requires to 64

ed4a0db3354be982a79787fe9631f5c560f4e9f1 authored about 1 year ago by Thomas Grainger <[email protected]>
add newsfragment

5c598b46319e5e8ab63eb0abb8f767a914a1a0de authored about 1 year ago by Thomas Grainger <[email protected]>
install build

12049e476740beb4b690eac90a31de21802c25fe authored about 1 year ago by Thomas Grainger <[email protected]>
delete setup.py

e25bdc2be7184ca7ad9b5eb1d1bed52c3597c09a authored about 1 year ago by Thomas Grainger <[email protected]>
fix comment location

71af3e2e9b39c7e56c29bebbb78d294344127c3d authored about 1 year ago by Thomas Grainger <[email protected]>
apply ini2toml

d66e7ca7f4e03c09804f0adda15eccd11a5d707a authored about 1 year ago by Thomas Grainger <[email protected]>
fix version

5d0a914297f658aa34b2f8a59c36ed412401c116 authored about 1 year ago by Thomas Grainger <[email protected]>
restore comments

36a47a1328575e36658934531193a3233597b22c authored about 1 year ago by Thomas Grainger <[email protected]>
apply setup-py-upgrade

8eea4937fa9d16c6fc95e7e49c9f09c3008e5410 authored about 1 year ago by Thomas Grainger <[email protected]>
make parsable by setup-py-upgrade

9441b4ca018e475ce493382c0c786222ff1ff169 authored about 1 year ago by Thomas Grainger <[email protected]>
Merge pull request #2857 from A5rocks/release-0.23.1

Bump version to 0.23.1

c63fd3c427adda74c539c7954e079f36a9b47764 authored about 1 year ago by EXPLOSION <[email protected]>
Start new cycle

4f365d5539c5cda5330c0f6a788b274a40428c16 authored about 1 year ago by A5rocks <[email protected]>
Bump version to 0.23.1

fa94d4cc1bf1a1619a09268cb06364a17bc6edbb authored about 1 year ago by A5rocks <[email protected]>
Remove incorrect assertion for Anaconda interpreters (#2856)

* Remove incorrect assertion

* Fix comment

* One more comment rewrite

* Add a newsfragment

d34739ef624428ad4653a5d41989d99d5a5b9330 authored about 1 year ago by EXPLOSION <[email protected]>
Dependency updates (#2854)

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

626331f5e5490907d5f9186c6ec167e9314baa79 authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Merge pull request #2853 from A5rocks/release-0.23.0

Bump version to 0.23.0

e6ae3edf5f8455a855e550c4c38cd4449fdc99ff authored about 1 year ago by EXPLOSION <[email protected]>
Start new cycle

d017e280191c4452f7d71acebad61f51214856bb authored about 1 year ago by A5rocks <[email protected]>
Bump version to 0.23.0

eef24cb9787aa8f4f1707b4889ccd2a71419e3ce authored about 1 year ago by A5rocks <[email protected]>
Add removals as a newsfragment type (#2850)

* Add removals as a newsfragment type

* Fix Sphinx build issue

c979257d965a6958de11a45898f3af357fdeb794 authored about 1 year ago by EXPLOSION <[email protected]>
In `to_thread_run_sync()`, add `abandon_on_cancel=` as an alias for the `cancellable=` flag (#2841)

* add abandon_on_cancel to to_thread_run_sync: new name for cancellable flag

Replaced in code a...

e718fc495e543a57059382815b247500e33178e9 authored about 1 year ago by richardsheridan <[email protected]>
Merge pull request #2845 from gschaffner/fix-start-nursery-implementation-detail-hiding

Fix regressions introduced when hiding `Nursery.start` implementation-detail nursery

3b6b167544dadab585c94ee95ea9668bb2bf509b authored about 1 year ago by Zac Hatfield-Dodds <[email protected]>
Merge pull request #2849 from python-trio/richardsheridan-fix-docstring-merge

d80928c196a2d04e17b9858c1e6e74b3c2bcf3b8 authored about 1 year ago by EXPLOSION <[email protected]>
Remove redundant line from docstring of `to_thread_run`

This was probably a bad merge during code review that slipped through

b5557cebce8bdf52a196e897cc66f4ccc429f1ec authored about 1 year ago by richardsheridan <[email protected]>
Clarify that start() was doing the bad wrapping, not Nursery.__aexit__

588558cce20bfb4709d39d200e39f1c3dfb4bdeb authored about 1 year ago by Ganden Schaffner <[email protected]>
Add some comments to better explain assertion logic

92b0719d2b206d83bb2cd6c1cbaf12d18e38b651 authored about 1 year ago by Ganden Schaffner <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2843)

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

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

6c50dc2b747802fc3ad98a55071dad00f9fbaec9 authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Remove infinity support for tcp listener backlogs (#2842)

* Remove infinity support for TCP listener backlogs

* Add removal news-fragment

* Still ac...

bda5c1190b970d9eb89ae01943757c21dac070c3 authored about 1 year ago by CoolCat467 <[email protected]>
extend apport excepthook detection to also detect partial_apport_excepthook (#2838)

d7c5c64fe15783821b8d516dd9bd89cda2d0ed6c authored about 1 year ago by John Litborn <[email protected]>
Type all remaining tests (#2820)

* add types to all remaining tests
* make trio.ssl.SSLStream and SSLListener generic
* export ...

12e2da852a4084d102fcaa4c23cfd80ffc7574ad authored about 1 year ago by John Litborn <[email protected]>
Stop running `pypy-3.9-nightly` for windows CI (#2833)

* Force-reinstall cffi if on pypy 3.9
Also formatting from https://www.shellcheck.net/

* Dro...

7773cfb4ad60ab1ec5b66121a3a2f932fbceac82 authored about 1 year ago by CoolCat467 <[email protected]>
Enable ruff flake8-simplify rule (#2823)

* Enable ruff flake8-simplify rule

* Revert `collapsable-if` and `multiple-with-statements` c...

2a283134906c8d42e8648d41b96938fd691574ee authored about 1 year ago by CoolCat467 <[email protected]>
Hide implementation-detail nursery of start when using run(..., strict_exception_groups=True)

8d2f364ef2e4292cbd0e5142e690fb9ca15770e0 authored about 1 year ago by Ganden Schaffner <[email protected]>
Strengthen tests for start nursery implementation-detail hiding

4044f57b1c81501945241aeb852af679b361b15f authored about 1 year ago by Ganden Schaffner <[email protected]>
Convert markdown link in README.rst to reST (#2839)

8b1554866fe2f822e8e61b50314947cb490de266 authored about 1 year ago by richardsheridan <[email protected]>
Enable flake8-pyi (#2821)

* Enable flake8-pyi

* Fix "PYI041: Use `float` instead of `int | float`"

* Rename `getaddr...

6f9ab95349044dbb9d63408d2245dc95ad167f7e authored about 1 year ago by CoolCat467 <[email protected]>
add newsfragment for issue #2611, PR #2826 (#2836)

52b3aeae6087753275dd0f62d9c549cecd6a8d96 authored about 1 year ago by John Litborn <[email protected]>
Don't double-wrap exceptions in nurseries (#2826)

* add test

* Fix unnecessary wrapping of exception groups

* add test where child task rais...

c9e01f4e9a03eb4038ae987454b73dcc5c091fe6 authored about 1 year ago by John Litborn <[email protected]>
Sort pre-commit config file (#2834)

b472f3099071d1108a6830c4f5b1ced012bb7507 authored about 1 year ago by CoolCat467 <[email protected]>
Enable pyupgrade rule (#2809)

* Enable pyupgrade rule

* Fix imports being seperated

---------

Co-authored-by: John Li...

f85021e014a94abe226630bdbc0b66a600fdcefd authored about 1 year ago by CoolCat467 <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2831)

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

updates:
- [github.com/psf/black: 23.9.1 → 23.10.1](...

9ec9d0576dfa0cf27eee4f62e76b9ebf08abd78d authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
nursery_cancel doesn't seem to create cyclic garbage on 3.12 anymore (#2829)

Co-authored-by: CoolCat467 <[email protected]>
Co-authored-by: EXPLO...

0858bef92de9bf0fa59472e72b84e78334d4d564 authored about 1 year ago by John Litborn <[email protected]>
Merge pull request #2832 from richardsheridan/fix_thread_reentry_deadlocks

Fix thread reentry deadlocks

5620d1796537c16b3cae0baa872476c977a1c0ae authored about 1 year ago by Joshua Oreman <[email protected]>
fix thread reentry deadlocks

if there is a checkpoint after the result is put on the queue to the thread, there is a thread r...

66069acc1abca13fadd4f73e42f3f5abec89e996 authored about 1 year ago by richardsheridan <[email protected]>
add test for thread reentry deadlocks

c2124359ed227086c9cf112313fe22aa8b9cb548 authored about 1 year ago by richardsheridan <[email protected]>
fix B904 (#2828)

* fix B904

* fix ruff flag --format -> --output-format

a0c480aebc9f9745cd90838c5776f1a826ff5bb9 authored about 1 year ago by John Litborn <[email protected]>
Enable flake8-async rule (#2808)

* Enable flake8-async rule

* Update comment

01638f87a7344031c10b95a76546d21ccc888c5d authored about 1 year ago by CoolCat467 <[email protected]>
Enable flake8-bugbear rule (#2807)

* Enable flake8-bugbear rule

* Revert accidentally disabling flake8-2020

* Remove unrelate...

1616c0efa74babddaad29a3281cca7e7ed37abe5 authored about 1 year ago by CoolCat467 <[email protected]>
Merge pull request #1696 from catern/master

Nursery: don't act as a checkpoint when not running anything

b0732873e851b6c6f75d5b819ea4f8a063029f52 authored about 1 year ago by richardsheridan <[email protected]>
prevent cyclic garbage creation

06c176c2da4e3aa27abe6a6343064e3997b5b015 authored about 1 year ago by richardsheridan <[email protected]>
add type annotations

27ac88a0ed9232ff68dc50bcd3dc89f2c48043c5 authored about 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into pr/1696

# Conflicts:
# trio/_core/_run.py
# trio/_core/_tests/test_run.py

39074007346f2e1d75086595cdbd000886275d66 authored about 1 year ago by richardsheridan <[email protected]>
Bump dependencies from commit b161fe (#2819)

* Dependency updates

* Remove type: ignores that now pass

* Fully type Outcome objects

...

3288cfc5d5e536b42131fd1bcc72231d8287d1fb authored about 1 year ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Merge pull request #2392 from richardsheridan/from_thread_check_cancelled

Expand cancellation usability from native trio threads

b324b3ae2588e75c865be95f4ad5a7140789cbcd authored about 1 year ago by richardsheridan <[email protected]>
Merge branch 'master' into from_thread_check_cancelled

ab092b02e5c8b84be484e9c0c83b0b98ffb4523e authored about 1 year ago by richardsheridan <[email protected]>
Apply suggestions from code review

Documentation clarifications

Fix function name typo leading to missed coverage

Co-authored-...

96e45c5ffc5f9694dd9eb463c638794c04fa8947 authored about 1 year ago by richardsheridan <[email protected]>
Add type annotations for windows_pipes and its test (#2812)

* Add type annotations for windows_pipes and its test

b161fecb3820ad1129a8eb1b458bbfb88df60d6e authored about 1 year ago by CoolCat467 <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2818)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.0](https://github.com/astral-...

f2cb7b1e759e9220721c923eb12e37c5fab3414a authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Fix some type issues with `trio.Path` (#2815)

* Reorder trio.Path stubs to match typeshed, fix incorrect sync/async definitions
* Fully type ...

4b2fd9877cd47e290b58a355e758176809ea0fc0 authored about 1 year ago by Spencer Brown <[email protected]>
revise and document cancellation semantics

in short, cancellable threads always use system tasks. normal threads use the host task, unless ...

2f79f155783bf7d6d68165360f85f3bd54f9934a authored about 1 year ago by richardsheridan <[email protected]>
[pre-commit.ci] pre-commit autoupdate (#2816)

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-com...

b6e1698933ce4a236a046ccd1fdf28d8c7f500f8 authored about 1 year ago by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
adjust coverage pragma

eab30c4b4ce9b0d1cae192e707bf01858d704e8f authored about 1 year ago by richardsheridan <[email protected]>
implement cancellation semantics suggestions from code review

0e18c93c9d4915ab33dda4ec2a5ae98e44fc4cff authored about 1 year ago by richardsheridan <[email protected]>
add TODOs for future assert_never type cleverness

9f4e79e4777af3f9b5dd5b25243e542a9b791a72 authored about 1 year ago by richardsheridan <[email protected]>
document "extra" checkpoints needed to pick up context

d6df308cdac5f205f0af376a86b89f407c346c34 authored about 1 year ago by richardsheridan <[email protected]>
apply nits from code review

a667a52c78a7f38c9a0475f59a6b245c4710c57f authored about 1 year ago by richardsheridan <[email protected]>
fix test_from_thread_run_during_shutdown

2be054aa50e7a6f694af27f24729641dd31d721e authored about 1 year ago by richardsheridan <[email protected]>