From ac594f9a08f0df2eec330341c1633932bfbdd325 Mon Sep 17 00:00:00 2001 From: Eugene Batalov Date: Tue, 7 Jan 2025 12:00:02 +0000 Subject: [PATCH] update --- .github/workflows/publish_indexify_pypi.yaml | 2 +- .github/workflows/tests.yaml | 7 ++++--- executor/pyproject.toml | 4 ++-- executor/tests/pyproject.toml | 2 +- function_executor/pyproject.toml | 4 ++-- function_executor/tests/pyproject.toml | 2 +- indexify/pyproject.toml | 4 ++-- indexify/tests/pyproject.toml | 2 +- python-sdk/pyproject.toml | 4 ++-- python-sdk/tests/pyproject.toml | 2 +- python_utils/pyproject.toml | 4 ++-- python_utils/tests/pyproject.toml | 2 +- 12 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/publish_indexify_pypi.yaml b/.github/workflows/publish_indexify_pypi.yaml index 07b3aead4..778180306 100644 --- a/.github/workflows/publish_indexify_pypi.yaml +++ b/.github/workflows/publish_indexify_pypi.yaml @@ -53,7 +53,7 @@ jobs: with: python-version: "3.9" - name: Install Poetry - run: pipx install poetry + run: pipx install --force 'poetry==2.0.0' - name: Build python-sdk run: make build - name: Publish Indexify to PyPI diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b24d95adb..0a9abcb51 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -74,7 +74,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install poetry - run: pipx install poetry + run: pipx install --force 'poetry==2.0.0' - name: Setup Python uses: actions/setup-python@v5 with: @@ -112,7 +112,7 @@ jobs: # with: # name: indexify-server - name: Install poetry - run: pipx install poetry + run: pipx install --force 'poetry==2.0.0' - name: Setup Python uses: actions/setup-python@v5 with: @@ -144,6 +144,7 @@ jobs: # log-output-if: true - name: Start Indexify Executor run: | + poetry --version ls cd function_executor make build @@ -274,7 +275,7 @@ jobs: # always logging the output to debug test failures. log-output-if: true - name: Install poetry - run: pipx install poetry + run: pipx install --force 'poetry==2.0.0' - name: Setup Python uses: actions/setup-python@v5 with: diff --git a/executor/pyproject.toml b/executor/pyproject.toml index 703383751..c5e2da31c 100644 --- a/executor/pyproject.toml +++ b/executor/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.md" homepage = "https://github.com/tensorlakeai/indexify" repository = "https://github.com/tensorlakeai/indexify" packages = [ - { include = "executor", from="src" }, + { include = "executor", from="src", format = ["sdist", "wheel"] }, ] [tool.poetry.dependencies] @@ -27,5 +27,5 @@ black = "^24.10.0" pylint = "^2.4.0" [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/executor/tests/pyproject.toml b/executor/tests/pyproject.toml index cac09c4df..2c53ec926 100644 --- a/executor/tests/pyproject.toml +++ b/executor/tests/pyproject.toml @@ -14,5 +14,5 @@ python = "^3.9" indexify-executor = { path = "..", develop = true } [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/function_executor/pyproject.toml b/function_executor/pyproject.toml index b71b1feb9..9c9c96acb 100644 --- a/function_executor/pyproject.toml +++ b/function_executor/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.md" homepage = "https://github.com/tensorlakeai/indexify" repository = "https://github.com/tensorlakeai/indexify" packages = [ - { include = "function_executor", from="src" }, + { include = "function_executor", from="src", format = ["sdist", "wheel"] }, ] [tool.poetry.scripts] @@ -30,5 +30,5 @@ black = "^24.10.0" pylint = "^2.4.0" [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/function_executor/tests/pyproject.toml b/function_executor/tests/pyproject.toml index 107f1dd3f..8aac9cb16 100644 --- a/function_executor/tests/pyproject.toml +++ b/function_executor/tests/pyproject.toml @@ -14,5 +14,5 @@ indexify-python-sdk = { path = "../../python-sdk", develop = true } indexify-function-executor = { path = "..", develop = true } [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/indexify/pyproject.toml b/indexify/pyproject.toml index 2339d70cc..6bb5f3583 100644 --- a/indexify/pyproject.toml +++ b/indexify/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.md" homepage = "https://github.com/tensorlakeai/indexify" repository = "https://github.com/tensorlakeai/indexify" packages = [ - { include = "cli", from="src" }, + { include = "cli", from="src", format = ["sdist", "wheel"] }, ] [tool.poetry.scripts] @@ -32,5 +32,5 @@ black = "^24.10.0" pylint = "^2.4.0" [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/indexify/tests/pyproject.toml b/indexify/tests/pyproject.toml index c56b9c951..b93ec8aca 100644 --- a/indexify/tests/pyproject.toml +++ b/indexify/tests/pyproject.toml @@ -15,5 +15,5 @@ parameterized = "^0.9.0" indexify = { path = "..", develop = true } [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/python-sdk/pyproject.toml b/python-sdk/pyproject.toml index 1909a2c93..8449e1ad5 100644 --- a/python-sdk/pyproject.toml +++ b/python-sdk/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.md" homepage = "https://github.com/tensorlakeai/indexify" repository = "https://github.com/tensorlakeai/indexify" packages = [ - { include = "indexify", from="src" }, + { include = "indexify", from="src", format = ["sdist", "wheel"] }, ] [tool.poetry.dependencies] @@ -28,5 +28,5 @@ black = "^24.10.0" pylint = "^2.4.0" [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/python-sdk/tests/pyproject.toml b/python-sdk/tests/pyproject.toml index 37bd58ea9..ed6d12a1d 100644 --- a/python-sdk/tests/pyproject.toml +++ b/python-sdk/tests/pyproject.toml @@ -16,5 +16,5 @@ parameterized = "^0.9.0" indexify-python-sdk = { path = "..", develop = true } [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/python_utils/pyproject.toml b/python_utils/pyproject.toml index 0e598c2b2..f7c0868c1 100644 --- a/python_utils/pyproject.toml +++ b/python_utils/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" homepage = "https://github.com/tensorlakeai/indexify" repository = "https://github.com/tensorlakeai/indexify" packages = [ - { include = "python_utils", from="src" }, + { include = "python_utils", from="src", format = ["sdist", "wheel"] }, ] [tool.poetry.dependencies] @@ -22,5 +22,5 @@ black = "^24.10.0" pylint = "^2.4.0" [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/python_utils/tests/pyproject.toml b/python_utils/tests/pyproject.toml index 97935c9a2..c2a500934 100644 --- a/python_utils/tests/pyproject.toml +++ b/python_utils/tests/pyproject.toml @@ -13,5 +13,5 @@ python = "^3.9" indexify-python-utils = { path = "..", develop = true } [build-system] -requires = ["poetry>=1.2"] +requires = ["poetry==2.0.0"] build-backend = "poetry.core.masonry.api"