`git init` is mandatory
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- git, python
- Ambito
- build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 62
- Fork
- 10
- Merge medio
- 7g 6h
- PR unite (30g)
- 6
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di UCL-ARC/python-tooling
-
enhancement investigate p3-medium
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
UCL-ARC/python-tooling#623 · 1 reazione ·
-
enhancement p3-medium question task
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
UCL-ARC/python-tooling#620 ·
-
task
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
UCL-ARC/python-tooling#619 ·
-
enhancement p4-low task
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
UCL-ARC/python-tooling#616 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
UCL-ARC/python-tooling#614 · 3 commenti ·
Tutte le issue di UCL-ARC/python-tooling
Issue simili
-
area/auth bug comp/agent P3 platform/discord type/security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#117848 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
bancolombia/sentinel#23 ·
-
test md ApertaCI
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100