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

gh-90473: Misc test fixes for WASI #93218

Merged
merged 1 commit into from May 25, 2022
Merged

gh-90473: Misc test fixes for WASI #93218

merged 1 commit into from May 25, 2022

Conversation

tiran
Copy link
Member

@tiran tiran commented May 25, 2022

  • sys.executable is not set
  • WASI does not support subprocess
  • pwd module is not available
  • WASI checks open syscall flags more strict, needs r, w, rw flag.
  • umask is not available
  • /dev/null may not be accessible

* ``sys.executable`` is not set
* WASI does not support subprocess
* ``pwd`` module is not available
* WASI checks ``open`` syscall flags more strict, needs r, w, rw flag.
* ``umask`` is not available
* ``/dev/null`` may not be accessible
@tiran tiran merged commit 1f134e9 into python:main May 25, 2022
12 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 25, 2022

Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒🤖

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented May 25, 2022

GH-93220 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 25, 2022
* ``sys.executable`` is not set
* WASI does not support subprocess
* ``pwd`` module is not available
* WASI checks ``open`` syscall flags more strict, needs r, w, rw flag.
* ``umask`` is not available
* ``/dev/null`` may not be accessible
(cherry picked from commit 1f134e9)

Co-authored-by: Christian Heimes <christian@python.org>
miss-islington added a commit that referenced this issue May 25, 2022
* ``sys.executable`` is not set
* WASI does not support subprocess
* ``pwd`` module is not available
* WASI checks ``open`` syscall flags more strict, needs r, w, rw flag.
* ``umask`` is not available
* ``/dev/null`` may not be accessible
(cherry picked from commit 1f134e9)

Co-authored-by: Christian Heimes <christian@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants