Skip to content

Commit 0ee60e7

Browse files
committed
Pin shapely version in test requirements
1 parent 8f32ac5 commit 0ee60e7

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

test_requirements/requirements_optional.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ipython
1010
jupyter
1111
anywidget
1212
scipy
13-
Shapely
13+
Shapely<2.1
1414
geopandas
1515
fiona<=1.9.6;python_version<="3.8" # fiona>1.9.6 is not compatible with geopandas<1; geopandas>=1 is not compatible with python 3.8
1616
pyshp

tests/test_optional/test_figure_factory/test_figure_factory.py

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4114,58 +4114,58 @@ def test_full_choropleth(self):
41144114
fig = ff.create_choropleth(fips=fips, values=values, simplify_county=1)
41154115

41164116
exp_fig_head = (
4117-
-88.04504299999999,
4118-
-88.02916499999999,
4119-
-88.02432999999999,
4120-
-88.04504299999999,
4121-
np_nan(),
4122-
-88.209559,
4123-
-88.209999,
4124-
-88.208733,
4125-
-88.209559,
4126-
np_nan(),
4127-
-88.22465299999999,
4128-
-88.22128099999999,
4129-
-88.218694,
4130-
-88.22465299999999,
4131-
np_nan(),
4132-
-88.255659,
4133-
-88.25782699999999,
4134-
-88.25947,
4135-
-88.255659,
4136-
np_nan(),
4137-
-88.327302,
4138-
-88.20146799999999,
4139-
-88.141143,
4140-
-88.124658,
4141-
-88.074854,
4142-
-88.12493599999999,
4143-
-88.10665399999999,
4144-
-88.149812,
4145-
-88.327302,
4146-
np_nan(),
4147-
-88.346823,
4148-
-88.341235,
4149-
-88.33288999999999,
4150-
-88.346823,
4151-
np_nan(),
4152-
-88.473227,
4153-
-88.097888,
4154-
-88.154617,
4155-
-88.20295899999999,
4156-
-85.605165,
4157-
-85.18440000000001,
4158-
-85.12218899999999,
4159-
-85.142567,
4160-
-85.113329,
4161-
-85.10533699999999,
4162-
-84.96302999999999,
4163-
-85.007103,
4164-
-84.88907999999999,
4165-
-85.061144,
4166-
-85.04930999999999
4117+
-88.053375,
4118+
-88.02916499999999,
4119+
-88.02432999999999,
4120+
-88.04504299999999,
4121+
-88.053375,
4122+
np_nan(),
4123+
-88.211209,
4124+
-88.209999,
4125+
-88.208733,
4126+
-88.209559,
4127+
-88.211209,
4128+
np_nan(),
4129+
-88.22511999999999,
4130+
-88.22128099999999,
4131+
-88.218694,
4132+
-88.22465299999999,
4133+
-88.22511999999999,
4134+
np_nan(),
4135+
-88.264659,
4136+
-88.25782699999999,
4137+
-88.25947,
4138+
-88.255659,
4139+
-88.264659,
4140+
np_nan(),
4141+
-88.327302,
4142+
-88.20146799999999,
4143+
-88.141143,
4144+
-88.124658,
4145+
-88.074854,
4146+
-88.12493599999999,
4147+
-88.10665399999999,
4148+
-88.149812,
4149+
-88.327302,
4150+
np_nan(),
4151+
-88.346745,
4152+
-88.341235,
4153+
-88.33288999999999,
4154+
-88.346823,
4155+
-88.346745,
4156+
np_nan(),
4157+
-88.473227,
4158+
-88.097888,
4159+
-88.154617,
4160+
-88.20295899999999,
4161+
-85.605165,
4162+
-85.18440000000001,
4163+
-85.12218899999999,
4164+
-85.142567,
4165+
-85.113329,
4166+
-85.10533699999999,
41674167
)
4168-
4168+
41694169
self.assertEqual(fig["data"][2]["x"][:50], exp_fig_head)
41704170

41714171

0 commit comments

Comments
 (0)