Skip to content

Commit c33d654

Browse files
committed
show: tweeks after first rehersal
1 parent b7bcf57 commit c33d654

1 file changed

Lines changed: 84 additions & 27 deletions

File tree

talk/slides.md

Lines changed: 84 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,35 @@ autodesk$ echo $(whoami)
4343
# Short :snake: :package: history
4444

4545
- **1991** Python 1.0 released (Guido van Rossum)
46+
- **2007** `virtualenv` (Ian Bicking)
4647
- **2008** Python 3.0 & rise of `setuptools`
47-
- **2009** `conda` released (Anaconda Inc.)
4848
- **2011** `pip` bundled with Python
49-
- **2013** `virtualenv` becomes widely used
50-
- **2017** `pipenv` launched (PyPA-backed)
49+
- **2012** `conda` (Anaconda Inc.) and `venv` (Vinay Sajip)
50+
- **2015** [PEP 517](https://peps.python.org/pep-0517/)
51+
- **2016** [PEP518](https://peps.python.org/pep-0518/)
52+
- **2017** `pipenv`, combining `venv` and `pip` (PyPA-backed)
5153
- **2018** `poetry` (S. Eustace)
5254
- **2019** [`hatch`](https://github.com/pypa/hatch) (Ofek)
53-
- **2020**:
54-
- Widespread `pyproject.toml` adoption ([PEPs 517/518/621](https://peps.python.org/pep-0621/))
55-
- [`PDM`](https://github.com/pdm-project/pdm) (Frost Ming)
55+
- **2020** [PEP621](https://peps.python.org/pep-0621/) and [`PDM`](https://github.com/pdm-project/pdm) (Frost Ming)
5656
- **2024** [`uv`](https://docs.astral.sh/uv/) (Astral)
5757

5858
---
5959

6060
# Short :snake: :package: history
6161

6262
- **1991** Python 1.0 released (Guido van Rossum)
63+
- **2007** `virtualenv` (Ian Bicking)
6364
- **2008** Python 3.0 & rise of `setuptools`
64-
- **2009** `conda` released (Anaconda Inc.)
6565
- **2011** `pip` bundled with Python
66-
- **2013** `virtualenv` becomes widely used
67-
- **2017** `pipenv` launched (PyPA-backed)
66+
- **2012** `conda` (Anaconda Inc.) and `venv` (Vinay Sajip)
67+
- **2015** [PEP 517](https://peps.python.org/pep-0517/)
68+
- **2016** [PEP518](https://peps.python.org/pep-0518/)
69+
- **2017** `pipenv`, combining `venv` and `pip` (PyPA-backed)
6870
<div style="border: 2px solid red; padding: 6px; border-radius: 6px; background-color: #fff5f5;">
6971
<strong>2018</strong> <code>poetry</code> (S. Eustace)
7072
</div>
7173
- **2019** [`hatch`](https://github.com/pypa/hatch) (Ofek)
72-
- **2020**:
73-
- Widespread `pyproject.toml` adoption ([PEPs 517/518/621](https://peps.python.org/pep-0621/))
74-
- [`PDM`](https://github.com/pdm-project/pdm) (Frost Ming)
74+
- **2020** [PEP621](https://peps.python.org/pep-0621/) and [`PDM`](https://github.com/pdm-project/pdm) (Frost Ming)
7575
- **2024** [`uv`](https://docs.astral.sh/uv/) (Astral)
7676

7777

@@ -81,16 +81,16 @@ autodesk$ echo $(whoami)
8181
# Short :snake: :package: history
8282

8383
- **1991** Python 1.0 released (Guido van Rossum)
84+
- **2007** `virtualenv` (Ian Bicking)
8485
- **2008** Python 3.0 & rise of `setuptools`
85-
- **2009** `conda` released (Anaconda Inc.)
8686
- **2011** `pip` bundled with Python
87-
- **2013** `virtualenv` becomes widely used
88-
- **2017** `pipenv` launched (PyPA-backed)
87+
- **2012** `conda` (Anaconda Inc.) and `venv` (Vinay Sajip)
88+
- **2015** [PEP 517](https://peps.python.org/pep-0517/)
89+
- **2016** [PEP518](https://peps.python.org/pep-0518/)
90+
- **2017** `pipenv`, combining `venv` and `pip` (PyPA-backed)
8991
- **2018** `poetry` (S. Eustace)
9092
- **2019** [`hatch`](https://github.com/pypa/hatch) (Ofek)
91-
- **2020**:
92-
- Widespread `pyproject.toml` adoption ([PEPs 517/518/621](https://peps.python.org/pep-0621/))
93-
- [`PDM`](https://github.com/pdm-project/pdm) (Frost Ming)
93+
- **2020** [PEP621](https://peps.python.org/pep-0621/) and [`PDM`](https://github.com/pdm-project/pdm) (Frost Ming)
9494
<div style="border: 2px solid red; padding: 6px; border-radius: 6px; background-color: #fff5f5;">
9595
<strong>2024</strong> <code>uv</code> (Astral)
9696
</div>
@@ -116,6 +116,36 @@ autodesk$ echo $(whoami)
116116

117117
---
118118

119+
# Migration Output
120+
121+
<div style="
122+
font-family: monospace;
123+
background-color: white; /* light gray background */
124+
padding: 1em;
125+
border-radius: 6px;
126+
border: 1px solid #ccc; /* subtle border around entire block */
127+
display: inline-block;
128+
max-width: 900px;
129+
">
130+
<div>~my-project$ uvx migrate-to-uv</div>
131+
<div> Installed 1 package in 16ms</div>
132+
<div style="
133+
border: 2px solid red;
134+
border-radius: 4px;
135+
padding: 4px;
136+
margin: 4px 0;
137+
background-color: #fff5f5; /* very light red background for emphasis */
138+
">
139+
Locking dependencies with "uv lock"...
140+
</div>
141+
<div>Using CPython 3.12.4 interpreter at: /Users/sunnivaindrehus/.pyenv/versions/3.12.4/bin/python3.12</div>
142+
<div>Resolved 123 packages in 1.01s</div>
143+
<div>Successfully migrated project from Poetry to uv!</div>
144+
</div>
145+
146+
---
147+
148+
119149
# Basic API
120150

121151
## Install uv
@@ -141,6 +171,7 @@ Usage: uv [OPTIONS] <COMMAND>
141171

142172
# Start a project
143173

174+
Create project
144175
```
145176
~$ uv init test-uv
146177
~test-uv$ ls
@@ -163,6 +194,8 @@ Run example script
163194
---
164195

165196
# Start a package project
197+
198+
Create package project
166199
```
167200
~$ uv init --package test-uv-package
168201
~test-uv-package$ ls
@@ -187,16 +220,40 @@ Run example script
187220

188221
---
189222

190-
# Plain dependency migration
191223

192-
```
193-
~my-project$ uvx migrate-to-uv
194-
Installed 1 package in 16ms
195-
Locking dependencies with "uv lock"...
196-
Using CPython 3.12.4 interpreter at: /Users/sunnivaindrehus/.pyenv/versions/3.12.4/bin/python3.12
197-
Resolved 123 packages in 1.01s
198-
Successfully migrated project from Poetry to uv!
199-
```
224+
# Plain dependency migration
225+
<div style="
226+
font-family: monospace;
227+
background-color: white;
228+
padding: 1em;
229+
border-radius: 6px;
230+
border: 1px solid #ccc;
231+
display: inline-block;
232+
max-width: 1100px;
233+
">
234+
<div>~my-project$ uvx migrate-to-uv</div>
235+
236+
<div >Installed 1 package in 16ms</div>
237+
238+
<div >
239+
Locking dependencies with "uv lock"...
240+
</div>
241+
242+
<div >Using CPython 3.12.4 interpreter at: /Users/sunnivaindrehus/.pyenv/versions/3.12.4/bin/python3.12</div>
243+
244+
<div style="
245+
padding-left: 4em;
246+
border: 2px solid red;
247+
border-radius: 4px;
248+
padding: 4px;
249+
margin: 4px 0;
250+
background-color: #fff5f5;
251+
">Resolved 123 packages in 1.01s</div>
252+
253+
<div >Successfully migrated project from Poetry to uv!</div>
254+
</div>
255+
256+
200257
---
201258

202259
# Complex dependency migration

0 commit comments

Comments
 (0)