-
-
Notifications
You must be signed in to change notification settings - Fork 343
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 0.23.0 - AssertionError in Conda #2855
Comments
Having same issue. Bump. |
0.22.2 also fixes the issue. |
Hi, sorry about this! -snip- sorry, should have read the initial comment better. |
I am not quite sure, but you can check https://hub.docker.com/layers/library/python/3.9-slim-buster/images/sha256-5c6f48d1bb7f592ed9b78b4c4efce099957da5fc0b677b8e79a8ba2bd1b087e8 to see which environment I am running my code. |
3 tasks
FYI fix is released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce
docker run -it continuumio/miniconda3 /bin/bash pip install trio python -c "import trio"
Error
Why
It seems related to
trio/trio/_subprocess.py
Lines 49 to 54 in eef24cb
os
package in Conda deviates from std python and does not havepidfd_open
-->ImportError
(see a similar issue).sys.platform == "linux"
isTrue
sys.version_info < (3, 9) or sys.implementation.name != "cpython"
isFalse or False
-->AssertionError
The text was updated successfully, but these errors were encountered: