rstudio / vetiver-python

Version, share, deploy, and monitor models.
https://rstudio.github.io/vetiver-python/stable/
MIT License
60 stars 17 forks source link

log python version in `vetiver_pin_write` #115

Closed isabelizimm closed 1 year ago

isabelizimm commented 1 year ago

After talking with some community members, a common point of failure for them was a mismatch in python version when moving models around (even if other dependencies are logged). It might be a useful addition in the metadata to track this as well.

machow commented 1 year ago

Oh interesting--do you know what they see when they hit an error due to mismatched python versions? Is it something related to loading a pickle/joblib object? What do they see that tells them it is due to a python version mismatch?

isabelizimm commented 1 year ago

I believe it was mostly around reproducing environments between development/staging/production. I don't remember the specific breaking issue, but I do know it stemmed from a desire to ensure identical envs when shifting between locations