Skip to content

test_sys broken on Python 3.12 under WASI #112503

Description

@brettcannon

Bug report

Bug description:

#110713 unconditionally imports test.support.interpreters which imports _xxsubinterpreters which fails since it isn't provided.

This doesn't fail on main because it has a guard against the import:

try:
from test.support import interpreters
except ImportError:
interpreters = None

CPython versions tested on:

3.12

Operating systems tested on:

Other

Linked PRs

Activity

  1. ericsnowcurrently commented on Nov 29, 2023

    @ericsnowcurrently
    Member

    Sorry about that. I've opened a PR to fix it.

  2. added a commit that references this issue on Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.12only security fixesOS-wasitype-bugAn unexpected behavior, bug, or error

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions