diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index a4418df2fc..7f76107b64 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -408,12 +408,13 @@ jobs: run: | pip install uv # TODO: double-check if checking out all tags solves the issue - export SETUPTOOLS_SCM_PRETEND_VERSION="3.0.0" + export SETUPTOOLS_SCM_PRETEND_VERSION="1.999.999" make setup-global-uv cd plugins/${{ matrix.plugin-names }} uv pip install --system . if [ -f dev-requirements.in ]; then uv pip install --system -r dev-requirements.in; fi # TODO: move to protobuf>=5. Github issue: https://github.com/flyteorg/flyte/issues/5448 + echo "Workspace: $GITHUB_WORKSPACE" uv pip install --system -U $GITHUB_WORKSPACE "protobuf<5" "git+https://github.com/flyteorg/flyte.git@master#subdirectory=flyteidl" # TODO: remove this when numpy v2 in onnx has been resolved if [[ ${{ matrix.plugin-names }} == *"onnx"* || ${{ matrix.plugin-names }} == "flytekit-sqlalchemy" || ${{ matrix.plugin-names }} == "flytekit-pandera" ]]; then diff --git a/Dockerfile.dev b/Dockerfile.dev index 1a839104e4..aaac1739d3 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -34,7 +34,7 @@ COPY . /flytekit # Use a future version of SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL such that uv resolution works. RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEKIT=$PSEUDO_VERSION \ - SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL=3.0.0dev0 \ + SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL=1.999.999dev0 \ uv pip install --system --no-cache-dir -U \ "git+https://github.com/flyteorg/flyte.git@master#subdirectory=flyteidl" \ -e /flytekit \ diff --git a/pyproject.toml b/pyproject.toml index 95dbb7dfac..7ed9400d37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ "diskcache>=5.2.1", "docker>=4.0.0", "docstring-parser>=0.9.0", - "flyteidl>=1.15.4b0", + "flyteidl>=1.15.4b0,<2.0.0a0", "fsspec>=2023.3.0", # Bug in 2025.5.0, 2025.5.0post1 https://github.com/fsspec/gcsfs/issues/687 # Bug in 2024.2.0 https://github.com/fsspec/gcsfs/pull/643