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

[217] Support UV /Poetry switch for maven plugin - InitializeHabushuMojo #224

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

jaebchoi
Copy link

Issue: #217

log.info("Validating UV-based project structure...");
UVCommandHelper uvHelper = new UVCommandHelper(baseDir);
try {
uvHelper.execute(Arrays.asList("lock", "--check"));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I: Given that UV is immature than poetry, some of the commands are WIP,
They have uv check command WIP as seen here

log.warn("Corrected - pyproject.toml and uv.lock now synced");
}

String currentPythonPackageVersion = uvHelper.executeUVTool(Arrays.asList("--from=toml-cli", "toml", "get", "--toml-path=pyproject.toml", "project.version"));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I: Same as above, this is just workaround for now, once this issue is implement we can replace it for more readable command.

@jaebchoi jaebchoi force-pushed the 217-uv-poetry-initializehabushumojo branch from 6f8a75f to faf6f9d Compare February 14, 2025 15:48
@jaebchoi jaebchoi force-pushed the 217-uv-poetry-initializehabushumojo branch from faf6f9d to c78be3d Compare February 14, 2025 18:07
@jaebchoi jaebchoi merged commit e320537 into 3.0.0-add-uv-support Feb 14, 2025
2 checks passed
@jaebchoi jaebchoi deleted the 217-uv-poetry-initializehabushumojo branch February 14, 2025 18:22
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.

3 participants