Skip to content

Cleanup unshare inline and new pid namespace, and use uv - #73

Merged
choppsv1 merged 3 commits into
mainfrom
chopps/use-uv
Sep 30, 2025
Merged

choppsv1 merged 3 commits into
mainfrom
chopps/use-uv

Conversation

@choppsv1

Copy link
Copy Markdown
Collaborator
  • Replace poetry with uv.
  • Simplify async child watcher setting for old pythons

Older pytest-asyncio did things with event_loops that we tried to work with, but
in the end this didn't work and pytest-asyncio was improved to not require it
anymore.

Now we just have to make sure we have a non-threaded child watcher for asyncio
when we are unsharing inline with a new pid namespace as we are not allowed to
create threads in the main process under these conditions.

@choppsv1
choppsv1 force-pushed the chopps/use-uv branch 11 times, most recently from a6d54d1 to c060e13 Compare September 30, 2025 09:28
Signed-off-by: Christian Hopps <chopps@labn.net>
- Also add sudo config docs which fixes #66

Signed-off-by: Christian Hopps <chopps@labn.net>
Older pytest-asyncio did things with event_loops that we tried to work with, but
in the end this didn't work and pytest-asyncio was improved to not require it
anymore.

Now we just have to make sure we have a non-threaded child watcher for asyncio
when we are unsharing inline with a new pid namespace as we are not allowed to
create threads in the main process under these conditions.

Signed-off-by: Christian Hopps <chopps@labn.net>
@choppsv1
choppsv1 merged commit 9fa0d61 into main Sep 30, 2025
4 checks passed
@choppsv1
choppsv1 deleted the chopps/use-uv branch October 1, 2025 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant