Skip to content

Commit 369b6cb

Browse files
committed
Add missing requirement
1 parent 0911a3f commit 369b6cb

File tree

5 files changed

+8
-1
lines changed

5 files changed

+8
-1
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: pip install -e .
2626

2727
- name: Install dev dependencies
28-
run: pip install pytest geopandas
28+
run: pip install -r requirements.dev.txt
2929

3030
- name: Test package
3131
run: pytest

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ dev = [
2525
"mkdocstrings[python]>=0.29.1",
2626
"pyproj>=3.6.1",
2727
"pytest>=8.3.5",
28+
"requests>=2.32.3",
2829
"ruff>=0.11.5",
2930
]

requirements.dev.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pytest
2+
geopandas
3+
requests

src/openlayers/colors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def read_color_schemes(fn: str = None) -> list[ColorScheme]:
2727

2828
data = requests.get(fn).json()
2929
except ImportError as e:
30+
print(e)
3031
return
3132

3233
return [ColorScheme(name=k, values=v) for k, v in data.items()]

uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)