Hi all.
I am excited to share my proposal for replacing (over usual deprecation periods) the Windows installers (plural) with a single tool for downloading, installing, updating, and managing installs. This preserves our current preference for encouraging side-by-side installs of multiple versions, while also solving/avoiding a significant number of limitations due to the underlying installer technology.
I hope the PEP speaks for itself, so I’ll say no more here. I do have a prototype implementation, though it’s a little bit behind the PEP text right now so I want to bring it up to date before sharing another build (it’s been shared before in the Ideas thread[1]). I’ll update this post when I have one ready.
Current formatted text:https://peps.python.org/pep-0773/
Current PEP PR:https://github.com/python/peps/pull/4249
Current demo build:https://github.com/zooba/pymanager/releases/tag/0.1a7 (~20MB)
Demo video (for 0.1a4):
Looking forward to hearing what you all think!
Edit: Updated the number, seems I just missed 772. Hope it’s a good one though! This is now 773.
Edit (23Jan2025): Updated demo build link and video
If you were part of that,all the controversial stuff has been changed, so read the text again.↩︎
22 Likes
I think the new installer’s a fantastic addition, and there’s loads of great work gone into the PEP.
But I strongly oppose replacing and deprecation of the traditional .exe installers (e.g).
I didn’t notice any mention of taking over the whole install process on Windows in the initial discussions. The scope was limited to users that have chosen to install Python from the Windows Store.
6 Likes
Getting rid of the existing standard way to install on Windows, is a significant breaking change.
With the traditional installers, different versions play well with each other, I can see exactly what version I’m getting, avoid installing optional extras, but most importantly, I don’t have to navigate a screen full of flashing ads from the Windows Store. Nor do I have to have it track what software I’ve installed. No app store should own the standard installation route for Python on an OS (even one run by the producer of that OS).
But that’s a reasonable point. Is there an example of such a new installer available to download elsewhere yet to test? If so, I’m more than happy to test it. If I find it works just as well, I won’t be opposed. But until the wider community has experience of that, deprecation and replacement of existing tried and tested installers should not be on the table.
2 Likes
Thanks for the in depth reply and further clarification. I appreciate the new transparency, from this going through the PEP process (unlike before).
Isthis the latest test build, Steve?
It’s not a biggie for me personally (I’m adopting uv). So this is a hill that I will trust yours and Steve’s judgement on and vacate, rather than die on.
pf_moore (Paul Moore)12 By the way,@steve.dower - I was going to say that people really should try the new manager once you have the updated version out. For me, it was a very smooth experience - it worked just fine, and I could install it, use it and then uninstall it without any issues.
But I use a very default installation of thepython.org installers. I don’t addpython to my path, I don’t use the store Python, etc. My understanding is that if peopledo addpython to their path, they will probably need to remove it, otherwise they won’t see the app redirector (and won’t be using the new install). The same is true of thepy launcher, although in my testing I was using a version of the new manager before it added thepy command.
I suggest that if you want people to try out the new installer, it might be worth documenting some details on how to do so, while not affecting their current install too much. Those docs will be needed when the PEP gets accepted anyway, as part of the “how to use the new manager” documentation, so it won’t be wasted effort.
6 Likes
ssweber (Sam Weber)13 Great work@steve.dower . I’ll be sure to test on my fleet (several business computers, hah) when the new build is available.
This brings harmony to the Windows experience. No longer will I fret, “store Python orPython.org installer?” One and the same
1 Like
Kwpolska (Chris Warrick)16 1 Like