GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `test_sys` broken on Python 3.12 under WASI · Issue #112503 · python/cpython

test_sys broken on Python 3.12 under WASI #112503

New issue
Copy link
New issue
Copy link
Closed
Closed
test_sys broken on Python 3.12 under WASI#112503
Copy link
Assignees
ericsnowcurrently
Labels
3.12only security fixesonly security fixesOS-wasitype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@brettcannon
brettcannon
opened on Nov 28, 2023
Issue body actions

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:

cpython/Lib/test/test_sys.py

Lines 19 to 22 in 48dfd74

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

CPython versions tested on:

3.12

Operating systems tested on:

Other

Linked PRs

  • [3.12] gh-112503: Fix test_sys on WASI #112505

Activity

  1. brettcannon
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    3.12only security fixesonly security fixes
    OS-wasi
    on Nov 28, 2023
  2. brettcannon
    assigned
    ericsnowcurrently
    on Nov 28, 2023
  3. brettcannon
    added this to WASI to tier 2on Nov 28, 2023
  4. github-project-automation
    moved this to Todo in WASI to tier 2on Nov 28, 2023
  5. ericsnowcurrently commented on Nov 29, 2023

    @ericsnowcurrently
    ericsnowcurrently
    on Nov 29, 2023
    Member
    More actions

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

  6. ericsnowcurrently
    added a commit that references this issue on Nov 29, 2023

    [3.12] gh-112503: Fix test_sys on WASI (gh-112505)

    3e6b328
  7. brettcannon
    closed this as completedon Nov 29, 2023
  8. github-project-automation
    moved this from Todo to Done in WASI to tier 2on Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ericsnowcurrently
    ericsnowcurrently

Labels

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

Projects

    • WASI to tier 2
      Closed
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.