Skip to content

Commit 4ec8df2

Browse files
committed
[QI2-1305] Migrate to uv
1 parent f4d5426 commit 4ec8df2

File tree

4 files changed

+1428
-1585
lines changed

4 files changed

+1428
-1585
lines changed

generate.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Script for generating the API client library and accompanying docs for the Compute Job Manager API.
3+
# Script for generating the API client library and accompanying docs for the Compute Job Manager API.
44
#
55
# Usage:
66
# Requires the openapi-generator-cli, which will be installed in the dev-container by dev-install.
@@ -43,12 +43,12 @@ else
4343
sed -i -e 's|compute_api_client/docs/||g' ../../../../docs/design/code/libs/compute_api_client/index.md
4444
find ../../../../docs/design/code/libs/compute_api_client -name "*.md" -exec sed -i -e 's|../README|index|g' {} \;
4545

46-
# Update the version of the poetry project
46+
# Update the version of the uv project
4747
git_tag=$(git describe --tags --abbrev=0)
48-
poetry_tag=$(cat pyproject.toml | grep "^version =" | cut -d'"' -f2)
48+
uv_tag=$(cat pyproject.toml | grep "^version =" | cut -d'"' -f2)
4949

5050
echo "Last Git tag: ${git_tag}"
51-
echo "Current Poetry version: ${poetry_tag}"
51+
echo "Current uv version: ${uv_tag}"
5252

5353
echo "Please input the new version for this repo"
5454
read version
@@ -57,15 +57,15 @@ else
5757

5858
echo "Updating dispatcher dependencies"
5959
cd ../../dispatcher/
60-
poetry lock --no-update
60+
uv lock
6161

6262
echo "Updating integration test dependencies"
6363
cd ../../../tests/integration/
64-
poetry lock --no-update
64+
uv lock
6565

6666
echo "Updating e2e test dependencies"
6767
cd ../e2e/
68-
poetry lock --no-update
68+
uv lock
6969

7070
echo "Success!"
7171
fi

0 commit comments

Comments
 (0)