diff --git a/.github/Dockerfile b/.github/Dockerfile index 951c5483ce..0ed3c73f43 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -1,7 +1,7 @@ FROM nikolaik/python-nodejs RUN npm install -g @apidevtools/swagger-cli -RUN pip install openapi-python-client +RUN pip install openapi-python-client==0.15.1 RUN pip install poetry diff --git a/.github/DockerfilePypiBuilder b/.github/DockerfilePypiBuilder index 2c0a20d392..11924f7d97 100644 --- a/.github/DockerfilePypiBuilder +++ b/.github/DockerfilePypiBuilder @@ -4,4 +4,4 @@ RUN python3 -m pip install pipx poetry RUN python3 -m pipx ensurepath ENV PATH="/root/.local/bin:${PATH}" ENV PATH="/usr/local/bin:${PATH}" -RUN pipx install openapi-python-client==0.11.6 --include-deps \ No newline at end of file +RUN pipx install openapi-python-client==0.15.1 --include-deps \ No newline at end of file diff --git a/python-client/build.sh b/python-client/build.sh index 397fd5f921..8267ded3da 100755 --- a/python-client/build.sh +++ b/python-client/build.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -mkdir openapi +mkdir openapi || true cp ../backend/windmill-api/openapi.yaml openapi/openapi.yaml npx @redocly/openapi-cli@latest bundle openapi/openapi.yaml > openapi-bundled.yaml diff --git a/python-client/install.sh b/python-client/install.sh index 318e9b7339..ae463574fb 100755 --- a/python-client/install.sh +++ b/python-client/install.sh @@ -1,11 +1,15 @@ #!/bin/bash set -e +rm windmill-api/dist/* || true +rm wmill/dist/* || true +rm wmill_pg/dist/* || true + ./build.sh -pip3 install windmill-api/dist/*.whl --force-reinstall -pip3 install wmill/dist/*.whl -pip3 install wmill_pg/dist/*.whl +pip3 install windmill-api/dist/*.whl --force-reinstall --user --break-system-packages +pip3 install wmill/dist/*.whl --force-reinstall --user --break-system-packages +pip3 install wmill_pg/dist/*.whl --force-reinstall --user --break-system-packages rm -rf windmill-api/ rm -rf wmill/dist/* diff --git a/python-client/wmill/dist/wmill-1.164.0-py3-none-any.whl b/python-client/wmill/dist/wmill-1.164.0-py3-none-any.whl deleted file mode 100644 index 41b26d11fa..0000000000 Binary files a/python-client/wmill/dist/wmill-1.164.0-py3-none-any.whl and /dev/null differ diff --git a/python-client/wmill/dist/wmill-1.164.0.tar.gz b/python-client/wmill/dist/wmill-1.164.0.tar.gz deleted file mode 100644 index d521582de6..0000000000 Binary files a/python-client/wmill/dist/wmill-1.164.0.tar.gz and /dev/null differ diff --git a/python-client/wmill_pg/dist/wmill_pg-1.164.0-py3-none-any.whl b/python-client/wmill_pg/dist/wmill_pg-1.164.0-py3-none-any.whl deleted file mode 100644 index 21e6abb47e..0000000000 Binary files a/python-client/wmill_pg/dist/wmill_pg-1.164.0-py3-none-any.whl and /dev/null differ diff --git a/python-client/wmill_pg/dist/wmill_pg-1.164.0.tar.gz b/python-client/wmill_pg/dist/wmill_pg-1.164.0.tar.gz deleted file mode 100644 index 436d82f65a..0000000000 Binary files a/python-client/wmill_pg/dist/wmill_pg-1.164.0.tar.gz and /dev/null differ