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

Make uv.lock optional bump #1383

Open
Lee-W opened this issue Apr 6, 2025 · 2 comments
Open

Make uv.lock optional bump #1383

Lee-W opened this issue Apr 6, 2025 · 2 comments
Assignees
Labels
good first issue issue-status: wait-for-implementation maintainers agree on the bug / feature

Comments

@Lee-W
Copy link
Member

Lee-W commented Apr 6, 2025

Description

uv.lock might not exists when the project is just initialized

Steps to reproduce

git init
uv init
cz init
git add .
cz commit
cz bump

Current behavior

FileNotFoundError: [Errno 2] No such file or directory: 'uv.lock'

Desired behavior

It should skip if uv.lock is not there yet.

Screenshots

No response

Environment

Commitizen Version: 4.5.0
Python Version: 3.12.7 (main, Oct 16 2024, 07:12:08) [Clang 18.1.8 ]
Operating System: Darwin

@Yusin0903
Copy link

Hi @Lee-W, I used uv to create a virtual environment while working on another issue. I think I can give this one a try as well.

@Lee-W
Copy link
Member Author

Lee-W commented Apr 7, 2025

That would be awesome 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue issue-status: wait-for-implementation maintainers agree on the bug / feature
Projects
None yet
Development

No branches or pull requests

2 participants