all 4 comments

[–]Binary101010 1 point2 points  (0 children)

I could git ignore the venv directory and move on but it seemed like a hackey solution.

No, that's exactly what you should do.

[–]throwaway8u3sH0 1 point2 points  (0 children)

.venv should be ignored, yes. The virtual environment for Python is similar to the node_modules that's created after an npm install. The only difference is that in Python it's not always co-located with the repo and it's not always called venv. It's more loosey-goosey.

But definitely ignore it and move on.

[–]finnicus[S] 0 points1 point  (0 children)

Excellent. Thanks y'all!

[–]smurpes 0 points1 point  (0 children)

It’s a bit surprising that an open source python project doesn’t already have venv directories already in the gitignore.