Conversation
Co-authored-by: mgierada <23472449+mgierada@users.noreply.github.com>
Co-authored-by: mgierada <23472449+mgierada@users.noreply.github.com>
|
@copilot the valid pyproject.toml for uv could look like that Please make sure we can parse those. Currently we cannot |
Co-authored-by: mgierada <23472449+mgierada@users.noreply.github.com>
... Added UV pyproject.toml parser support in commit 5dcbde5. The parser now handles:
The parser automatically detects the package manager format and parses accordingly. |
|
@copilot The virtual text display is not working for uv. Also, I noticed that state.dependencies.installed is populated 2 or more times -- entires are duplicated |
Co-authored-by: mgierada <23472449+mgierada@users.noreply.github.com>
Fixed both issues in commit abd38b7:
|
Co-authored-by: mgierada <23472449+mgierada@users.noreply.github.com>
Plan: Add uv package manager support
constants.luato adduvtoPACKAGE_MANAGERSconfig.luato detectuv.lockfile and set package manager accordinglyconfig.luato add autocommand patterns for uv-managed projects (not needed - uv uses pyproject.toml)install.luato add uv-specific install commandsupdate.luato add uv-specific update commandsdelete.luato add uv-specific delete/remove commandschange-version.luato add uv-specific version change commandsshow.luato add uv-specific command for listing outdated packagesparser.luato handle UV pyproject.toml format with dependencies arraysget_dependency_name_from_line.luato recognize UV array format for virtual text displayREADME.mddocumentation to mention uv supportSummary
Successfully added complete support for the 'uv' package manager to pybumper.nvim. The plugin now:
uv.lockfiledependencies = ["package==version", ...]arrays[dependency-groups]for dev dependencies[project.optional-dependencies]for optional dependenciesAll changes follow the existing code patterns and maintain the same level of error handling as the original poetry implementation.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.