File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 with :
5454 go-version : ${{ matrix.go-version }}
5555
56- - name : Install utilities
57- run : |
58- pip install --upgrade 'pip>=23.3' 'setuptools>=64'
59- pip install --requirement requirements.txt
56+ - name : Install uv
57+ uses : astral-sh/setup-uv@v7
6058
6159 - name : Validate go-gin
6260 run : |
63- ngr test --accept-no-venv go-gin
61+ uv run --with=pueblo ngr test go-gin
Original file line number Diff line number Diff line change @@ -50,18 +50,16 @@ jobs:
5050 - name : Acquire sources
5151 uses : actions/checkout@v6
5252
53- - name : Install utilities
54- run : |
55- pip install --upgrade 'pip>=23.3' 'setuptools>=64'
56- pip install --requirement requirements.txt
57-
5853 - name : Set up Java
5954 uses : actions/setup-java@v5
6055 with :
6156 distribution : " temurin"
6257 java-version : ${{ matrix.java-version }}
6358 cache : " maven"
6459
60+ - name : Install uv
61+ uses : astral-sh/setup-uv@v7
62+
6563 - name : Validate java-spark
6664 run : |
67- ngr test --accept-no-venv java-spark
65+ uv run --with=pueblo ngr test java-spark
Original file line number Diff line number Diff line change @@ -48,18 +48,16 @@ jobs:
4848 - name : Acquire sources
4949 uses : actions/checkout@v6
5050
51- - name : Install utilities
52- run : |
53- pip install --upgrade 'pip>=23.3' 'setuptools>=64'
54- pip install --requirement requirements.txt
55-
5651 - name : Set up Java
5752 uses : actions/setup-java@v5
5853 with :
5954 distribution : " temurin"
6055 java-version : ${{ matrix.java-version }}
6156 cache : " maven"
6257
58+ - name : Install uv
59+ uses : astral-sh/setup-uv@v7
60+
6361 - name : Validate java-spring
6462 run : |
65- ngr test --accept-no-venv java-spring
63+ uv run --with=pueblo ngr test java-spring
Original file line number Diff line number Diff line change 4545 - name : Acquire sources
4646 uses : actions/checkout@v6
4747
48- - name : Install utilities
49- run : |
50- pip install --upgrade 'pip>=23.3' 'setuptools>=64'
51- pip install --requirement requirements.txt
52-
5348 # https://github.com/actions/setup-node
5449 - name : Set up Node.js
5550 uses : actions/setup-node@v6
5954 cache-dependency-path : |
6055 nodejs-express/package.json
6156
57+ - name : Install uv
58+ uses : astral-sh/setup-uv@v7
59+
6260 - name : Validate nodejs-express
6361 run : |
64- ngr test --accept-no-venv nodejs-express
62+ uv run --with=pueblo ngr test nodejs-express
Original file line number Diff line number Diff line change @@ -45,18 +45,16 @@ jobs:
4545 - name : Acquire sources
4646 uses : actions/checkout@v6
4747
48- - name : Install utilities
49- run : |
50- pip install --upgrade 'pip>=23.3' 'setuptools>=64'
51- pip install --requirement requirements.txt
52-
5348 # https://github.com/marketplace/actions/setup-php-action
5449 - name : Set up PHP
5550 uses : shivammathur/setup-php@v2
5651 with :
5752 php-version : ${{ matrix.php-version }}
5853 extensions : pdo_pgsql
5954
55+ - name : Install uv
56+ uses : astral-sh/setup-uv@v7
57+
6058 - name : Validate php-slim
6159 run : |
62- ngr test --accept-no-venv php-slim
60+ uv run --with=pueblo ngr test php-slim
Original file line number Diff line number Diff line change 3737 fail-fast : false
3838 matrix :
3939 os : [ 'ubuntu-latest' ]
40- python-version : [ '3.8', '3.12' ]
40+ python-version : [
41+ ' 3.12' ,
42+ ' 3.13' ,
43+ ' 3.14' ,
44+ ]
4145 cratedb-version : [ 'nightly' ]
4246
4347 steps :
5458 cache-dependency-path : |
5559 python-flask/pyproject.toml
5660
57- - name : Install utilities
58- run : |
59- pip install --upgrade 'pip>=23.3' 'setuptools>=64'
60- pip install --requirement requirements.txt
61+ - name : Install uv
62+ uses : astral-sh/setup-uv@v7
6163
6264 - name : Validate python-flask
6365 run : |
64- ngr test --accept-no-venv python-flask
66+ uv run --with=poethepoet --with=pueblo ngr test python-flask
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name = "cratedb-python-flask-guestbook-demo"
33version = " 0.2.0"
44description = " Backend API implementation of the CrateDB guestbook demo application"
55readme = " README.rst"
6+ requires-python = " >=3.8"
67dependencies = [
78 " crash" ,
89 " crate" ,
@@ -13,15 +14,13 @@ dependencies = [
1314 " jinja2<4" ,
1415 " markupsafe<4" ,
1516]
17+ optional-dependencies.develop = [
18+ " poethepoet<1" ,
19+ ]
1620
1721[tool .poe .tasks ]
18- venv = {cmd =" python3 -m venv .venv" }
19- install = [
20- {cmd =" poe venv" },
21- {cmd =" .venv/bin/pip install --editable=." },
22- ]
2322run = [
24- {cmd =" .venv/bin/ python app.py" },
23+ {cmd =" python app.py" },
2524]
2625check = [
2726 {cmd =" python -m py_compile app.py" },
Original file line number Diff line number Diff line change 1- poethepoet < 0.33
1+ poethepoet < 1
22ruff < 0.15
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments