Skip to content

Prevent site-packages .pth files from causing test_site failure: test_site.test_startup_imports() failure #71994

Description

@Rosuav
BPO 27807
Nosy @terryjreedy, @vstinner, @ezio-melotti, @voidspace, @Rosuav, @miss-islington
PRs
  • bpo-27807: Skip test_site.test_startup_imports() if pth file #19060
  • [3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) #19089
  • [3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) #19090
  • [3.7] [3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) (GH-19090) #19093
  • Files
  • no-site-packages-in-test.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-03-20.14:32:53.418>
    created_at = <Date 2016-08-19.22:05:23.814>
    labels = ['3.7', '3.8', 'type-bug', 'tests', '3.9']
    title = 'Prevent site-packages .pth files from causing test_site failure: test_site.test_startup_imports() failure'
    updated_at = <Date 2020-03-20.14:32:53.416>
    user = 'https://github.com/Rosuav'

    bugs.python.org fields:

    activity = <Date 2020-03-20.14:32:53.416>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-20.14:32:53.418>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2016-08-19.22:05:23.814>
    creator = 'Rosuav'
    dependencies = []
    files = ['44158']
    hgrepos = []
    issue_num = 27807
    keywords = ['patch']
    message_count = 8.0
    messages = ['273160', '273165', '364523', '364526', '364536', '364668', '364672', '364673']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'vstinner', 'ezio.melotti', 'michael.foord', 'Rosuav', 'miss-islington']
    pr_nums = ['19060', '19089', '19090', '19093']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27807'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifetestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions