this post was submitted on 29 Jun 2023
355 points (97.6% liked)
Programmer Humor
19551 readers
1014 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
We had some issues in our CI where pipenv would sometimes fail to sync. It has recently gotten better, I think due to a fix of some race condition due to parallel installation. I think
venv
would be better suited for CI in general, since it allows the use of a simplerequirements.txt
file.The other thing is I think it is rather slow, at least on windows which most of my team uses.
To conclude, I think as long as you aren't having any trouble and it simplifies your environment, you might as well use it.
I only use python as a go-to scripting language when I need to quickly automate something or write a quick throwaway script that requires an SDK, since there's a python library for almost anything and doing it in powershell would be too much aditional work. But it does make sense that for CI you only need to figure out the venv setup once and you're done, so it may be a better solution.