44
55## Development environment
66
7- [ poetry ] is a required package to develop.
7+ [ uv ] is a required package to develop.
88
99``` console
1010$ git clone https://github.com/vcs-python/libvcs.git
@@ -15,15 +15,15 @@ $ cd libvcs
1515```
1616
1717``` console
18- $ poetry install -E " docs test coverage lint"
18+ $ uv install -E " docs test coverage lint"
1919```
2020
2121Makefile commands prefixed with ` watch_ ` will watch files and rerun.
2222
2323## Tests
2424
2525``` console
26- $ poetry run py.test
26+ $ uv run py.test
2727```
2828
2929Helpers: ` make test ` Rerun tests on file change: ` make watch_test ` (requires [ entr(1)] )
@@ -57,10 +57,10 @@ The project uses [ruff] to handle formatting, sorting imports and linting.
5757
5858```` {tab} Command
5959
60- poetry :
60+ uv :
6161
6262```console
63- $ poetry run ruff
63+ $ uv run ruff
6464```
6565
6666If you setup manually:
@@ -91,10 +91,10 @@ requires [`entr(1)`].
9191
9292```` {tab} Fix files
9393
94- poetry :
94+ uv :
9595
9696```console
97- $ poetry run ruff . --fix
97+ $ uv run ruff . --fix
9898```
9999
100100If you setup manually:
@@ -111,10 +111,10 @@ $ ruff . --fix
111111
112112```` {tab} Command
113113
114- poetry :
114+ uv :
115115
116116```console
117- $ poetry run ruff format .
117+ $ uv run ruff format .
118118```
119119
120120If you setup manually:
@@ -139,10 +139,10 @@ $ make ruff_format
139139
140140```` {tab} Command
141141
142- poetry :
142+ uv :
143143
144144```console
145- $ poetry run mypy .
145+ $ uv run mypy .
146146```
147147
148148If you setup manually:
@@ -176,10 +176,10 @@ requires [`entr(1)`].
176176
177177```` {tab} Command
178178
179- poetry :
179+ uv :
180180
181181```console
182- $ poetry run mypy .
182+ $ uv run mypy .
183183```
184184
185185If you setup manually:
@@ -245,7 +245,7 @@ After `git push` and `git push --tags`, CI will automatically build and deploy t
245245
246246### Releasing (manual)
247247
248- As of 0.10, [ poetry ] handles virtualenv creation, package requirements, versioning, building, and
248+ As of 0.10, [ uv ] handles virtualenv creation, package requirements, versioning, building, and
249249publishing. Therefore there is no setup.py or requirements files.
250250
251251Update ` __version__ ` in ` __about__.py ` and ` pyproject.toml ` ::
@@ -254,10 +254,10 @@ Update `__version__` in `__about__.py` and `pyproject.toml`::
254254 git tag v0.1.1
255255 git push
256256 git push --tags
257- poetry build
258- poetry publish
257+ uv build
258+ uv publish
259259
260- [ poetry ] : https://python-poetry.org/
260+ [ uv ] : https://github.com/astral-sh/uv
261261[ entr(1) ] : http://eradman.com/entrproject/
262262[ `entr(1)` ] : http://eradman.com/entrproject/
263263[ ruff format ] : https://docs.astral.sh/ruff/formatter/
0 commit comments