Skip to content

Commit

Permalink
Anywidget >= 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed May 1, 2024
1 parent 10bf762 commit d6750c8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ shiny = "^0.6.1"
htmltools = "^0.5.1"
jinja2 = "^3.1.3"
pydantic = "^2.5.3"
anywidget = "^0.8.1"
anywidget = ">=0.9.0"
pandas = {version = "^2.1.4", optional = true}
geopandas = {version = "^0.14.2", optional = true}

Expand Down
9 changes: 4 additions & 5 deletions tests/test_mapwidget.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import pytest
# import pytest

# anywidget causes "core dumped" error
# from maplibre.ipywidget import MapWidget
from maplibre.ipywidget import MapWidget

"""
@pytest.mark.skip("enable me")

# @pytest.mark.skip("enable me")
def test_maplibre_widget():
widget = MapWidget(height=200)
print(widget.map_options)
print(widget.height)

assert widget.height == "200px"
"""

0 comments on commit d6750c8

Please sign in to comment.