Skip to content

Update 453-uv.txt #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions transcripts/453-uv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@

00:05:48 and here's how we use this, and here's how we use that, you know?

00:05:50 - Right, I think isort's a really good example, because instead of having a, and isort's a great tool,
00:05:50 - Right, I think isort's a really good example, because instead of having and isort's a great tool,

00:05:55 but instead of having a separate tool to do your import sorting, Ruff frames import sorting as just a lint rule.

Expand Down Expand Up @@ -302,7 +302,7 @@

00:10:04 You know, for me, it was pretty clear.

00:10:07 Like it was immediately clear to me I needed to be working on a rough full time
00:10:07 Like it was immediately clear to me I needed to be working on a ruff full time

00:10:10 if I wanted the project to succeed.

Expand Down Expand Up @@ -396,11 +396,11 @@

00:12:59 One thing I do wanna give a bit of a shout out to is, I don't remember, I think I found this on Mastodon,

00:13:05 I can't remember where somebody talked about it, but one of the things that rough does,
00:13:05 I can't remember where somebody talked about it, but one of the things that ruff does,

00:13:10 one, it changes code, which is awesome.

00:13:12 I love your rough format story, but it also just tells you, hey, this could be better.
00:13:12 I love your ruff format story, but it also just tells you, hey, this could be better.

00:13:16 You're violating PEP 8, you're violating this other convention or even a security thing, right?

Expand All @@ -414,7 +414,7 @@

00:13:39 When you have 700 rules, there's a lot of why.

00:13:42 And so you guys came up with this thing at docs.astral.sh/rough/rules, put in links that literally for each one of these
00:13:42 And so you guys came up with this thing at docs.astral.sh/ruff/rules, put in links that literally for each one of these

00:13:51 has like a little example and what is good and what is bad and when you should use it and so on.

Expand Down Expand Up @@ -462,7 +462,7 @@

00:15:13 So it says things like consistency is good.

00:15:15 Use a common convention for imports to make your code more readable and idiomatic or Pythonic.
00:15:15 Use a common convention for imports to make your code more readable and idiomatic or Pydantic.

00:15:20 And it just gives an example, bad, good.

Expand Down Expand Up @@ -550,7 +550,7 @@

00:17:52 Visit talkpython.fm/neo4j to get started.

00:17:57 That's talkpython.fm/neo, the number four and the letter J.
00:17:57 That's talkpython.fm/neo4j, the number four and the letter J.

00:18:02 Thank you to Neo4j for supporting Talk Python to Me.

Expand Down Expand Up @@ -670,7 +670,7 @@

00:21:59 in their project that uses pip today and get in many cases, like very, very significant performance improvements.

00:22:08 So similar to rough, like some of the goals we had for this project were one,
00:22:08 So similar to ruff, like some of the goals we had for this project were one,

00:22:12 it should be very, very fast.

Expand Down Expand Up @@ -720,7 +720,7 @@

00:23:45 And yeah, a lot of these things are just like way, way, way faster.

00:23:49 Similar to rough like-
00:23:49 Similar to ruff like-

00:23:51 - Dramatically faster, yeah.

Expand Down Expand Up @@ -1134,7 +1134,7 @@

00:35:54 PipX upgrade all.

00:35:56 Basically I find rough and UV is just, you guys are moving super fast and there's frequently an update.
00:35:56 Basically I find ruff and UV is just, you guys are moving super fast and there's frequently an update.

00:36:03 - There are often updates, yeah.

Expand Down Expand Up @@ -1188,13 +1188,13 @@

00:37:45 And we support a lot of the same flags too that like pip supports.

00:37:48 So like dash dash index URL, dash dash extra index URL, like dash dash no binary, like all that stuff.
00:37:48 So like --index URL, -- extra index URL, like --no binary, like all that stuff.

00:37:54 Like we've put a lot of, we don't support every flag, but we've put a lot of effort into supporting a lot of them.

00:38:00 And we've added more over time.

00:38:01 Like now we support like dash dash no build isolation and stuff like that,
00:38:01 Like now we support like --no build isolation and stuff like that,

00:38:05 that maybe most listeners have never even had to look at, but like, yeah, these things matter

Expand Down Expand Up @@ -1738,7 +1738,7 @@

00:54:09 'Cause it's just not, it just didn't happen.

00:54:12 Like rough wasn't nearly as much of a fit for that kind of thing.
00:54:12 Like ruff wasn't nearly as much of a fit for that kind of thing.

00:54:16 Like there just aren't as nearly, there are some, but it's just not as natural to have like integrations

Expand All @@ -1748,7 +1748,7 @@

00:54:24 - Yeah, it's more, UV is more of a building block than rough is.

00:54:27 Rough fits in editors and CI and stuff.
00:54:27 Ruff fits in editors and CI and stuff.

00:54:30 Yeah, okay.

Expand Down Expand Up @@ -1790,7 +1790,7 @@

00:55:39 And we can also do, you know, yeah, it would just be nice if you did, you know,

00:55:44 pip compile, like UV pip compile, dash dash Python 3.13 or something.
00:55:44 pip compile, like UV pip compile, --Python 3.13 or something.

00:55:50 And then we just like bootstrapped Python 3.13 and did the resolution on your machine.

Expand Down Expand Up @@ -2250,7 +2250,7 @@

01:07:10 And like, I guess my philosophy there is like, I want us to like embrace virtual environments.

01:07:17 I think Rai has this philosophy too, which is like Rai does use virtual environments.
01:07:17 I think Rye has this philosophy too, which is like Rye does use virtual environments.

01:07:20 And like virtual environments actually have a lot of, there's a lot of benefits to embracing them.

Expand Down Expand Up @@ -2388,7 +2388,7 @@

01:10:55 like, you know.

01:10:57 - You can work on a rough for a month and nobody cares until it starts to catch some traction.
01:10:57 - You can work on a ruff for a month and nobody cares until it starts to catch some traction.

01:11:01 Right?

Expand Down Expand Up @@ -2521,4 +2521,3 @@
01:14:00 (upbeat music)

01:14:18 Here's what's next!