Skip to content

[3.7] bpo-28441: Ensure .exe suffix in sys.executable on MinGW and Cygwin (GH-4348)#12063

Merged
methane merged 1 commit intopython:3.7from
miss-islington:backport-7a7693e-3.7
Feb 27, 2019
Merged

[3.7] bpo-28441: Ensure .exe suffix in sys.executable on MinGW and Cygwin (GH-4348)#12063
methane merged 1 commit intopython:3.7from
miss-islington:backport-7a7693e-3.7

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Feb 27, 2019

This is needed to even the run the test suite on buildbots for affected platforms; e.g.:

./python.exe  ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
/home/embray/src/python/test-worker/3.x.test-worker/build/python -u -W default -bb -E -W error::BytesWarning -m test -r -w -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
Traceback (most recent call last):
  File "./Tools/scripts/run_tests.py", line 56, in <module>
    main(sys.argv[1:])
  File "./Tools/scripts/run_tests.py", line 52, in main
    os.execv(sys.executable, args)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:1073: buildbottest] Error 1

(cherry picked from commit 7a7693e)

Co-authored-by: E. M. Bray erik.m.bray@gmail.com

https://bugs.python.org/issue28441

…in (pythonGH-4348)

This is needed to even the run the test suite on buildbots for affected platforms; e.g.:

```
./python.exe  ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
/home/embray/src/python/test-worker/3.x.test-worker/build/python -u -W default -bb -E -W error::BytesWarning -m test -r -w -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
Traceback (most recent call last):
  File "./Tools/scripts/run_tests.py", line 56, in <module>
    main(sys.argv[1:])
  File "./Tools/scripts/run_tests.py", line 52, in main
    os.execv(sys.executable, args)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:1073: buildbottest] Error 1
```
(cherry picked from commit 7a7693e)

Co-authored-by: E. M. Bray <erik.m.bray@gmail.com>
@miss-islington
Copy link
Copy Markdown
Contributor Author

@embray and @methane: Status check is done, and it's a failure ❌ .

1 similar comment
@miss-islington
Copy link
Copy Markdown
Contributor Author

@embray and @methane: Status check is done, and it's a failure ❌ .

@methane methane merged commit e5897b6 into python:3.7 Feb 27, 2019
@miss-islington miss-islington deleted the backport-7a7693e-3.7 branch February 27, 2019 09:24
@embray
Copy link
Copy Markdown
Contributor

embray commented Feb 27, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants