Skip to content

Commit 65ea680

Browse files
committed
update binderhub config
1 parent c54b061 commit 65ea680

File tree

5 files changed

+24
-6
lines changed

5 files changed

+24
-6
lines changed

.binder/requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Requirements to run notebooks in BinderHub
2+
3+
folium
4+
httpx
5+
6+
rasterio
7+
boto3
8+
tqdm
9+
10+
11+
geojson_pydantic
12+
cogeo-mosaic
13+
14+
ipyleaflet

deployment/aws/lambda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM --platform=linux/amd64 lambci/lambda:build-python3.8
22

33
WORKDIR /tmp
44

5-
RUN pip install titiler.application mangum>=0.10.0 -t /asset --no-binary pydantic
5+
RUN pip install titiler==0.4.0a0 mangum>=0.10.0 -t /asset --no-binary pydantic
66

77
# Reduce package size and remove useless files
88
RUN cd /asset && find . -type f -name '*.pyc' | while read f; do n=$(echo $f | sed 's/__pycache__\///' | sed 's/.cpython-[2-3][0-9]//'); cp $f $n; done;

docs/examples/notebooks/Working_with_MosaicJSON.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"- boto3\n",
5050
"- geojson_pydantic\n",
5151
"\n",
52-
"`pip install rasterio folium requests tqdm bs4 requests geojson_pydantic cogeo-mosaic`"
52+
"`pip install rasterio folium tqdm httpx rio-tiler geojson_pydantic cogeo-mosaic`"
5353
]
5454
},
5555
{
@@ -59,7 +59,7 @@
5959
"outputs": [],
6060
"source": [
6161
"# Uncomment this line if you need to install the dependencies\n",
62-
"#!pip install rasterio folium requests tqdm httpx rio-tiler geojson_pydantic cogeo-mosaic"
62+
"#!pip install rasterio folium tqdm httpx rio-tiler geojson_pydantic cogeo-mosaic"
6363
]
6464
},
6565
{

docs/examples/notebooks/Working_with_STAC.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"outputs": [],
111111
"source": [
112112
"# Uncomment this line if you need to install the dependencies\n",
113-
"# !pip rasterio folium requests tqdm"
113+
"# !pip rasterio folium httpx tqdm"
114114
]
115115
},
116116
{

setup.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ current_version = 0.4.0a0
33
commit = True
44
tag = True
55
tag_name = {new_version}
6-
parse =
6+
parse =
77
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
88
((?P<pre>a|b|rc)(?P<prenum>\d+))?
9-
serialize =
9+
serialize =
1010
{major}.{minor}.{patch}{pre}{prenum}
1111
{major}.{minor}.{patch}
1212

@@ -38,6 +38,10 @@ replace = version="{new_version}"
3838
search = __version__ = "{current_version}"
3939
replace = __version__ = "{new_version}"
4040

41+
[bumpversion:file:deployment/aws/lambda/Dockerfile]
42+
search = titiler=={current_version}
43+
replace = titiler=={new_version}
44+
4145
[isort]
4246
profile = black
4347
known_first_party = titiler

0 commit comments

Comments
 (0)