Skip to content

Commit

Permalink
Update trio to 0.17 & trio-typing to 0.8.0 (#283)
Browse files Browse the repository at this point in the history
Hello, I would like to update the version of `trio` & relax the version
of `trio-typing`.

I'm working on a project where we use `qtrio`, `trio` & `trio-typing`
and we would like to update `trio` & `trio-typing`.
But we're stuck being with `qtrio` requirement for `trio-typing`.

So I propose this pull-request, I've tested the change on the said
project and it work,
I've also executed the following command on `qtrio`

```shell
python3 -m venv testvenv
source testvenv/bin/activate
INSTALL_EXTRAS=[PyQt5,p_tests] ./ci.sh
INSTALL_EXTRAS=[PyQt5,p_checks,p_docs] CHECK_TYPE_HINTS=1 ./ci.sh
```
  • Loading branch information
altendky authored Jun 7, 2023
2 parents 459492f + 2dec16b commit 4f6d4f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qtrio/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def run(
args,
run_sync_soon_threadsafe=self.run_sync_soon_threadsafe,
done_callback=self.trio_done,
clock=self.clock, # type: ignore[arg-type]
clock=self.clock,
instruments=self.instruments,
)

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ install_requires=
decorator
outcome
qts ~= 0.3.0
# trio >= 0.16 for guest mode
trio >= 0.16
trio-typing ~= 0.7.0
# trio >= 0.17 for guest mode
trio >= 0.17
trio-typing ~= 0.8.0
# python_version < '3.8' for `Protocol`
typing-extensions; python_version < '3.8'
packages = find:
Expand Down

0 comments on commit 4f6d4f9

Please sign in to comment.