choose pandas version in plugins

Moaรฏ
Level 2
choose pandas version in plugins

Hi,

our team recently developped a plugin based on a code made for a specific use case (platform : dataiku 9.0.5). However, the transfer from the internal lib to the plugin has not been as seemless as we hoped : the code was made using a code env with pandas 1.0, and the additional libraries were relying on it. The problem is, I don't know how to specify which version of pandas to use in the plugin, and the default value being 0.23, we had to make some code adjustments to work it out.

Is there a simple way of specifying the pandas version in the plugin requirements ? Or is it still something to come ?

Thanks in advance,
Moaรฏ

0 Kudos
2 Replies
sergeyd
Dataiker

Hi @Moaรฏ 

You need to create a code-env/spec directory and pass the required packages in the requirements.txt:

Screenshot 2022-02-04 at 18.39.59.png

desc.json:

 

{
    "acceptedPythonInterpreters": [
        "PYTHON36"
    ],
    "forceConda": false,
    "installCorePackages": false,
    "installJupyterSupport": false
}

 

More information can be found here: https://doc.dataiku.com/dss/latest/plugins/reference/other.html#code-environments

 

0 Kudos
CUB
Level 1

That didn't work for me.

any other settings @sergeyd ?

 

 

0 Kudos