Skip to content

fix(cli): floor the samples and the uipath new scaffold at the current uipath release [ROBO-6168] - #1954

Merged
eduard-dumitru merged 1 commit into
mainfrom
chore/robo-6168-samples-latest-uipath
Oct 21, 2026
Merged

eduard-dumitru merged 1 commit into
mainfrom
chore/robo-6168-samples-latest-uipath

Conversation

@eduard-dumitru

@eduard-dumitru eduard-dumitru commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Why

The Robot refuses a Python job on uipath < 2.14.25 (RuntimeBelowMinimumVersion, ROBO-6168). The samples declared a bare uipath, which means "any version", not "latest": a fresh resolve gets the newest, an existing lock or venv keeps whatever it has. That is how the thread's adder ran on 2.11.19.

What

  • 18 samples: uipath>=2.14.41 (today's release), floor only, no cap. The 5 fixtures installing uipath from the repo path are untouched.
  • greeter/uv.lock relocked: uipath 2.10.32 → 2.14.41, uipath-runtime 0.10.0 → 0.13.5.
  • uipath new scaffolds uipath>=<installed release>, <next minor instead of >=2.14.0, so a project never asks for less than the CLI that wrote it. The guard test now checks the floor.
  • 2.14.41 → 2.14.42 (the scaffold fix ships with the release).

Supersedes Dependabot #1671, #1552, #1620. Sibling PRs: uipath-langchain-python, uipath-integrations-python, uipath-mcp-python; the templates are UiPath/uipath-langchain-python#1169 and UiPath/uipath-integrations-python#376.

🤖 Generated with Claude Code

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The main SDK lockfile still records 2.14.41, blocking CI’s locked dependency installation after the release bump.

1 open issue
What changed in this PR

Raises SDK dependency floors in samples and generated projects to avoid Robot rejection of older uipath versions.

Changes:

  • Sets 18 samples to require uipath>=2.14.41.
  • Makes scaffolds use the installed SDK version as their floor, retaining the minor-version cap and strengthening the guard test.
  • Bumps the SDK release to 2.14.42.
File Description
packages/​uipath/​tests/​cli/​test_new.py Verifies the installed-version floor.
packages/​uipath/​src/​uipath/​_cli/​cli_new.py Generates the installed-version floor.
packages/​uipath/​samples/​weather_tools/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​tree-recursive-function/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​ticket-triage-agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​runtime-simulations-agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​resource-overrides/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​queue-interactions/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​pizza-order-function/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​multi-output-agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​llm_chat_agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​list-mcp-agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​hello-world/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​greeter/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​event-trigger/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​document-understanding-agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​csv-processor/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​classification_agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​calculator/​pyproject.toml Raises SDK minimum.
packages/​uipath/​samples/​asset-modifier-agent/​pyproject.toml Raises SDK minimum.
packages/​uipath/​pyproject.toml Bumps release to 2.14.42.

Review effort: Balanced

Comment thread packages/uipath/pyproject.toml
@eduard-dumitru
eduard-dumitru force-pushed the chore/robo-6168-samples-latest-uipath branch from e6e7cdf to d0070c7 Compare October 21, 2026 08:43
@eduard-dumitru
eduard-dumitru requested a balanced review from Copilot October 21, 2026 08:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The dependency floors, scaffold regression guard, and release versions are consistent, with no blocking issues identified.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

…t uipath release [ROBO-6168]

The Robot refuses jobs below uipath 2.14.25. Samples declared a bare uipath, which an existing
lock or venv never moves forward; they now ask for >=2.14.41. The scaffold floors at the
installed release instead of 2.14.0, and greeter's lock is regenerated.
@eduard-dumitru
eduard-dumitru force-pushed the chore/robo-6168-samples-latest-uipath branch from d0070c7 to a0edda2 Compare October 21, 2026 11:15
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@eduard-dumitru
eduard-dumitru merged commit 98dab51 into main Oct 21, 2026
184 of 187 checks passed
@eduard-dumitru
eduard-dumitru deleted the chore/robo-6168-samples-latest-uipath branch October 21, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants