Skip to content

Commit

Permalink
add aiohttp as core dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ungarj committed Sep 17, 2024
1 parent 952c36e commit eb19c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions mapchete/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from io import TextIOWrapper
from typing import IO, Generator, List, Optional, Set, TextIO, Tuple, Union

from aiohttp import BasicAuth
import fiona
import fsspec
import oyaml as yaml
Expand Down Expand Up @@ -175,8 +176,6 @@ def fs(self) -> fsspec.AbstractFileSystem:
elif self._path_str.startswith(("http://", "https://")):
username = self._storage_options.get("username")
if username:
from aiohttp import BasicAuth

auth = BasicAuth(
login=username,
password=self._storage_options.get("password", ""),
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"aiohttp",
"cachetools",
"click-plugins",
"click-spinner",
Expand Down

0 comments on commit eb19c20

Please sign in to comment.