Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlalchemy 2.0 #92

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion emannotationschemas/schemas/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
marshmallow
marshmallow-jsonschema
numpy<2
jsonschema
SQLAlchemy
shapely
geoalchemy2
flask-cors
pandas
81 changes: 73 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
# 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
Loading