When I use poetry add xarray-spatial I see the error below:
Using version ^0.3.5 for xarray-spatial
Updating dependencies
Resolving dependencies... (0.0s)
AssertionError
at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/mixology/incompatibility.py:113 in __str__
109│ )
110│
111│ def __str__(self) -> str:
112│ if isinstance(self._cause, DependencyCause):
→ 113│ assert len(self._terms) == 2
114│
115│ depender = self._terms[0]
116│ dependee = self._terms[1]
117│ assert depender.is_positive()
This is strange because I've already used it withouth problems but on Ubuntu 20.04. This is also strange because I can install whitouth problems using pip3 install xarray-spatial in a test environment(python3 -m venv test_env) and if i use xrspatial examples I can downloads the examples.
Is there a compatibility problem between Poetry and xarray-spatial?
I'm trying to install xarray-spatial via
poetry
on Ubuntu 22.04, below the simple.toml
with which I've tried to install the library:When I use
poetry add xarray-spatial
I see the error below:This is strange because I've already used it withouth problems but on Ubuntu 20.04. This is also strange because I can install whitouth problems using
pip3 install xarray-spatial
in a test environment(python3 -m venv test_env
) and if i usexrspatial examples
I can downloads the examples.Is there a compatibility problem between Poetry and xarray-spatial?