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

feat(nx-python): change uv to support non-workspace projects #260

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

lucasvieirasilva
Copy link
Owner

This PR changes the uv package manager provider to support non-workspace environments.

Current Behavior

Currently, the uv package manager forces the user to use the workspace feature.

Expected Behavior

After the change, the user should be able to decide whether to use the workspace features or not, same as poetry,

If the user later decides to use the workspace, the @nxlv/python:migrate-to-shared-venv generator also works for uv projects.

Related Issue(s)

Reference #258

@lucasvieirasilva lucasvieirasilva added the enhancement New feature or request label Dec 18, 2024
@lucasvieirasilva lucasvieirasilva merged commit 6e1a634 into main Dec 18, 2024
3 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 18, 2024
# [20.2.0](nx-python-v20.1.0...nx-python-v20.2.0) (2024-12-18)

### Features

* **nx-python:** change `uv` to support non-workspace projects ([#260](#260)) ([6e1a634](6e1a634))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npx nx generate @nxlv/python:uv-project produces root pyproject.toml
1 participant