Skip to content

unpin numpy once "ImportError: numpy.core.multiarray failed to import" is solved #332

@MarleneKress79789

Description

@MarleneKress79789

if we want to update numpy, we get this error:

Exception during run 
E               TE_ZERO_SHOT_TEXT_CLASSIFICATION_UDF_WITH_SPAN:9 run
E                 File "/usr/local/lib/python3.10/dist-packages/exasol_transformers_extension/udfs/models/base_model_udf.py", line 80, in run
E                   device_id = ctx.get_dataframe(1).iloc[0]["device_id"]
E               ImportError: numpy.core.multiarray failed to import```

from the "with_db" udf integration tests.

ci run with the error, numpy = 2.2.6 , udf-mock-python = 0.5.0
https://eu-central-1.console.aws.amazon.com/codesuite/codebuild/561494727831/projects/TransformersExtensionCodeBuild/build/TransformersExtensionCodeBuild%3A643c24b4-6929-4e29-896a-b101bd7317dd?region=eu-central-1

therefor currently numpy is pinned in the pyproject.toml. find out how to solve this and unpin numpy

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions