Title: Make uv.lock optional bump · Issue #1383 · commitizen-tools/commitizen · GitHub
Open Graph Title: Make uv.lock optional bump · Issue #1383 · commitizen-tools/commitizen
X Title: Make uv.lock optional bump · Issue #1383 · commitizen-tools/commitizen
Description: Description uv.lock might not exists when the project is just initialized Steps to reproduce git init uv init cz init sed -i -e 's/pep621/uv/g' pyproject.toml pyproject.toml git add . cz commit cz bump Current behavior FileNotFoundError:...
Open Graph Description: Description uv.lock might not exists when the project is just initialized Steps to reproduce git init uv init cz init sed -i -e 's/pep621/uv/g' pyproject.toml pyproject.toml git add . cz commit cz ...
X Description: Description uv.lock might not exists when the project is just initialized Steps to reproduce git init uv init cz init sed -i -e 's/pep621/uv/g' pyproject.toml pyproject.toml git add . cz co...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1383
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make uv.lock optional bump","articleBody":"### Description\n\n`uv.lock` might not exists when the project is just initialized\n\n### Steps to reproduce\n\n```shell\ngit init\nuv init\ncz init\nsed -i -e 's/pep621/uv/g' pyproject.toml pyproject.toml\ngit add .\ncz commit\ncz bump\n```\n\n### Current behavior\n\n```\nFileNotFoundError: [Errno 2] No such file or directory: 'uv.lock'\n```\n\n### Desired behavior\n\nIt should skip if `uv.lock` is not there yet.\n\n### Screenshots\n\n_No response_\n\n### Environment\n\nCommitizen Version: 4.5.0\nPython Version: 3.12.7 (main, Oct 16 2024, 07:12:08) [Clang 18.1.8 ]\nOperating System: Darwin","author":{"url":"https://github.com/Lee-W","@type":"Person","name":"Lee-W"},"datePublished":"2025-04-06T04:23:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/1383/commitizen/issues/1383"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:957866af-a776-24bf-05d6-72601734f563 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 971A:18BA88:105951A:16CE864:6A4E97D6 |
| html-safe-nonce | ef41383fcf6ba7e58b40a667c059e070f38f140f84a62b4abb2de3f84b6fe9a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzFBOjE4QkE4ODoxMDU5NTFBOjE2Q0U4NjQ6NkE0RTk3RDYiLCJ2aXNpdG9yX2lkIjoiNjQwNDI2NDE4NTM5NjM2OTM2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d5a232ebadb5b7c97285090a80190b9789a642cc8578d9cb27f313beb65a1def |
| hovercard-subject-tag | issue:2974678158 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1383/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d6aa210d5e950f0f172273a2e927c44ff969bfa20f3df956c83544c608a49430/commitizen-tools/commitizen/issues/1383 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d6aa210d5e950f0f172273a2e927c44ff969bfa20f3df956c83544c608a49430/commitizen-tools/commitizen/issues/1383 |
| og:image:alt | Description uv.lock might not exists when the project is just initialized Steps to reproduce git init uv init cz init sed -i -e 's/pep621/uv/g' pyproject.toml pyproject.toml git add . cz commit cz ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lee-W |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width