[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-30 Thread Steve Dower
Steve Dower added the comment: New changeset f3d5715492195fd2532fc1a5d73be07923cdf2e1 by Steve Dower in branch 'main': bpo-46566: Make test_launcher more robust to a variety of installs (GH-32204) https://github.com/python/cpython/commit/f3d5715492195fd2532fc1a5d73be07923cdf2e1 --

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-30 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +30279 pull_request: https://github.com/python/cpython/pull/32204 ___ Python tracker ___

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-28 Thread Steve Dower
Steve Dower added the comment: It's in! Any new issues probably won't be found until the next release, so I'll close this and we can open new bugs. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-28 Thread Steve Dower
Steve Dower added the comment: New changeset bad86a621af61f383b9f06fe4a08f66245df99e2 by Steve Dower in branch 'main': bpo-46566: Add new py.exe launcher implementation (GH-32062) https://github.com/python/cpython/commit/bad86a621af61f383b9f06fe4a08f66245df99e2 --

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-25 Thread Steve Dower
Steve Dower added the comment: I think this PR is "ready enough" to get in for broader testing, but in case anyone wants to try it first, I've attached a build from my own machine. You may need Programs & Features to remove any existing "Python Launcher" before installing this MSI, and you

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-22 Thread Steve Dower
Steve Dower added the comment: Posted my WIP as a draft PR. I'm still adding docs, tests and ironing out minor issues, but the core functionality is there (as well as some added bonuses). Feel free to review, and importantly to mark anywhere you'd like more explanatory comments. Currently

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +30152 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/32062 ___ Python tracker

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > I do process the shebang to restrict searching, or did you mean something > else? That's what I meant. Guess I missed seeing it when scanning the code (probably I should've read the docs :D ) > And registry support [is >

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Brett Cannon
Brett Cannon added the comment: "Practically nothing can be reused - there's no registry, no shebang handling, and our process launching on Windows is already very complex (and has to remain that way for compatibility)." I do process the shebang to restrict searching, or did you mean

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: I'd like to, the main challenge with that is it'd invalidate the code signature on the file, which will make it basically unusable (at the very least, you'll get warnings). A simple rename does not. But yeah, it can probably go in. Hopefully my restructure

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Paul Moore
Paul Moore added the comment: > as well as potentially being able to be a script or .pyz launcher with a > simple rename. Would it be possible to also make the launcher work when prepended to a zipfile? That's a really useful use-case (make a zipapp automatically runnable, but still a

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > If it's already turning into a rewrite, how feasible would it be to adopt > Brett's `py` launcher? I looked at it already, and I'd have to write literally the same code to implement what's needed :) (as well as learning Rust and convincing everyone to let

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-11 Thread Zachary Ware
Zachary Ware added the comment: If it's already turning into a rewrite, how feasible would it be to adopt Brett's `py` launcher? -- nosy: +brett.cannon ___ Python tracker

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-11 Thread Steve Dower
Steve Dower added the comment: Hah, that's funny URL formatting. Let's see if this is any better: -- ___ Python tracker

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-11 Thread Steve Dower
Steve Dower added the comment: I'm working on what's become a rewrite of the launcher. If anyone would like to follow along, you can see my changes at https://github.com/python/cpython/compare/main...zooba:bpo-46566 It's still missing some functionality, and I'm not sure it's any faster or

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-01 Thread Steve Dower
Steve Dower added the comment: I'm working on this now. -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-02-14 Thread conio
Change by conio : -- nosy: +conio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-02-03 Thread Tommy Vercetti
Tommy Vercetti added the comment: PEP 514 looks good to me -- nosy: +TommyVCT ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-01-28 Thread Steve Dower
New submission from Steve Dower : We now have a traditional installer that runs on Windows ARM64 devices, but it omits the py.exe launcher. This is because sys.winver is "3.11-arm64" and hence the registry tag (see PEP 514) is not detected by the launcher. Currently, the launcher is not