Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trio.Process deprecations #330

Open
goodboy opened this issue Oct 7, 2022 · 0 comments
Open

trio.Process deprecations #330

goodboy opened this issue Oct 7, 2022 · 0 comments
Labels
good first issue Good for newcomers trio_updates keeping up to date with our parent

Comments

@goodboy
Copy link
Owner

goodboy commented Oct 7, 2022

trio changed it's subprocess API as per the large discussion in
python-trio/trio#1104.

Summary:

home/goodboy/repos/tractor/tractor/_spawn.py:191: TrioDeprecationWarning: using trio.Process as an async context manager is deprecated since Trio 0.20.0; use run_process or nursery.start(run_process, ...) instead (https://github.com/python-trio/trio/issues/1104)
  async with proc:  # calls ``trio.Process.aclose()``
/home/goodboy/.virtualenvs/xonsh310/lib/python3.10/site-packages/trio/_abc.py:261: TrioDeprecationWarning: trio.Process.aclose is deprecated since Trio 0.20.0; use run_process or nursery.start(run_process, ...) instead (https://github.com/python-trio/trio/issues/1104)
  await self.aclose()

Mostly comprehensive list of related trio issues & PRs:

@goodboy goodboy added good first issue Good for newcomers trio_updates keeping up to date with our parent labels Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers trio_updates keeping up to date with our parent
Projects
None yet
Development

No branches or pull requests

1 participant