Skip to content

Tox 4.0 - py2.7 env - 'cannot determine number of cpus' (os.environ['NUMBER_OF_PROCESSORS'] missing) #2629

@matthuisman

Description

@matthuisman

Python 3.7.9 on Windows x64
Running unittests in py3.5, 3.7 and 2.7

2.7 fails when using multiprocessing.cpu_count()
Due to os.environ['NUMBER_OF_PROCESSORS'] missing from environment

If I run directly in the python2.7 in Windows, above works fine so seems related to new tox 4.0 as was working on 3.X

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:normalaffects many people or has quite an impacthelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions