Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update hatch build includes for correct package structure #1154

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

lynnzc
Copy link
Contributor

@lynnzc lynnzc commented Mar 26, 2025

PR #1035 change added an incomplete [tool.hatch.build] section that only included:

[tool.hatch.build]
include = [
  "browser_use/dom/buildDomTree.js",
]

This build configuration only included the JavaScript file, causing build issues.

Fix

Expanded the build configuration to properly include Python modules and assets while excluding tests.

before

image

after

image

@lynnzc
Copy link
Contributor Author

lynnzc commented Mar 26, 2025

Found this when my local environment (pip install -e .) broke after the latest merge.

@pirate
Copy link
Member

pirate commented Mar 26, 2025

thanks! we merged a ton of old PRs to catch up on backlog and are going through fixing any bugs today.

@pirate pirate merged commit e938d91 into browser-use:main Mar 26, 2025
1 check passed
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