What is the best way to update a Python package in DSS?

Highlighted
okiriza
Level 2
What is the best way to update a Python package in DSS?
Jump to solution
If I want to try new features from a Python package (e.g. jupyter or scikit-learn), what is the best way to update the package in DSS?

Is there any list of "safe package updates" so I can see which Python packages I can safely update without impacting DSS and which are not?

Thanks.
1 Solution

Accepted Solutions
Clément_Stenac Dataiker
Dataiker
Re: What is the best way to update a Python package in DSS?
Jump to solution
Hi,

Experimentally, updates to the "core" packages used by DSS (pandas, scikit-learn, jupyter, ...) are likely to break something.

At the moment, DSS 2.3 is known not to work properly with newer Pandas (behavior changes on dates), and scikit-learn (API change). For Jupyter, note that DSS uses a patched version of the "notebook" package, installing an updated pristine API change will make the integration at least partly non functional.

The more stable packages like requests or numpy are less dangerous (but there is also less incentive to update)

We'll probably update pandas and scikit learn in the next DSS update end of March

View solution in original post

1 Reply
Clément_Stenac Dataiker
Dataiker
Re: What is the best way to update a Python package in DSS?
Jump to solution
Hi,

Experimentally, updates to the "core" packages used by DSS (pandas, scikit-learn, jupyter, ...) are likely to break something.

At the moment, DSS 2.3 is known not to work properly with newer Pandas (behavior changes on dates), and scikit-learn (API change). For Jupyter, note that DSS uses a patched version of the "notebook" package, installing an updated pristine API change will make the integration at least partly non functional.

The more stable packages like requests or numpy are less dangerous (but there is also less incentive to update)

We'll probably update pandas and scikit learn in the next DSS update end of March

View solution in original post

Labels (3)