Skip to content

ci: make dev-build PR description copy-paste ready#1715

Open
radu-mocanu wants to merge 1 commit into
mainfrom
fix/dev-build-pr-desc-copy-paste
Open

ci: make dev-build PR description copy-paste ready#1715
radu-mocanu wants to merge 1 commit into
mainfrom
fix/dev-build-pr-desc-copy-paste

Conversation

@radu-mocanu

Copy link
Copy Markdown
Collaborator

Summary

  • each build:dev package section is now a single, self-contained block a developer can copy-paste as-is
  • the version-range line is commented out so an exact copy-paste resolves to the pinned dev version
  • for any intra-repo dependency also published in the same run (e.g. uipath-platform, uipath-core), the section adds a [tool.uv.sources] entry plus a [tool.uv] override-dependencies pin

Why

a dev build of an intra-repo dependency is a PEP 440 pre-release of its base version, so it sorts below the published >=base constraint and uv reports the resolution as unsatisfiable. forcing those deps in via override-dependencies lets the generated snippet install without hand-editing.

Copilot AI review requested due to automatic review settings June 12, 2026 12:11
@sonarqubecloud

Copy link
Copy Markdown

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.

Pull request overview

This PR updates the publish-dev GitHub Actions workflow to generate PR description snippets that are easier to copy/paste for installing dev builds from TestPyPI, including handling intra-repo dependencies that are also published in the same run.

Changes:

  • Makes each build:dev PR description snippet a self-contained TOML block by defaulting to an exact pinned dev version (and commenting out the version-range line).
  • Automatically adds [tool.uv.sources] entries for the current package and any intra-repo dependencies that are also published in the same workflow run.
  • When applicable, adds a [tool.uv] override-dependencies pin for those intra-repo dependencies so uv can resolve dev pre-releases.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants