alessandro trinca tornidor commited on
Commit
61914c8
·
1 Parent(s): 33a8b7a

chore: bump to 1.11.3 version, fix wrong docker version, update requirements*.txt files

Browse files
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM registry.gitlab.com/aletrn/gis-prediction:1.11.1
2
 
3
  # Include global arg in this stage of the build
4
  ARG WORKDIR_ROOT="/var/task"
 
1
+ FROM registry.gitlab.com/aletrn/gis-prediction:1.11.3
2
 
3
  # Include global arg in this stage of the build
4
  ARG WORKDIR_ROOT="/var/task"
README.md CHANGED
@@ -183,3 +183,12 @@ To create a work in progress openapi json or yaml file use
183
 
184
  - `extract-openapi-fastapi.py`
185
  - `extract-openapi-lambda.py` (useful to export the json schema request and response from lambda app api)
 
 
 
 
 
 
 
 
 
 
183
 
184
  - `extract-openapi-fastapi.py`
185
  - `extract-openapi-lambda.py` (useful to export the json schema request and response from lambda app api)
186
+
187
+
188
+ ### Update `requirements.txt` using poetry
189
+
190
+ ```bash
191
+ poetry export --without-hashes --format=requirements.txt |grep -w -E "$(sed -z -e 's/\n/=|/g' requirements_no_versions.txt)" > requirements.txt
192
+ ```
193
+
194
+ Avoid newlines after the last pip package within the `requirements_no_versions.txt` file or the grep command will fail.
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
  [tool.poetry]
2
  name = "samgis"
3
- version = "1.11.2"
4
  description = "A backend for machine learning instance segmentation on geospatial data even without dedicated graphics cards."
5
  authors = ["alessandro trinca tornidor <alessandro@trinca.tornidor.com>"]
6
  license = "MIT license"
@@ -9,7 +9,7 @@ package-mode = false
9
 
10
  [metadata]
11
  name = "samgis"
12
- version = "1.11.2"
13
 
14
  [tool.poetry.urls]
15
  Source = "https://github.com/trincadev/samgis-be"
 
1
  [tool.poetry]
2
  name = "samgis"
3
+ version = "1.11.3"
4
  description = "A backend for machine learning instance segmentation on geospatial data even without dedicated graphics cards."
5
  authors = ["alessandro trinca tornidor <alessandro@trinca.tornidor.com>"]
6
  license = "MIT license"
 
9
 
10
  [metadata]
11
  name = "samgis"
12
+ version = "1.11.3"
13
 
14
  [tool.poetry.urls]
15
  Source = "https://github.com/trincadev/samgis-be"
requirements.txt CHANGED
@@ -1,13 +1,15 @@
1
- bson==0.5.10
2
- contextily==1.6.2
3
- geopandas==1.0.1
4
- numpy==2.1.2
5
- pillow==10.4.0
6
- pydantic==2.9.2
7
- python-dotenv==1.0.1
8
- onnxruntime==1.19.2
9
- rasterio==1.4.1
10
- requests==2.32.3
11
- samgis_core==3.1.0
12
- samgis_web==1.1.1
13
- uvicorn==0.32.0
 
 
 
1
+ bson==0.5.10 ; python_version >= "3.10" and python_version < "3.13"
2
+ contextily==1.6.2 ; python_version >= "3.10" and python_version < "3.13"
3
+ fastapi==0.115.11 ; python_version >= "3.10" and python_version < "3.13"
4
+ geopandas==1.0.1 ; python_version >= "3.10" and python_version < "3.13"
5
+ jinja2==3.1.6 ; python_version >= "3.10" and python_version < "3.13"
6
+ numpy==2.2.4 ; python_version >= "3.10" and python_version < "3.13"
7
+ onnxruntime==1.21.0 ; python_version >= "3.10" and python_version < "3.13"
8
+ pillow==11.1.0 ; python_version >= "3.10" and python_version < "3.13"
9
+ pydantic==2.10.6 ; python_version >= "3.10" and python_version < "3.13"
10
+ python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "3.13"
11
+ rasterio==1.4.3 ; python_version >= "3.10" and python_version < "3.13"
12
+ requests==2.32.3 ; python_version >= "3.10" and python_version < "3.13"
13
+ samgis-core==3.3.0 ; python_version >= "3.10" and python_version < "3.13"
14
+ samgis-web==1.2.4 ; python_version >= "3.10" and python_version < "3.13"
15
+ uvicorn==0.32.1 ; python_version >= "3.10" and python_version < "3.13"
requirements_no_versions.txt CHANGED
@@ -14,4 +14,4 @@ samgis_web
14
  fastapi
15
  jinja2
16
  pydantic
17
- uvicorn
 
14
  fastapi
15
  jinja2
16
  pydantic
17
+ uvicorn
requirements_poetry.txt CHANGED
@@ -1 +1 @@
1
- poetry==1.8.4
 
1
+ poetry==2.1.1