Skip to content

build: Don't clean the .venv folder.#37872

Merged
feanil merged 1 commit intomasterfrom
feanil/update_gitignore
Jan 14, 2026
Merged

build: Don't clean the .venv folder.#37872
feanil merged 1 commit intomasterfrom
feanil/update_gitignore

Conversation

@feanil
Copy link
Copy Markdown
Contributor

@feanil feanil commented Jan 12, 2026

Make it so make clean doesn't blow away the venv folder. Given that
this is managed by the developer, we should be able to manage its
lifecycle independently.

It was previously just in the list of files that comes by default from
github's gitignore so it's not like we previously were of the opinion
that we should delete this folder. Just that previously we had no
opinion about it and now I think we should not delete it.

Make it so `make clean` doesn't blow away the venv folder.  Given that
this is managed by the developer, we should be able to manage its
lifecycle independently.

It was previously just in the list of files that comes by default from
github's gitignore so it's not like we previously were of the opinion
that we should delete this folder.  Just that previously we had no
opinion about it and now I think we should not delete it.
@feanil feanil requested a review from a team January 12, 2026 16:15
@feanil feanil enabled auto-merge January 12, 2026 20:40
Copy link
Copy Markdown
Contributor

@ormsbee ormsbee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused how this prevents cleaning the .venv/ folder. Isn't it just moving this line from one part of the .gitignore to another?

Copy link
Copy Markdown
Contributor

@ormsbee ormsbee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, never mind, I didn't realize "noclean" existed.

@feanil feanil merged commit bac5e7e into master Jan 14, 2026
69 checks passed
@feanil feanil deleted the feanil/update_gitignore branch January 14, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants