Skip to content

fix(samples): floor the samples at the current uipath-langchain and uipath releases [ROBO-6168] - #1171

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 or uipath-langchain < 0.17.7 (ROBO-6168). Four samples capped at <2.14.0 / <0.15.0 (the ones flagged on #1169); the other 24 declared no bound, which means "any version", not "latest": an existing lock or venv never moves forward.

What

  • 28 samples: uipath-langchain>=0.18.46, uipath>=2.14.41 where declared, caps dropped. A cap becomes a hard failure the moment a Robot floor passes it. 0.18.46 is the first release we verified to pull uipath>=2.14.40 and uipath-llm-client>=1.22.0 by itself, and the version chore(deps): refresh the template lockfile and require uipath-runtime>=0.13.5 #1169's template lock uses.
  • Samples only: the uipath new scaffold already writes >=0.18.0, above the Robot floor, so it stays as it is (per review). No package change, no version bump.

template/ is #1169's. Sibling PRs: UiPath/uipath-python#1954, UiPath/uipath-integrations-python#378, UiPath/uipath-mcp-python#252.

🤖 Generated with Claude Code

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The root lockfile still records 0.18.47, blocking the lint workflow’s locked dependency installation.

1 open issue
What changed in this PR

Raises sample and CLI scaffold dependency floors to avoid Robot-rejected package versions, complementing #1169’s template refresh.

Changes:

  • Updates dependency floors across 28 samples and removes outdated caps.
  • Sets generated projects’ minimum SDK version to the installed release and strengthens the guard test.
  • Bumps the SDK version to 0.18.48.
File Description
tests/​cli/​test_new.py Checks the scaffold’s installed-version floor.
src/​uipath_langchain/​_cli/​cli_new.py Generates the installed-version dependency floor.
samples/​wait-until-timeout-agent/​pyproject.toml Raises floors and removes the old cap.
samples/​tool-calling-suspend-resume/​pyproject.toml Adds dependency floors.
samples/​ticket-classification/​pyproject.toml Adds dependency floors.
samples/​simple-remote-mcp/​pyproject.toml Adds dependency floors.
samples/​simple-local-mcp/​pyproject.toml Adds dependency floors.
samples/​simple-deepagent/​pyproject.toml Adds dependency floors.
samples/​retrieval-chain/​pyproject.toml Adds dependency floors.
samples/​RAG-quiz-generator/​pyproject.toml Adds dependency floors.
samples/​oauth-external-apps-agent/​pyproject.toml Adds dependency floors.
samples/​multi-agent-supervisor-researcher-coder/​pyproject.toml Adds dependency floors.
samples/​multi-agent-planner-researcher-coder-distributed/​pyproject.toml Adds dependency floors.
samples/​joke-agent/​pyproject.toml Raises floors and removes old caps.
samples/​joke-agent-decorator/​pyproject.toml Raises floors and removes old caps.
samples/​joke-agent-bring-your-own-guardrail/​pyproject.toml Raises floors and removes old caps.
samples/​hitl-inbox-server/​pyproject.toml Adds the UiPath dependency floor.
samples/​email-triage-agent/​pyproject.toml Adds the SDK dependency floor.
samples/​email-organizer-agent/​pyproject.toml Adds dependency floors.
samples/​deepagent-storage-buckets/​pyproject.toml Adds dependency floors.
samples/​debug-parallel-interrupts-agents/​pyproject.toml Adds dependency floors.
samples/​debug-agent/​pyproject.toml Adds dependency floors.
samples/​datafabric-coded-agent/​pyproject.toml Adds the SDK dependency floor.
samples/​company-research-agent/​pyproject.toml Adds dependency floors.
samples/​chat-uipath-agent/​pyproject.toml Adds dependency floors.
samples/​chat-hitl-agent/​pyproject.toml Adds dependency floors.
samples/​chat-agent/​pyproject.toml Adds dependency floors.
samples/​calculator-agent/​pyproject.toml Adds dependency floors.
samples/​bring-your-own-model/​pyproject.toml Adds dependency floors.
samples/​aml-alert-triage-agent/​pyproject.toml Raises dependency floors.
pyproject.toml Bumps the SDK to 0.18.48.

Review effort: Balanced

Comment thread pyproject.toml
@eduard-dumitru
eduard-dumitru force-pushed the chore/robo-6168-samples-latest-uipath branch from 0a0f372 to 5ea0bab 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

Choose a reason for hiding this comment

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

🟢 Approval recommended

Static review found consistent dependency floors, scaffold behavior, regression assertions, and release versions with no blocking issues; tests were not run.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

Comment thread src/uipath_langchain/_cli/cli_new.py
@eduard-dumitru
eduard-dumitru force-pushed the chore/robo-6168-samples-latest-uipath branch from 5ea0bab to 498a243 Compare October 21, 2026 10:58
@eduard-dumitru eduard-dumitru changed the title fix(cli): floor the samples and the uipath new scaffold at the current releases [ROBO-6168] fix(samples): floor the samples at the current uipath-langchain and uipath releases [ROBO-6168] Oct 21, 2026
…ipath releases [ROBO-6168]

The Robot refuses jobs below uipath 2.14.25 and uipath-langchain 0.17.7. Four samples capped
below that; the rest declared no bound, which an existing lock or venv never moves forward. They
now ask for uipath-langchain>=0.18.46 and uipath>=2.14.41, caps dropped. The scaffold already
writes >=0.18.0 and stays as it is.
@eduard-dumitru
eduard-dumitru force-pushed the chore/robo-6168-samples-latest-uipath branch from 498a243 to 45b8d93 Compare October 21, 2026 11:16
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants