Skip to content

Commit 6eb853d

Browse files
IDL upper bound (#3321)
Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>
1 parent d03c14c commit 6eb853d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/pythonbuild.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,13 @@ jobs:
408408
run: |
409409
pip install uv
410410
# TODO: double-check if checking out all tags solves the issue
411-
export SETUPTOOLS_SCM_PRETEND_VERSION="3.0.0"
411+
export SETUPTOOLS_SCM_PRETEND_VERSION="1.999.999"
412412
make setup-global-uv
413413
cd plugins/${{ matrix.plugin-names }}
414414
uv pip install --system .
415415
if [ -f dev-requirements.in ]; then uv pip install --system -r dev-requirements.in; fi
416416
# TODO: move to protobuf>=5. Github issue: https://github.com/flyteorg/flyte/issues/5448
417+
echo "Workspace: $GITHUB_WORKSPACE"
417418
uv pip install --system -U $GITHUB_WORKSPACE "protobuf<5" "git+https://github.com/flyteorg/flyte.git@master#subdirectory=flyteidl"
418419
# TODO: remove this when numpy v2 in onnx has been resolved
419420
if [[ ${{ matrix.plugin-names }} == *"onnx"* || ${{ matrix.plugin-names }} == "flytekit-sqlalchemy" || ${{ matrix.plugin-names }} == "flytekit-pandera" ]]; then

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ COPY . /flytekit
3434

3535
# Use a future version of SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL such that uv resolution works.
3636
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEKIT=$PSEUDO_VERSION \
37-
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL=3.0.0dev0 \
37+
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FLYTEIDL=1.999.999dev0 \
3838
uv pip install --system --no-cache-dir -U \
3939
"git+https://github.com/flyteorg/flyte.git@master#subdirectory=flyteidl" \
4040
-e /flytekit \

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
"diskcache>=5.2.1",
2121
"docker>=4.0.0",
2222
"docstring-parser>=0.9.0",
23-
"flyteidl>=1.15.4b0",
23+
"flyteidl>=1.15.4b0,<2.0.0a0",
2424
"fsspec>=2023.3.0",
2525
# Bug in 2025.5.0, 2025.5.0post1 https://github.com/fsspec/gcsfs/issues/687
2626
# Bug in 2024.2.0 https://github.com/fsspec/gcsfs/pull/643

0 commit comments

Comments
 (0)