Skip to content

Enable new numpy version >= 1.20 #908

@smartie2076

Description

@smartie2076

When the docker files on the server are updated, the numpy version is also bumped. Locally, we use numpy==1.19.X, but on the server (in the docker file), numpy==1.20.3 is used. This triggers an error message in the EPA, which it receives from the MVS API:

warnings.warn(msg, DeprecationWarning, stacklevel=2)\nDeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.\nDeprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations\n"

Currently the case with MVS API v1.0.0 (https://mvs-eland.rl-institut.de/). There were no manual updates of the docker files on the server, two days earlier the simulation passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions