Skip to content

Commit 3cb97c1

Browse files
committed
mod: layout tweeks
1 parent 4fd3823 commit 3cb97c1

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

talk/slides.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ autodesk$ echo $(whoami)
3232

3333
---
3434

35-
<!-- _footer: 'Figure credit:[xkcd](https://imgs.xkcd.com/comics/python_environment.png)' -->
35+
<!-- _footer: 'Figure credit [xkcd](https://imgs.xkcd.com/comics/python_environment.png)' -->
3636

3737
# The Python dependency hell
3838

@@ -87,7 +87,7 @@ autodesk$ echo $(whoami)
8787

8888
- Ultra-fast Python package manager and resolver
8989
- Drop-in replacement for `pip`, `pip-tools`, and parts of `Poetry`
90-
- Unified installation of python across OS
90+
- Unified installation of python across OS (:scream: No `pyenv` :scream: )
9191
- The lock file is cross platform
9292

9393

@@ -123,7 +123,7 @@ Usage: uv [OPTIONS] <COMMAND>
123123
---
124124

125125

126-
# Start a project
126+
<!-- # Start a project
127127
128128
Create project
129129
```
@@ -145,11 +145,11 @@ Run example script
145145
Creating virtual environment at: .venv
146146
Hello from test-uv!
147147
```
148-
---
148+
--- -->
149149

150-
# Start a package project
150+
# Start a packaged project
151151

152-
Create package project
152+
Create
153153
```
154154
~$ uv init --package test-uv-package
155155
~test-uv-package$ ls
@@ -163,7 +163,7 @@ Create package project
163163
│ └── __init__.py
164164
```
165165

166-
Run example script
166+
Run
167167

168168
```
169169
~test-uv-package$ uv run test-uv-package
@@ -234,15 +234,17 @@ Run example script
234234
235235
# Private packages migration
236236
237-
### Poetry (1.8)
237+
### Poetry 1.8
238+
SCP-like shorthand
238239
```
239240
[tool.poetry.dependencies]
240241
python = ">=3.11,<3.12"
241242
my-private-package = { git = "[email protected]:my-org/my-private-package.git", tag = "1.0.1" }
242243
```
243244
244245
245-
### uv
246+
### uv
247+
Explicit URL-schemes
246248
```
247249
[project]
248250
requires-python = ">=3.11,<3.12"
@@ -251,7 +253,7 @@ dependencies = [
251253
]
252254

253255
[tool.uv.sources]
254-
"my-private-package" {git= "ssh://[email protected]:my-org/my-private-package.git", rev="34f59994bb920679ba5f0cade8061e0da7ca00b5"}
256+
"my-private-package" = {git= "ssh://[email protected]:my-org/my-private-package.git", rev="34f59994bb920679ba5f0cade8061e0da7ca00b5"}
255257
```
256258
257259
---

0 commit comments

Comments
 (0)