Skip to content

Conversation

@andrei-rusu
Copy link
Collaborator

@andrei-rusu andrei-rusu commented Jan 30, 2026

This PR makes the routing to the new model of EvalSets to occur based on whether the version field is present and its value can be cast to a float that is >=1.
Currently. the new EvalSets would error if one gives another version than 1.0 in the JSON because the version field is enforced to be a Literal["1.0"]. To test this PR, we amended locally the pydantic class to allow for other versions. Yet, on main, other versions than 1.0 would fail until another PR amends this restriction.

Development Package

  • Use uipath pack --nolock to get the latest dev build from this PR (requires version range).
  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath==2.6.26.dev1012414490",

  # Any version from PR
  "uipath>=2.6.26.dev1012410000,<2.6.26.dev1012420000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath = { index = "testpypi" }

[tool.uv]
override-dependencies = [
    "uipath>=2.6.26.dev1012410000,<2.6.26.dev1012420000",
]

@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Jan 30, 2026
@andrei-rusu andrei-rusu added the build:dev Create a dev build from the pr label Jan 30, 2026
@andrei-rusu andrei-rusu requested a review from Chibionos February 2, 2026 09:21
@andrei-rusu andrei-rusu force-pushed the fix/andreiru/discriminate_eval_sets branch from 72ffc1e to 21e6bfc Compare February 2, 2026 13:26
Copy link
Contributor

@Chibionos Chibionos left a comment

Choose a reason for hiding this comment

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

approved with comments

@andrei-rusu andrei-rusu merged commit 67b341e into main Feb 2, 2026
92 checks passed
@andrei-rusu andrei-rusu deleted the fix/andreiru/discriminate_eval_sets branch February 2, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:dev Create a dev build from the pr test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants