@@ -7,7 +7,7 @@ structure and workflow. At a later point these will refer to that website for do
77
88## Bootstrap the project
99
10- Install and [ git] and [ poetry ]
10+ Install and [ git] and [ uv ]
1111
1212Clone:
1313
@@ -22,10 +22,10 @@ $ cd vcspull
2222Install packages:
2323
2424``` console
25- $ poetry install -E " docs test coverage lint "
25+ $ uv sync --all-extras --dev
2626```
2727
28- [ installation documentation ] : https://python-poetry.org/docs/# installation
28+ [ installation documentation ] : https://docs.astral.sh/uv/getting-started/ installation/
2929[ git ] : https://git-scm.com/
3030
3131## Development loop
@@ -55,7 +55,7 @@ $ make watch_test
5555#### Manual (just the command, please)
5656
5757``` console
58- $ poetry run py.test
58+ $ uv run py.test
5959```
6060
6161or:
@@ -169,16 +169,16 @@ The project uses [ruff] to handle formatting, sorting imports and linting.
169169
170170```` {tab} Command
171171
172- poetry :
172+ uv :
173173
174174```console
175- $ poetry run ruff
175+ $ uv run ruff check .
176176```
177177
178178If you setup manually:
179179
180180```console
181- $ ruff .
181+ $ ruff check .
182182```
183183
184184````
@@ -203,16 +203,16 @@ requires [`entr(1)`].
203203
204204```` {tab} Fix files
205205
206- poetry :
206+ uv :
207207
208208```console
209- $ poetry run ruff . --fix
209+ $ uv run ruff check . --fix
210210```
211211
212212If you setup manually:
213213
214214```console
215- $ ruff . --fix
215+ $ ruff check . --fix
216216```
217217
218218````
@@ -223,10 +223,10 @@ $ ruff . --fix
223223
224224```` {tab} Command
225225
226- poetry :
226+ uv :
227227
228228```console
229- $ poetry run ruff format .
229+ $ uv run ruff format .
230230```
231231
232232If you setup manually:
@@ -251,10 +251,10 @@ $ make ruff_format
251251
252252```` {tab} Command
253253
254- poetry :
254+ uv :
255255
256256```console
257- $ poetry run mypy .
257+ $ uv run mypy .
258258```
259259
260260If you setup manually:
@@ -297,7 +297,7 @@ See `[tool.mypy]` in pyproject.toml.
297297
298298## Publishing to PyPI
299299
300- [ poetry ] handles virtualenv creation, package requirements, versioning,
300+ [ uv ] handles virtualenv creation, package requirements, versioning,
301301building, and publishing. Therefore there is no setup.py or requirements files.
302302
303303Update ` __version__ ` in ` __about__.py ` and ` pyproject.toml ` ::
@@ -306,10 +306,11 @@ Update `__version__` in `__about__.py` and `pyproject.toml`::
306306 git tag v0.1.1
307307 git push
308308 git push --tags
309- poetry build
310- poetry publish
311309
312- [ poetry ] : https://python-poetry.org/
310+ GitHub Actions will detect the new git tag, and in its own workflow run `uv
311+ build` and push to PyPI.
312+
313+ [ uv ] : https://github.com/astral-sh/uv
313314[ entr(1) ] : http://eradman.com/entrproject/
314315[ `entr(1)` ] : http://eradman.com/entrproject/
315316[ ruff format ] : https://docs.astral.sh/ruff/formatter/
0 commit comments