diff --git a/emannotationschemas/schemas/base.py b/emannotationschemas/schemas/base.py index 6487ebb..ee2db32 100644 --- a/emannotationschemas/schemas/base.py +++ b/emannotationschemas/schemas/base.py @@ -3,7 +3,7 @@ import marshmallow as mm import numpy as np from geoalchemy2.shape import to_shape -from geoalchemy2.types import WKBElement, WKTElement +from geoalchemy2.elements import WKBElement, WKTElement from marshmallow import INCLUDE from sqlalchemy.sql.sqltypes import Integer diff --git a/requirements.in b/requirements.in new file mode 100644 index 0000000..6483551 --- /dev/null +++ b/requirements.in @@ -0,0 +1,9 @@ +marshmallow +marshmallow-jsonschema +numpy<2 +jsonschema +SQLAlchemy +shapely +geoalchemy2 +flask-cors +pandas \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index edb4c09..de310ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,73 @@ -marshmallow==3.5.1 -marshmallow-jsonschema==0.10.0 -numpy>=1.18.4 -jsonschema<4.0 -SQLAlchemy<1.4 -shapely==2.0.3 -geoalchemy2>=0.11.1, <0.12.0 -flask-cors==3.0.10 \ No newline at end of file +# This file was autogenerated by uv via the following command: +# uv pip compile requirements.in +attrs==24.2.0 + # via + # jsonschema + # referencing +blinker==1.8.2 + # via flask +click==8.1.7 + # via flask +flask==3.0.3 + # via flask-cors +flask-cors==5.0.0 + # via -r requirements.in +geoalchemy2==0.15.2 + # via -r requirements.in +greenlet==3.1.0 + # via sqlalchemy +itsdangerous==2.2.0 + # via flask +jinja2==3.1.4 + # via flask +jsonschema==4.23.0 + # via -r requirements.in +jsonschema-specifications==2023.12.1 + # via jsonschema +markupsafe==2.1.5 + # via + # jinja2 + # werkzeug +marshmallow==3.22.0 + # via + # -r requirements.in + # marshmallow-jsonschema +marshmallow-jsonschema==0.13.0 + # via -r requirements.in +numpy==1.26.4 + # via + # -r requirements.in + # pandas + # shapely +packaging==24.1 + # via + # geoalchemy2 + # marshmallow +pandas==2.2.2 + # via -r requirements.in +python-dateutil==2.9.0.post0 + # via pandas +pytz==2024.2 + # via pandas +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +rpds-py==0.20.0 + # via + # jsonschema + # referencing +shapely==2.0.6 + # via -r requirements.in +six==1.16.0 + # via python-dateutil +sqlalchemy==2.0.34 + # via + # -r requirements.in + # geoalchemy2 +typing-extensions==4.12.2 + # via sqlalchemy +tzdata==2024.1 + # via pandas +werkzeug==3.0.4 + # via flask