Skip to content

Commit bb9c3b5

Browse files
committed
Update dependencies
1 parent 4110bae commit bb9c3b5

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
init:
2-
pip install -e .
2+
pip install -e .[tests]
33

44
test:
55
pytest tests/unit/

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def get_version():
2626
REQUIRES = [
2727
'appdirs>=1.4.3,<2.0',
2828
'carto>=1.11.3,<2.0',
29+
'markupsafe<=2.0.1',
2930
'jinja2>=2.10.1,<3.0',
30-
'numpy<=1.22.4',
3131
'pandas>=0.25.0',
32-
'shapely>=1.7,<=1.7.1',
32+
'shapely>=1.7,<2.0',
3333
'geopandas>=0.6.0,<1.0',
3434
'unidecode>=1.1.0,<2.0',
3535
'semantic_version>=2.8.0,<3'

tests/unit/io/test_carto.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from pandas import Index
66
from geopandas import GeoDataFrame
77
from shapely.geometry import Point
8-
from shapely.geometry.base import BaseGeometry
98
from shapely import wkt
109

1110
from carto.exceptions import CartoException
@@ -83,17 +82,18 @@ def test_read_carto_basegeometry_as_null_geom_value(mocker):
8382
})
8483

8584
# When
86-
gdf = read_carto('__source__', CREDENTIALS, null_geom_value=BaseGeometry())
85+
gdf = read_carto('__source__', CREDENTIALS, null_geom_value=None)
8786

8887
# Then
8988
expected = GeoDataFrame({
9089
'cartodb_id': [1],
9190
'the_geom': [
92-
BaseGeometry()
91+
None
9392
]
9493
}, geometry='the_geom')
9594

9695
cm_mock.assert_called_once_with('__source__', None, None, 3)
96+
print(expected, gdf)
9797
assert expected.equals(gdf)
9898
assert gdf.crs == 'epsg:4326'
9999

tox.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ python =
1010

1111
[testenv]
1212
deps =
13-
markupsafe<=2.0.1
1413
flake8
1514
pytest
1615
pytest-mock
@@ -21,7 +20,6 @@ commands =
2120

2221
[testenv:unit]
2322
deps =
24-
markupsafe<=2.0.1
2523
flake8
2624
pytest
2725
pytest-mock
@@ -32,7 +30,6 @@ commands =
3230

3331
[testenv:e2e]
3432
deps =
35-
markupsafe<=2.0.1
3633
flake8
3734
pytest
3835
commands =
@@ -42,7 +39,6 @@ commands =
4239

4340
[testenv:cov]
4441
deps =
45-
markupsafe<=2.0.1
4642
pytest
4743
pytest-mock
4844
pytest-cov
@@ -52,7 +48,6 @@ commands =
5248

5349
[testenv:cov-html]
5450
deps =
55-
markupsafe<=2.0.1
5651
pytest
5752
pytest-mock
5853
pytest-cov

0 commit comments

Comments
 (0)