You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use geoviews everywhere + use pn.State for caching
This commit is quite messy, but we are still at an early stage of the
development and the API is not set yet. Anyhow, it mostly addresses the
remarks made by @jbednar at:
#16 (comment)
In a nutshell:
- We follow the recommendation of the [FAQ](https://holoviews.org/FAQ.html)
and we stop mixing holoviews and geoviews objects.
- We use `pn.State` in order to cache the `xr.Dataset` objects among
different requests.
- We fix cartopy to < 0.20 since we are affected by this issue:
holoviz/geoviews#529
Copy file name to clipboardexpand all lines: requirements/requirements-dev.txt
+16-18
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,24 @@
1
-
anyio==3.3.2; python_full_version>="3.6.2" and python_version >= "3.6"
1
+
anyio==3.3.3; python_full_version>="3.6.2" and python_version >= "3.6"
2
2
appnope==0.1.2; sys_platform=="darwin" and python_version >= "3.7" or platform_system == "Darwin" and python_version >= "3.7"
3
3
argon2-cffi==21.1.0; python_version>="3.6"
4
-
astroid==2.8.0; python_version>="3.6" and python_version < "4.0" and python_full_version >= "3.6.1"
4
+
astroid==2.8.2; python_version>="3.6" and python_version < "4.0" and python_full_version >= "3.6.1"
5
5
attrs==21.2.0; python_version>="3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
6
6
babel==2.9.1; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
7
7
backcall==0.2.0; python_version>="3.7"
8
8
backports.entry-points-selectable==1.1.0; python_version>="2.7" and python_full_version >= "3.6.1"
9
9
black==21.9b0; python_full_version>="3.6.2"
10
10
bleach==4.1.0; python_version>="3.6"
11
11
bokeh==2.4.0; python_version>="3.7"
12
-
cartopy==0.20.0; python_version>="3.7"
13
-
certifi==2021.5.30; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" or python_version >= "3.7"
12
+
cartopy==0.19.0.post1; python_version>="3.5"
13
+
certifi==2021.10.8; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" or python_version >= "3.7"
14
14
cffi==1.14.6; implementation_name=="pypy" and python_version >= "3.6" or python_version >= "3.6"
15
15
cfgv==3.3.1; python_full_version>="3.6.1"
16
16
cftime==1.5.1
17
-
charset-normalizer==2.0.6; python_full_version>="3.6.0" and python_version >= "3.6"
18
-
click==8.0.1; python_version>="3.6" and python_full_version >= "3.6.2" or python_version >= "3.7"
17
+
charset-normalizer==2.0.7; python_full_version>="3.6.0" and python_version >= "3.6"
18
+
click==8.0.3; python_version>="3.6" and python_full_version >= "3.6.2" or python_version >= "3.7"
19
19
cloudpickle==2.0.0; python_version>="3.7" or python_version >= "3.7"
20
20
colorama==0.4.4; python_version>="3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or python_full_version >= "3.5.0" and python_version >= "3.6" and platform_system == "Windows" or python_version >= "3.6" and python_full_version >= "3.6.2" and platform_system == "Windows" or python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.5.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.1" and sys_platform == "win32"
21
21
colorcet==2.0.6; python_version>="2.7"
22
-
cycler==0.10.0; python_version>="3.7"
23
22
dask==2021.9.1; python_version>="3.7" or python_version >= "3.7"
entrypoints==0.3; python_full_version>="3.6.1" and python_version >= "3.6" or python_version >= "3.6"
34
33
filelock==3.3.0; python_version>="3.6" and python_full_version >= "3.6.1"
35
34
flake8-polyfill==1.0.2; python_full_version>="3.6.1" and python_version < "4.0"
36
-
flake8==3.9.2; python_full_version>="3.6.1" and python_version < "4.0"
35
+
flake8==2.3.0; python_full_version>="3.6.1" and python_version < "4.0"
37
36
fsspec==2021.10.0; python_version>="3.7"
38
37
geoviews==1.9.2; python_version>="3.7"
39
38
heapdict==1.0.1; python_version>="3.7"
40
39
holoviews==1.14.6; python_version>="2.7"
41
40
identify==2.3.0; python_full_version>="3.6.1"
42
-
idna==3.2; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" or python_full_version >= "3.6.2" and python_version >= "3.6"
41
+
idna==3.3; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" or python_full_version >= "3.6.2" and python_version >= "3.6"
43
42
ipykernel==6.4.1; python_version>="3.7"
44
43
ipython-genutils==0.2.0; python_version>="3.6"
45
44
ipython==7.28.0; python_version>="3.7"
46
45
isort==5.9.3; python_full_version>="3.6.1" and python_version < "4.0" and python_version >= "3.6"
47
46
jedi==0.18.0; python_version>="3.7"
48
47
jinja2==3.0.2; python_version>="3.7" or python_version >= "3.6"
49
48
json5==0.9.6; python_version>="3.6"
50
-
jsonschema==4.0.1; python_version>="3.7"
49
+
jsonschema==4.1.0; python_version>="3.7"
51
50
jupyter-client==7.0.6; python_full_version>="3.6.1" and python_version >= "3.6" or python_full_version >= "3.6.1" and python_version >= "3.7"
52
51
jupyter-core==4.8.1; python_full_version>="3.6.1" and python_version >= "3.6" or python_version >= "3.6"
53
52
jupyter-server==1.11.1; python_version>="3.6"
54
53
jupyterlab-pygments==0.1.2; python_version>="3.7"
55
54
jupyterlab-server==2.8.2; python_version>="3.6"
56
-
jupyterlab==3.1.17; python_version>="3.6"
57
-
kiwisolver==1.3.2; python_version>="3.7"
55
+
jupyterlab==3.1.18; python_version>="3.6"
58
56
lazy-object-proxy==1.6.0; python_version>="3.6" and python_version < "4.0" and python_full_version >= "3.6.1"
59
57
llvmlite==0.36.0; python_version>="3.6" and python_version < "3.10"
60
58
locket==0.2.1; python_version>="3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7"
61
59
markdown==3.3.4; python_version>="3.6"
62
60
markupsafe==2.0.1; python_version>="3.7"
63
61
matplotlib-inline==0.1.3; python_version>="3.7"
64
-
matplotlib==3.4.3; python_version>="3.7"
65
62
mccabe==0.6.1; python_full_version>="3.6.1" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.1"
psutil==5.8.0; python_version>="3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version >= "3.4.0"
99
97
ptyprocess==0.7.0; sys_platform!="win32" and python_version >= "3.7" or os_name != "nt" and python_version >= "3.6"
100
98
py==1.10.0; python_version>="3.6" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.6" and python_full_version >= "3.4.0"
101
-
pycodestyle==2.7.0; python_full_version>="3.6.1" and python_version < "4.0"
99
+
pycodestyle==2.8.0; python_full_version>="3.6.1" and python_version < "4.0"
102
100
pycparser==2.20; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
103
101
pyct==0.4.8; python_version>="2.7"
104
102
pydocstyle==6.1.1; python_full_version>="3.6.1" and python_version < "4.0" and python_version >= "3.6"
@@ -113,14 +111,14 @@ pyparsing==2.4.7; python_version >= "3.7" and python_full_version < "3.0.0" or p
113
111
pyproj==3.2.1; python_version>="3.7"
114
112
pyrsistent==0.18.0; python_version>="3.7"
115
113
pyshp==2.1.3; python_version>="3.7"
116
-
python-dateutil==2.8.2; python_version>="2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7" or python_full_version >= "3.6.1" and python_version >= "3.6"
114
+
python-dateutil==2.8.2; python_version>="2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_full_version >= "3.6.1" and python_version >= "3.6"
117
115
pytz==2021.3; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" or python_full_version >= "3.7.1" and python_version >= "2.7"
118
116
pyviz-comms==2.1.0
119
-
pywin32==301; sys_platform=="win32" and platform_python_implementation != "PyPy" and python_version >= "3.6"
117
+
pywin32==302; sys_platform=="win32" and platform_python_implementation != "PyPy" and python_version >= "3.6"
120
118
pywinpty==1.1.4; os_name=="nt" and python_version >= "3.6"
121
119
pyyaml==5.4.1; python_version>="3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7" or python_full_version >= "3.6.1" and python_version < "4.0" or python_full_version >= "3.6.1"
122
120
pyzmq==22.3.0; python_full_version>="3.6.1" and python_version >= "3.6" or python_version >= "3.6"
123
-
regex==2021.9.30; python_full_version>="3.6.2"
121
+
regex==2021.10.8; python_full_version>="3.6.2"
124
122
requests-unixsocket==0.2.0; python_version>="3.6"
125
123
requests==2.26.0; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
126
124
requirements-detector==0.7; python_full_version>="3.6.1" and python_version < "4.0"
setoptconf-tmp==0.3.1; python_full_version>="3.6.1" and python_version < "4.0"
131
129
setuptools==58.2.0; python_version>="3.6" and python_version < "3.10" or python_version >= "3.6" or python_version >= "3.7" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.1"
132
130
shapely==1.7.1; python_version>="3.7"
133
-
six==1.16.0; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_full_version >= "3.6.1" or python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7" or python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
131
+
six==1.16.0; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_full_version >= "3.6.1" or python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7"
134
132
sniffio==1.2.0; python_full_version>="3.6.2" and python_version >= "3.6"
135
133
snowballstemmer==2.1.0; python_full_version>="3.6.1" and python_version < "4.0" and python_version >= "3.6"
Copy file name to clipboardexpand all lines: requirements/requirements.txt
+7-10
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,13 @@
1
1
bleach==4.1.0; python_version>="3.6"
2
2
bokeh==2.4.0; python_version>="3.7"
3
-
cartopy==0.20.0; python_version>="3.7"
4
-
certifi==2021.5.30; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" or python_version >= "3.7"
3
+
cartopy==0.19.0.post1; python_version>="3.5"
4
+
certifi==2021.10.8; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" or python_version >= "3.7"
5
5
cftime==1.5.1
6
-
charset-normalizer==2.0.6; python_full_version>="3.6.0" and python_version >= "3.6"
7
-
click==8.0.1; python_version>="3.7"
6
+
charset-normalizer==2.0.7; python_full_version>="3.6.0" and python_version >= "3.6"
7
+
click==8.0.3; python_version>="3.7"
8
8
cloudpickle==2.0.0; python_version>="3.7" or python_version >= "3.7"
9
9
colorama==0.4.4; python_version>="3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or python_full_version >= "3.5.0" and python_version >= "3.6" and platform_system == "Windows" or python_version >= "3.7" and python_full_version < "3.0.0" and platform_system == "Windows" or python_version >= "3.7" and platform_system == "Windows" and python_full_version >= "3.5.0"
10
10
colorcet==2.0.6; python_version>="2.7"
11
-
cycler==0.10.0; python_version>="3.7"
12
11
dask==2021.9.1; python_version>="3.7" or python_version >= "3.7"
pyparsing==2.4.7; python_version>="3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
43
40
pyproj==3.2.1; python_version>="3.7"
44
41
pyshp==2.1.3; python_version>="3.7"
45
-
python-dateutil==2.8.2; python_version>="2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
42
+
python-dateutil==2.8.2; python_version>="2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7" or python_full_version >= "3.7.1" and python_version >= "2.7"
46
43
pytz==2021.3; python_full_version>="3.7.1" and python_version >= "2.7"
47
44
pyviz-comms==2.1.0; python_version>="2.7"
48
45
pyyaml==5.4.1; python_version>="3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7"
scipy==1.7.1; python_version>="3.7" and python_version < "3.10"
52
49
setuptools==58.2.0; python_version>="3.6" and python_version < "3.10" or python_version >= "3.6" or python_version >= "3.7"
53
50
shapely==1.7.1; python_version>="3.7"
54
-
six==1.16.0; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7" or python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
51
+
six==1.16.0; python_version>="3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" or python_full_version >= "3.7.1" and python_version >= "2.7" or python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "2.7"
55
52
sortedcontainers==2.4.0; python_version>="3.7"
56
53
tblib==1.7.0; python_version>="3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version >= "3.5.0"
57
54
toolz==0.11.1; python_version>="3.7" or python_version >= "3.7"
0 commit comments