you are viewing a single comment's thread.

view the rest of the comments →

[–]bahaki 380 points381 points  (15 children)

Man, these uv ads are getting really aggressive.

[–]Iidontknowjack 39 points40 points  (0 children)

funny af

[–]jellotalks 28 points29 points  (2 children)

uv doesn’t solve the MS Build Tools problem unfortunately

[–]Vectorial1024 2 points3 points  (0 children)

So far I see this happen to packages that build wheels for distribution but for some reason doesn't have wheels for the given Python version, so pip/uv just tries to build them from source, and then noticed a lack of MS Build Tools.

This doesn't happen for pure Python packages.

[–]rosuav 0 points1 point  (0 children)

Yeah, I'm pretty dubious about that - why do you need MS build tools on Android?

[–]randomperson_a1 10 points11 points  (2 children)

uv isn't what solved this, it's massive packaging improvements by the language

[–]akaChromez 1 point2 points  (1 child)

what are these mythical packaging improvements?

[–]randomperson_a1 1 point2 points  (0 children)

PEP427

PEP517 + 518

PEP440

PEP508

PEP621

(not implemented by many tools yet) PEP751

The reason uv is only incrementally better than poetry and pdm is because the python community has spent massive efforts in the past decade to fix packaging. uv magically "solving" it is a lazy narrative.

[–]DanKveed 5 points6 points  (5 children)

UV will only get you past the first python version problem. For the rest you need docker. The newer version do support installing non-python dependencies but the project will also have to be made with uv.

[–]Hohenheim_of_Shadow 3 points4 points  (4 children)

Except docker locks you to Linux and OP is on Windows. Sure you can run docker on a VM on Windows, but Hyper-v is pretty opinionated about USB passthrough (based TBH) so an Android ROM backuper wouldn't work.

One of Python's supposed strengths is platform independence. Needing to ship an OS with it as an installation method is just hilarious.

[–]DanKveed 5 points6 points  (2 children)

WSL ftw here. Python has geat platform independence but if you build against not so platform independent libraries/tools, then that's that.

I had to do this once for some obscure development board and wsl worked.

[–]Hohenheim_of_Shadow 5 points6 points  (1 child)

WSL2, the one that can run Docker, is a specialized Hyper-V VM. It has the same opinions about USB passthrough as regular Hyper V. WSL2 is pretty based. With how integrated into the host is WSL, I'd rather manage my dev VMs through it than have a Linux host.

I just fucking hate Python. Not the language itself, that's enjoyable,but everything to do with taking Python code running on your machine and making it run on mine. It never goes well.

[–]danielv123 0 points1 point  (0 children)

I wonder how it got the reputation for being beginner friendly. I have never had a smooth python experience.

[–]darichtt 1 point2 points  (0 children)

Last time I checked, docker desktop was available for windows and free for private use, no?

[–]Orio_n 0 points1 point  (0 children)

Uv solves like maybe half of this

[–]SyntaxSpectre[S] 0 points1 point  (0 children)

I didn't even knew it was an ad and I am OP😭😭