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

UV Non-workspace Dependency Graph and UV Build without Lock file #265

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

lucasvieirasilva
Copy link
Owner

This PR performs two fixes:

  1. add options.packageManager to the nx.json plugins to detect uv non-workspace repos. Auto-linking of dependencies not working for uv without workspaces #264
  2. Run uv lock command before running the export command in the build executor, when the export command is executed without a uv.lock the command fails.

Current Behavior

  1. Dependency Graph are not working for UV non-workspace projects.
  2. For a brand new UV project without any dependency and with no uv.lock the build command fails.

Expected Behavior

The Dependency Graph should work for all the supported structures:

  1. UV Workspace
  2. UV Non-Workspaces
  3. Poetry

Related Issue(s)

Fixes #264

@lucasvieirasilva lucasvieirasilva added the bug Something isn't working label Jan 18, 2025
@lucasvieirasilva lucasvieirasilva merged commit 7e6fb0e into main Jan 18, 2025
3 checks passed
Copy link

🎉 This PR is included in version 20.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-linking of dependencies not working for uv without workspaces
1 participant