Skip to content

Windows Multiprocessing in Virtualenv: sys.prefix is incorrect #83620

@ameily

Description

@ameily
mannequin
BPO 39439
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @ameily, @miss-islington
PRs
  • [3.7] bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environment (GH-16098) #18157
  • bpo-39439: Fix Multiprocessing Python Path in Windows Virtualenv #18158
  • [3.8] bpo-39439: Fix Multiprocessing Python Path in Windows Virtualenv (GH-18158) #18159
  • [3.7] bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158) #18237
  • [3.8] bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158) #18238
  • Superseder
  • bpo-38092: environment variables not passed correctly using new virtualenv launching in windows and python3.7+
  • Files
  • multiproc_venv_prefix.py: Example script that demonstrates the behavior
  • 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-01-23.22:39:03.702>
    created_at = <Date 2020-01-23.21:04:50.207>
    labels = ['3.8', 'type-bug', '3.7', '3.9', 'OS-windows']
    title = 'Windows Multiprocessing in Virtualenv: sys.prefix is incorrect'
    updated_at = <Date 2020-01-28.10:52:50.803>
    user = 'https://github.com/ameily'

    bugs.python.org fields:

    activity = <Date 2020-01-28.10:52:50.803>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-23.22:39:03.702>
    closer = 'eryksun'
    components = ['Windows']
    creation = <Date 2020-01-23.21:04:50.207>
    creator = 'meilyadam'
    dependencies = []
    files = ['48862']
    hgrepos = []
    issue_num = 39439
    keywords = []
    message_count = 6.0
    messages = ['360581', '360582', '360589', '360590', '360862', '360864']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'meilyadam', 'miss-islington']
    pr_nums = ['18157', '18158', '18159', '18237', '18238']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '38092'
    type = 'behavior'
    url = 'https://bugs.python.org/issue39439'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions