Skip to content

Commit

Permalink
Merge branch 'main' into explore
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Feb 5, 2025
2 parents 79cfbba + ab8a05a commit 9895c03
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 346 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0

- name: Install a specific version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.4.x"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
npm ci
- name: Install a specific version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.4.x"
Expand Down
4 changes: 2 additions & 2 deletions lonboard/_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import traitlets
import traitlets as t
from ipywidgets import CallbackDispatcher
from ipywidgets.embed import embed_minimal_html
from ipywidgets.embed import dependency_state, embed_minimal_html

from lonboard._base import BaseAnyWidget
from lonboard._environment import DEFAULT_HEIGHT
Expand Down Expand Up @@ -547,7 +547,7 @@ def inner(fp):
drop_defaults=False,
# Necessary to pass the state of _this_ specific map. Otherwise, the
# state of all known widgets will be included, ballooning the file size.
state=self.get_state(),
state=dependency_state((self), drop_defaults=False),
)

if filename is None:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Fast, interactive geospatial data visualization in Jupyter."
authors = [{ name = "Kyle Barron", email = "[email protected]" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"anywidget~=0.9.0",
# Version in Colab as of October 2024
Expand Down
Loading

0 comments on commit 9895c03

Please sign in to comment.