Issue38133
Created on 2019-09-12 11:05 by steve.dower, last changed 2019-10-14 22:52 by miss-islington. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 16025 | merged | steve.dower, 2019-09-12 11:07 | |
| PR 16073 | merged | miss-islington, 2019-09-12 17:18 | |
| PR 16791 | merged | steve.dower, 2019-10-14 22:13 | |
| PR 16798 | merged | miss-islington, 2019-10-14 22:45 | |
| Messages (9) | |||
|---|---|---|---|
| msg352107 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-09-12 11:05 | |
The py.exe launcher cannot locate installations from the Store (unless you have no other installations on your machine, which is unlikely). |
|||
| msg352112 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-09-12 11:15 | |
I added an "exe_display" override for listing paths, since the full path to the store app is not supposed to be used by users (it's different from sys.executable) and is only going to work when the shorter name is on PATH anyway (due to a limitation in Windows that I'm still trying to get fixed). I also enabled support for the ExecutablePath key, which has the added benefit of making the debug py_d.exe able to find release Python 3.5+ installs (as well as finding the Store install at all, which is now using python3.8.exe as the main file because of the limitation I mentioned above). |
|||
| msg352121 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-09-12 11:24 | |
Sample output after this change (some paths elided): Installed Pythons found by ...\py.exe Launcher for Windows (venv) C:\...\env\Scripts\python.exe * -3.8-64 python3.8.exe -3.7-32-32 C:\Python37_x86\python.exe -3.7-64 C:\Python37_x64\python.exe -3.6-32-32 C:\Python36_x86\python.exe -3.6-64 C:\Users\...\AppData\Local\Programs\Python\Python36\python.exe -3.5-32-32 C:\Python35_x86\python.exe -3.5-64 C:\Python35_x64\python.exe -3.4-64 C:\Python34_x64\python.exe -3.3-64 C:\Python33_x64\python.exe -3.3-32 C:\Python33_x86\python.exe -3.2-64 C:\Python32_x64\python.exe -3.2-32 C:\Python32_x86\python.exe -3.1-64 C:\Python31_x64\python.exe -3.1-32 C:\Python31_x86\python.exe -3.0-32 C:\Python30_x86\python.exe -2.7-64 C:\Python27_x64\python.exe -2.7-32 C:\Python27_x86\python.exe -2.6-32 C:\Python26_x86\python.exe -2.5-32 C:\Python25_x86\python.exe |
|||
| msg352137 - (view) | Author: Eryk Sun (eryksun) * | Date: 2019-09-12 12:24 | |
> -3.7-32-32 C:\Python37_x86\python.exe > -3.6-32-32 C:\Python36_x86\python.exe > -3.5-32-32 C:\Python35_x86\python.exe MAX_VERSION_SIZE was increased, so the INSTALLED_PYTHON version string is now the full registry key name with the "-32" suffix. If that's intentional, you'll have to account for it in show_python_list. But I don't think the "-32" suffix belongs in the version string. |
|||
| msg352143 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-09-12 12:36 | |
Ah, good catch, I didn't notice that. Because those are special cases, we should strip it off the version string. One day when we implement PEP 514 properly then they'll come back (and we'll probably drop the -64 suffix for consistency with the PEP). |
|||
| msg352218 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-09-12 17:16 | |
New changeset ed93a8852d120c5a3606720edc723bf5aa6a1fc2 by Steve Dower in branch 'master': bpo-38133: Allow py.exe launcher to locate installations from the Microsoft Store (GH-16025) https://github.com/python/cpython/commit/ed93a8852d120c5a3606720edc723bf5aa6a1fc2 |
|||
| msg352220 - (view) | Author: miss-islington (miss-islington) | Date: 2019-09-12 17:36 | |
New changeset 664d56a52eb5b98ac24b2d0cd4a080ffd49fd93d by Miss Islington (bot) in branch '3.8': bpo-38133: Allow py.exe launcher to locate installations from the Microsoft Store (GH-16025) https://github.com/python/cpython/commit/664d56a52eb5b98ac24b2d0cd4a080ffd49fd93d |
|||
| msg354675 - (view) | Author: Steve Dower (steve.dower) * | Date: 2019-10-14 22:45 | |
New changeset 4d202281c128e2026e78fc5f4cc752b1dafbf3ad by Steve Dower in branch 'master': bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791) https://github.com/python/cpython/commit/4d202281c128e2026e78fc5f4cc752b1dafbf3ad |
|||
| msg354676 - (view) | Author: miss-islington (miss-islington) | Date: 2019-10-14 22:52 | |
New changeset 42308e8b27c8023e3f9d037f5e4a8892f2dcbc48 by Miss Islington (bot) in branch '3.8': bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791) https://github.com/python/cpython/commit/42308e8b27c8023e3f9d037f5e4a8892f2dcbc48 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-10-14 22:52:51 | miss-islington | set | messages: + msg354676 |
| 2019-10-14 22:45:55 | miss-islington | set | pull_requests: + pull_request16354 |
| 2019-10-14 22:45:46 | steve.dower | set | messages: + msg354675 |
| 2019-10-14 22:13:07 | steve.dower | set | pull_requests: + pull_request16351 |
| 2019-09-12 17:36:17 | miss-islington | set | nosy:
+ miss-islington messages: + msg352220 |
| 2019-09-12 17:19:24 | steve.dower | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019-09-12 17:18:42 | miss-islington | set | pull_requests: + pull_request15693 |
| 2019-09-12 17:16:53 | steve.dower | set | messages: + msg352218 |
| 2019-09-12 12:36:35 | steve.dower | set | messages: + msg352143 |
| 2019-09-12 12:24:06 | eryksun | set | nosy:
+ eryksun messages: + msg352137 |
| 2019-09-12 11:24:42 | steve.dower | set | messages: + msg352121 |
| 2019-09-12 11:15:29 | steve.dower | set | messages: + msg352112 |
| 2019-09-12 11:07:02 | steve.dower | set | keywords:
+ patch stage: needs patch -> patch review pull_requests: + pull_request15648 |
| 2019-09-12 11:05:13 | steve.dower | create | |