From 4887ff8b0f869ce2dfbaea891cb6b9e4eae85fd5 Mon Sep 17 00:00:00 2001 From: flych3r Date: Mon, 13 Jun 2022 20:28:23 -0300 Subject: [PATCH 1/4] pin pandas version to 1.3.5 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2757dcb4..f4b7d255 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ matplotlib mplleaflet networkx numpy -pandas>=1.1.0 +pandas==1.3.5 psutil python-dateutil pytz From d15aa72beed3d63e81238888cf7294000c1f9f82 Mon Sep 17 00:00:00 2001 From: Matheus Xavier Sampaio Date: Mon, 13 Jun 2022 20:55:53 -0300 Subject: [PATCH 2/4] ignore mypy on `pymove/core/dask` --- pymove/core/dask.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymove/core/dask.py b/pymove/core/dask.py index 05c15a90..77aadeee 100644 --- a/pymove/core/dask.py +++ b/pymove/core/dask.py @@ -1,4 +1,6 @@ """DaskMoveDataFrame class.""" +# mypy: ignore-errors + from __future__ import annotations from typing import TYPE_CHECKING From 1c73d986a14c62ca29c289f4058bf9aac236e8be Mon Sep 17 00:00:00 2001 From: Matheus Xavier Sampaio Date: Mon, 13 Jun 2022 21:00:26 -0300 Subject: [PATCH 3/4] Update dask.py --- pymove/core/dask.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pymove/core/dask.py b/pymove/core/dask.py index 77aadeee..fbc0a52a 100644 --- a/pymove/core/dask.py +++ b/pymove/core/dask.py @@ -1,6 +1,5 @@ -"""DaskMoveDataFrame class.""" # mypy: ignore-errors - +"""DaskMoveDataFrame class.""" from __future__ import annotations from typing import TYPE_CHECKING From 6b26aa96f7339ad7c469ae343870ed30c1cd9ed0 Mon Sep 17 00:00:00 2001 From: Matheus Xavier Sampaio Date: Mon, 13 Jun 2022 21:16:31 -0300 Subject: [PATCH 4/4] changed pandas version to compatible range --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f4b7d255..d0897edc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ matplotlib mplleaflet networkx numpy -pandas==1.3.5 +pandas>=1.1.0,<1.4.0 psutil python-dateutil pytz