Skip to content

Comments

fix: exclude frontend source from wheel#86

Merged
cristipufu merged 1 commit intomainfrom
fix/exclude-frontend-from-wheel
Feb 23, 2026
Merged

fix: exclude frontend source from wheel#86
cristipufu merged 1 commit intomainfrom
fix/exclude-frontend-from-wheel

Conversation

@cristipufu
Copy link
Member

Summary

  • Exclude frontend/** source directory from the published wheel, keeping only the pre-built static/ assets
  • Fixes CI failures where the server attempted npm run build at runtime because the frontend source was present in the installed package
  • Bumps version to 0.0.60

Test plan

  • Verify uv build produces a wheel that contains static/ but not frontend/
  • Install the wheel in a clean env without npm and confirm no "npm not found" warning
  • Run uipath dev from the installed wheel and confirm the frontend loads correctly

🤖 Generated with Claude Code

The wheel was shipping both `frontend/` (source) and `static/` (built output).
When installed, `needs_build()` saw the frontend source, compared mtimes, and
attempted an `npm run build` — failing in CI where npm isn't available.

Excluding `frontend/**` from the wheel means only the pre-built static assets
are shipped, so no build is attempted at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cristipufu cristipufu self-assigned this Feb 23, 2026
@cristipufu cristipufu requested a review from Copilot February 23, 2026 14:30
@cristipufu cristipufu merged commit 1edc18e into main Feb 23, 2026
13 checks passed
@cristipufu cristipufu deleted the fix/exclude-frontend-from-wheel branch February 23, 2026 14:31
Copy link

Copilot AI left a comment

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 packaging configuration to prevent the frontend source tree from being included in the published wheel, while keeping the pre-built static assets, and bumps the project version to 0.0.60.

Changes:

  • Bump project version from 0.0.59 to 0.0.60 (pyproject.toml, uv.lock).
  • Update Hatch wheel build config to exclude src/uipath/dev/server/frontend/** while still shipping src/uipath/dev/server/static/**.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Bumps version and updates Hatch wheel target to exclude frontend/** while keeping static/** artifacts.
uv.lock Updates the workspace package version to 0.0.60 to match pyproject.toml.

💡 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant