Imas_python should be an optional dependency in the pyproject.toml file, hence should not be in the base (main) dependency.