Commit 2d7ae06
committed
Mention Python 3.13 venv gitignore behavior
Python 3.13's venv module creates SCM ignore files by default, including Git ignore files, so the manual .gitignore step is only needed for Python 3.12 and below.
This matches the existing uv tip, as uv also creates .venv/.gitignore when creating the virtual environment.
Reference: https://docs.python.org/3/whatsnew/3.13.html#venv
Context: noticed while checking virtual-environments.md after fastapi#15463 in 0.163.2.1 parent 8206485 commit 2d7ae06
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
271 | 277 | | |
272 | 278 | | |
273 | 279 | | |
| |||
0 commit comments