`git init` is mandatory
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- git, python
- 领域
- build-system
调研方向
Start with the cookiecutter flow that asks whether to run git init, then inspect pyproject.toml and its setuptools-scm configuration. Reproduce the issue by creating a project, answering no, and running uv pip install -e .; done means the generated project handles that choice consistently without the reported installation failure.
由索引模型根据 Issue 内容生成。
描述
Describe the Bug
Despite that we allow users to say "no" to the question about initialising a git repository, we have setuptools-scm in our pyproject.toml so one can't run
uv pip install -e .
if one hasn't initialised a repo. It might be simplest "just" to check that git is installed and error if not. But as-is, there's a bug in the questions vs. pyproject.toml.
To Reproduce
Cookiecut a project, say "no" to the git init question and see what things break 😄.
Expected Behaviour
No response
Actual Behaviour
No response
Version In Use
v1.0.1
Additional Context
- Cookiecutter version: 2.6.0
- Operating system: macOS
- Python version: 3.13
Though I'm pretty confident this isn't an OS/version-dependent problem.
- 主要语言
- Python
- 星标
- 62
- 派生
- 10
- 平均合并
- 7 天 6 小时
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UCL-ARC/python-tooling 的其他 Issue
-
enhancement investigate p3-medium
难度 3/5 1-2 天 新手友好度 48/100
UCL-ARC/python-tooling#623 · 1 个 reaction ·
-
enhancement p3-medium question task
难度 3/5 1-2 天 新手友好度 38/100
UCL-ARC/python-tooling#620 ·
-
task
难度 4/5 3-5 天 新手友好度 25/100
UCL-ARC/python-tooling#619 ·
-
enhancement p4-low task
难度 3/5 1-2 天 新手友好度 25/100
UCL-ARC/python-tooling#616 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 55/100
UCL-ARC/python-tooling#614 · 3 条评论 ·
查看 UCL-ARC/python-tooling 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
难度 2/5 1-3 小时 新手友好度 88/100
OpenHands/extensions#626 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
CSCfi/sd-search-api#39 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 68/100
StevenBlack/hosts#3255 ·