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_filter_to_company() in test_launcher fails due to py.ini · Issue #98414 · python/cpython

test_filter_to_company() in test_launcher fails due to py.ini #98414

New issue
Copy link
New issue
Copy link
Closed
Closed
test_filter_to_company() in test_launcher fails due to py.ini#98414
Copy link
Assignees
zooba
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixesOS-windowstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@eryksun
eryksun
opened on Oct 18, 2022
Issue body actions

The test in test_filter_to_company() executes a dry run of the launcher with the argument "-V:PythonTestSuite/". The filter is incomplete, but the test expects the launcher to select "PythonTestSuite/3.100", with the command "X.Y.exe". In practice, however, a default version set in "py.ini" overrides an incomplete filter by company. I assume this is a bug in the launcher, that it's supposed to select the best match among the installations for the given company instead of using the default version. That's how it behaves if no default is set in "py.ini" or the "PY_PYTHON" environment variable.

Activity

  1. eryksun
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    OS-windows
    3.11only security fixesonly security fixes
    3.12only security fixesonly security fixes
    on Oct 18, 2022
  2. eryksun
    assigned
    zooba
    on Oct 18, 2022
  3. zooba commented on Oct 19, 2022

    @zooba
    zooba
    on Oct 19, 2022
    Member
    More actions

    Yes correct, it shouldn't use the default value in this case.

  4. zooba
    added 2 commits that reference this issue on Oct 19, 2022

    pythongh-98414: py.exe launcher does not use defaults for -V:company/…

    8a39685

    gh-98414: py.exe launcher does not use defaults for -V:company/ option (

    4bd63f6
  5. miss-islington
    added 2 commits that reference this issue on Oct 19, 2022

    pythongh-98414: py.exe launcher does not use defaults for -V:company/…

    b650b42

    gh-98414: py.exe launcher does not use defaults for -V:company/ option (

    0b71dad
  6. carljm
    added a commit that references this issue on Oct 20, 2022

    Merge branch 'main' into typewatch

    8bba5da
  7. pablogsal
    added a commit that references this issue on Oct 22, 2022

    gh-98414: py.exe launcher does not use defaults for -V:company/ option (

    fc12762
  8. hauntsaninja commented on Oct 26, 2022

    @hauntsaninja
    hauntsaninja
    on Oct 26, 2022
    Contributor
    More actions

    Thanks, looks like this was completed

  9. hauntsaninja
    closed this as completedon Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @zooba
    zooba

Labels

3.11only security fixesonly security fixes3.12only security fixesonly security fixesOS-windowstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

    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.