Skip to content

nlp.install_to_databricks doesn't install the correct version of johnsnowlabs-for-databricks package #1290

Description

@KshitizGIT

This function johnsnowlabs.auto_install.databricks.install_utils.install_py_lib_via_pip doesn't install the correct version of requested pypi packages.
It is because we are sending payload as

{"pypi" : {
      "package": "<pypi_package>",
       "version": "<version"
}}

instead of the expected format

{"pypi" : {
      "package": "<pypi_package>==<version>"
}}
https://docs.databricks.com/api/workspace/libraries/install#libraries-pypi

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions