Skip to content

fix: UV_PRERELEASE=allow in every uv invocation - #163

Merged
JarbasAl merged 1 commit into
devfrom
fix/uv-prerelease
Jul 12, 2026
Merged

fix: UV_PRERELEASE=allow in every uv invocation#163
JarbasAl merged 1 commit into
devfrom
fix/uv-prerelease

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Jul 12, 2026

Copy link
Copy Markdown
Member

Root-cause fix for the Tier 2 pip-check failure: the OVOS stack is all prerelease versions, and uv pip install calls without --pre (e.g. wheel cython, wheel installs) resolve in a different version universe than the --pre calls — which is how workshop got downgraded below ovos-core's requirement. UV_PRERELEASE=allow is now exported next to UV_CONSTRAINT in the base scripts, all 33 lang builds, and the shipped ovos-update, so every invocation resolves consistently regardless of flags. (Constraints files are auto-generated upstream and were never the bug — the manual-edit PR is closed.)

contract: unchanged

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Improved package installation reliability by allowing compatible pre-release versions during system builds and updates.
    • Applied consistently across full, lite, hybrid, offline, and update workflows while preserving existing dependency constraints.

UV_PRERELEASE=allow exported alongside UV_CONSTRAINT in base scripts,
all lang builds, and ovos-update. The OVOS ecosystem ships pre-1.0
alphas; any uv invocation missing --pre resolved against a different
version universe and could downgrade previously installed packages —
the actual mechanism behind the shipped ovos-core/ovos-workshop
conflict (constraints files are auto-generated and were never the bug).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@JarbasAl
JarbasAl merged commit 28420b7 into dev Jul 12, 2026
2 checks passed
@JarbasAl
JarbasAl deleted the fix/uv-prerelease branch July 12, 2026 15:53
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b3f0b304-06f2-40cc-92ec-561b76a935bf

📥 Commits

Reviewing files that changed from the base of the PR and between c487d10 and 1592fd3.

📒 Files selected for processing (37)
  • build_raspOVOS_base_full.sh
  • build_raspOVOS_base_lite.sh
  • lang_builds/hybrid/build_raspOVOS_ca.sh
  • lang_builds/hybrid/build_raspOVOS_da.sh
  • lang_builds/hybrid/build_raspOVOS_de.sh
  • lang_builds/hybrid/build_raspOVOS_en.sh
  • lang_builds/hybrid/build_raspOVOS_es.sh
  • lang_builds/hybrid/build_raspOVOS_eu.sh
  • lang_builds/hybrid/build_raspOVOS_fr.sh
  • lang_builds/hybrid/build_raspOVOS_gl.sh
  • lang_builds/hybrid/build_raspOVOS_it.sh
  • lang_builds/hybrid/build_raspOVOS_mul.sh
  • lang_builds/hybrid/build_raspOVOS_nl.sh
  • lang_builds/hybrid/build_raspOVOS_pt.sh
  • lang_builds/lite/build_raspOVOS_ca.sh
  • lang_builds/lite/build_raspOVOS_da.sh
  • lang_builds/lite/build_raspOVOS_de.sh
  • lang_builds/lite/build_raspOVOS_en.sh
  • lang_builds/lite/build_raspOVOS_es.sh
  • lang_builds/lite/build_raspOVOS_eu.sh
  • lang_builds/lite/build_raspOVOS_fr.sh
  • lang_builds/lite/build_raspOVOS_gl.sh
  • lang_builds/lite/build_raspOVOS_it.sh
  • lang_builds/lite/build_raspOVOS_nl.sh
  • lang_builds/lite/build_raspOVOS_pt.sh
  • lang_builds/offline/build_raspOVOS_ca.sh
  • lang_builds/offline/build_raspOVOS_da.sh
  • lang_builds/offline/build_raspOVOS_de.sh
  • lang_builds/offline/build_raspOVOS_en.sh
  • lang_builds/offline/build_raspOVOS_es.sh
  • lang_builds/offline/build_raspOVOS_eu.sh
  • lang_builds/offline/build_raspOVOS_fr.sh
  • lang_builds/offline/build_raspOVOS_gl.sh
  • lang_builds/offline/build_raspOVOS_it.sh
  • lang_builds/offline/build_raspOVOS_nl.sh
  • lang_builds/offline/build_raspOVOS_pt.sh
  • overlays/base_ovos/usr/local/bin/ovos-update

📝 Walkthrough

Walkthrough

Build scripts and ovos-update now export UV_PRERELEASE=allow alongside UV_CONSTRAINT and PIP_CONSTRAINT, allowing prerelease dependency resolution while preserving constraint handling.

Changes

UV prerelease environment configuration

Layer / File(s) Summary
Build environment exports
build_raspOVOS_base_*.sh, lang_builds/hybrid/*, lang_builds/lite/*, lang_builds/offline/*
Build variants now export UV_PRERELEASE=allow alongside constraint variables; some scripts also explicitly default CONSTRAINTS to an empty value.
Runtime updater export
overlays/base_ovos/usr/local/bin/ovos-update
ovos-update now exports UV_PRERELEASE=allow with its existing per-tag constraint variables.

Estimated code review effort: 1 (Trivial) | ~5 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/uv-prerelease

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant