@@ -32,8 +32,8 @@ where the exciting stuff is.
3232- ** git** : You need it for cloning the repository.
3333 Install it [ from the git-scm website] ( https://git-scm.com/download ) .
3434
35- - ** Poetry ** : it is a package manager for Python dependencies. Follow the instructions on the
36- [ Poetry website] ( https://python-poetry.org/docs/master/# installation ) to install the latest version.
35+ - ** uv ** : it is a package manager for Python dependencies. Follow the instructions on the
36+ [ uv website] ( https://docs.astral.sh/uv/getting-started/ installation/ ) to install the latest version.
3737
3838- ** pre-commit** : We are using [ pre-commit] ( https://pre-commit.com/ ) to run
3939 checks like linters, type checks and formatting issues.
@@ -72,16 +72,10 @@ You need to setup Git LFS once, before you will be able to run the whole test su
7272
7373The recommended way to develop Python projects in a semi-isolated way is to use ` virtualenv ` .
7474
75- If you don't want to manage it separately, you can rely on ` Poetry ` to automatically
75+ If you don't want to manage it separately, you can rely on ` uv ` to automatically
7676create a virtualenv for you on install.
7777
78- If you don't want Poetry to automatically create a virtualenv, you can turn it off with this command:
79-
80- ``` shell
81- poetry config virtualenvs.create false
82- ```
83-
84- Or instead of Poetry you can use ` pyenv ` . You can set the Python interpreter
78+ Or instead of uv you can use ` pyenv ` . You can set the Python interpreter
8579version for the local folder only with:
8680
8781```
@@ -90,29 +84,29 @@ pyenv local 3.12.7
9084
9185### Installing Python dependencies
9286
93- We are using [ poetry ] ( https://python-poetry.org / ) to manage our Python
87+ We are using [ uv ] ( https://docs.astral.sh/uv / ) to manage our Python
9488dependencies. To install all required dependencies for development, you can run
9589the following command:
9690
9791```
98- poetry install --with dev
92+ uv install
9993```
10094
10195Please note that it installs dependencies within the dedicated virtual
10296environment. So if you want to run ` unblob ` or ` pytest ` , you need to do it from
10397within the virtual environment:
10498
105- Using poetry run:
99+ Using uv run:
106100
107101```
108- poetry run unblob
109- poetry run pytest tests -v
102+ uv run unblob
103+ uv run pytest tests -v
110104```
111105
112106By dropping into the virtual environment:
113107
114108```
115- poetry shell
109+ uv run $SHELL
116110unblob
117111pytest tests -v
118112```
0 commit comments