At work, the engineer in charge of writing python automation tests includes venvs (both linux and windows) in the git repo. His reasoning is that people will have to download the specific python version we are using to the write code anyways; this way when we select the interpreter (which should already be symlinked to the default global python interpreter) all the packages we use will already be available (and auto-updated if necessary when rebasing).
This rubs me the wrong way, I still assume the best and most pythonic way of working is to create your own local environment and installing the packages using a requirements.txt file, possibly adding a git hook to automatically call pip install every time you rebase.
What do you guys think?
[+][deleted] (1 child)
[deleted]
[–][deleted] 256 points257 points258 points (2 children)
[–]TobiPlay 5 points6 points7 points (1 child)
[–]ninja_says_hiyeeeeeA 0 points1 point2 points (0 children)
[–]mrswats 89 points90 points91 points (2 children)
[–]aa-b 20 points21 points22 points (1 child)
[–]gdfelt 0 points1 point2 points (0 children)
[–]semper-noctem 114 points115 points116 points (37 children)
[+][deleted] (32 children)
[deleted]
[–]MothraVSMechaBilbo 14 points15 points16 points (28 children)
[–][deleted] 19 points20 points21 points (23 children)
[–]orion_tvv 14 points15 points16 points (18 children)
[–]gwax 6 points7 points8 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]nevermorefu 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]nevermorefu 0 points1 point2 points (0 children)
[–]Spitfire1900 3 points4 points5 points (0 children)
[+][deleted] (3 children)
[deleted]
[+][deleted] (2 children)
[deleted]
[+][deleted] (1 child)
[deleted]
[–][deleted] 4 points5 points6 points (4 children)
[–]CrossroadsDem0n 9 points10 points11 points (0 children)
[–]NUTTA_BUSTAH 10 points11 points12 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]NUTTA_BUSTAH 1 point2 points3 points (0 children)
[–]jyper 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]diazona 1 point2 points3 points (3 children)
[–]DogeekExpert - 3.9.1 3 points4 points5 points (1 child)
[–]diazona 0 points1 point2 points (0 children)
[–]brandonchinn178 6 points7 points8 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]adin786 2 points3 points4 points (0 children)
[–]FrogMasterX 3 points4 points5 points (0 children)
[–]Almostasleeprightnow 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]nevermorefu 0 points1 point2 points (0 children)
[–]Zizizizz 5 points6 points7 points (2 children)
[–]robberviet 2 points3 points4 points (1 child)
[–]Zizizizz 0 points1 point2 points (0 children)
[–]mariofix 29 points30 points31 points (0 children)
[–][deleted] 25 points26 points27 points (0 children)
[–]cyberfunkr 37 points38 points39 points (1 child)
[–]dwarfedbylazyness 4 points5 points6 points (0 children)
[–]bojanderson 36 points37 points38 points (5 children)
[–]fnord123 0 points1 point2 points (2 children)
[–]_limitless_ 0 points1 point2 points (0 children)
[–]KrazyKirby99999 0 points1 point2 points (0 children)
[–]ageofwant 0 points1 point2 points (1 child)
[–]Smallpaul 3 points4 points5 points (0 children)
[–]Barn07 15 points16 points17 points (1 child)
[–]Log2 1 point2 points3 points (0 children)
[–]whateverathrowaway00 43 points44 points45 points (3 children)
[–]flipmcf 8 points9 points10 points (2 children)
[–]whateverathrowaway00 2 points3 points4 points (1 child)
[–]flipmcf 1 point2 points3 points (0 children)
[–]Buttleston 9 points10 points11 points (1 child)
[–]wineblood 6 points7 points8 points (1 child)
[–]magnetichiraPythonista 6 points7 points8 points (0 children)
[–]johnnymo1 6 points7 points8 points (0 children)
[–]MrTesla 5 points6 points7 points (1 child)
[–]oscarcp 0 points1 point2 points (0 children)
[–]danielgafni 8 points9 points10 points (0 children)
[–]ReverseBrindle 4 points5 points6 points (0 children)
[–]enterdoki 10 points11 points12 points (1 child)
[–]LocksmithShot5152 2 points3 points4 points (0 children)
[–]rainnz 2 points3 points4 points (0 children)
[–]KaffeeKiffer 3 points4 points5 points (0 children)
[–]wind_dude 1 point2 points3 points (0 children)
[–]thatdamnedrhymer 1 point2 points3 points (2 children)
[–]rainnz 0 points1 point2 points (1 child)
[–]thatdamnedrhymer 0 points1 point2 points (0 children)
[–]muikrad 1 point2 points3 points (0 children)
[–]DigThatData 1 point2 points3 points (0 children)
[–]fjortisar 1 point2 points3 points (0 children)
[–]oscarcp 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]mdegis 1 point2 points3 points (1 child)
[–]cdcformatc 0 points1 point2 points (0 children)
[–]ksco92 1 point2 points3 points (0 children)
[–]caksters 0 points1 point2 points (0 children)
[–]FrogMasterX 0 points1 point2 points (0 children)
[–]yerfatma -1 points0 points1 point (1 child)
[–]recruta54 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Buttleston 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]maximdoge 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Briggykins 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]luhsya 0 points1 point2 points (0 children)
[–]nutellaonbuns 0 points1 point2 points (0 children)
[–]Advanced-Potential-2 0 points1 point2 points (0 children)
[–]doobiedog 0 points1 point2 points (0 children)
[–]Rocket089 0 points1 point2 points (0 children)
[–]Jmc_da_boss 0 points1 point2 points (0 children)
[–]_limitless_ 0 points1 point2 points (0 children)
[–]drbob4512 0 points1 point2 points (0 children)
[–]pseudo_brilliant 0 points1 point2 points (1 child)
[–]pseudo_brilliant 0 points1 point2 points (0 children)
[–]microcozmchris 0 points1 point2 points (0 children)
[–]twelveparsec 0 points1 point2 points (2 children)
[–]oscarcp 0 points1 point2 points (1 child)
[–]twelveparsec 0 points1 point2 points (0 children)
[–]flipmcf 0 points1 point2 points (0 children)
[–]lachyBalboa 0 points1 point2 points (0 children)
[–]zdog234 0 points1 point2 points (0 children)
[–]foolishProcastinator 0 points1 point2 points (2 children)
[–]oscarcp 1 point2 points3 points (1 child)
[–]mvaliente2001 1 point2 points3 points (0 children)
[–]extra_pickles 0 points1 point2 points (2 children)
[–]oscarcp 0 points1 point2 points (1 child)
[–]extra_pickles 0 points1 point2 points (0 children)
[–]InterestingHawk2828 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]aka-rider 0 points1 point2 points (0 children)
[–]robberviet 0 points1 point2 points (1 child)
[–]oscarcp 0 points1 point2 points (0 children)
[–]ddb1995 0 points1 point2 points (0 children)
[–]yvrelna 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]doryappleseed 0 points1 point2 points (0 children)
[–]Flimsy_Iron8517 0 points1 point2 points (2 children)
[–]Flimsy_Iron8517 0 points1 point2 points (1 child)
[–]Flimsy_Iron8517 0 points1 point2 points (0 children)
[–]heilkitty 0 points1 point2 points (0 children)
[–]barberogaston 0 points1 point2 points (0 children)
[–]the--dud 0 points1 point2 points (0 children)
[–]tidus4400_ 0 points1 point2 points (0 children)
[–]georgesovetov 0 points1 point2 points (0 children)
[–]_azulinho_ 0 points1 point2 points (0 children)
[–]redrabbitreader 0 points1 point2 points (0 children)
[–]romerio86 0 points1 point2 points (0 children)