25
25
## :package : Prerequisites
26
26
27
27
- [ Python 3.11+] ( https://docs.python.org/3/ ) for development.
28
- - [ Poetry] ( https://python-poetry.org/ ) for build system.
29
- - [ Poe] ( https://poethepoet.natn.io/installation.html#install-poe-the-poet-as-a-poetry-plugin ) for task runner.
30
- - [ Up] ( https://github.com/MousaZeidBaker/poetry-plugin-up ) for dependency updates.
28
+ - [ uv] ( https://docs.astral.sh/uv/ ) for build system.
31
29
- [ Podman] ( https://podman.io/docs ) for container packaging.
32
30
- [ pre-commit] ( https://pre-commit.com/ ) for git management.
33
31
@@ -56,23 +54,18 @@ The following steps will ensure your project is cloned properly.
56
54
git clone https://github.com/elastic/terranova
57
55
cd terranova
58
56
```
59
- 2 . Use version defined in .python-version :
57
+ 2 . Install dependencies and setup environment :
60
58
``` shell
61
- pyenv install
62
- ```
63
- 3 . Install dependencies and setup environment:
64
- ``` shell
65
- poetry install
66
- poetry shell
67
- poetry poe env:configure
59
+ uv sync
60
+ uv run poe env:configure
68
61
```
69
62
70
63
### Lint
71
64
72
65
- To lint you have to use the workflow.
73
66
74
67
``` bash
75
- poetry poe lint
68
+ uv run poe lint
76
69
```
77
70
78
71
- It will lint the project code using ` pylint ` .
@@ -82,7 +75,7 @@ poetry poe lint
82
75
- To format you have to use the workflow.
83
76
84
77
``` bash
85
- poetry poe fmt
78
+ uv run poe fmt
86
79
```
87
80
88
81
- It will format the project code using ` black ` and ` isort ` .
@@ -103,16 +96,16 @@ brew install terranova
103
96
104
97
``` bash
105
98
# For MacOSX Apple Silicon
106
- gh release download 0.4.0 -p ' *-darwin-arm64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
99
+ gh release download 0.6.5 -p ' *-darwin-arm64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
107
100
108
101
# For MacOSX Intel
109
- gh release download 0.4.0 -p ' *-darwin-amd64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
102
+ gh release download 0.6.5 -p ' *-darwin-amd64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
110
103
111
104
# For Linux arm64
112
- gh release download 0.4.0 -p ' *-linux-arm64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
105
+ gh release download 0.6.5 -p ' *-linux-arm64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
113
106
114
107
# For Linux amd64
115
- gh release download 0.4.0 -p ' *-linux-amd64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
108
+ gh release download 0.6.5 -p ' *-linux-amd64' -O /usr/local/bin/terranova --clobber --repo elastic/terranova
116
109
117
110
# Make it executable
118
111
chmod +x /usr/local/bin/terranova
0 commit comments