-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance, upgrade deps and logging, remove numpy, numba, p…
…andas (#816) * Upgrade deps and remove numpy, numba, pandas * Replace BaseHTTPMiddleware with much faster ASGI equalivalent * Increase anyio threads to 100 * Remove broken etag support * Improved logging * Switch to a2wsgi * Remove a2wsgi again * Remove greenifier extension * Bump FastAPI to 0.89.0 * Add pytest in settings.json * Set SQLAlchemy version to >= 1.4.40 and <= 1.4.46 to allow SQLModel > 0.0.6 (#819) * Loosen Flask and marshmallow-sqlalchemy versions for superset * Removed flake8, isort, pep8 in favor of ruff
- Loading branch information
1 parent
e0062a2
commit cdcdb2e
Showing
74 changed files
with
739 additions
and
746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: Module", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "tdp_core", | ||
"justMyCode": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"tdp_core" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"typeCheckingMode": "basic", | ||
"useLibraryCodeForTypes": true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
alembic==1.7.7 | ||
fastapi==0.75.0 | ||
cachetools==5.0.0 | ||
flask-smorest==0.37.0 | ||
# a2wsgi==1.6.0 # This WSIGMiddleware is not compatible with starlette_context | ||
alembic==1.9.0 | ||
cachetools==5.2.0 | ||
fastapi[all]==0.89.0 | ||
flask-swagger-ui==3.36.0 | ||
Flask==2.0.3 | ||
Flask[async]>=2.1.0,<=2.2.2 | ||
json-cfg==0.4.2 | ||
marshmallow-sqlalchemy==0.28.0 | ||
marshmallow==3.15.0 | ||
numba==0.55.1 | ||
numpy==1.21.6 | ||
marshmallow-sqlalchemy>=0.26.0,<=0.28.1 | ||
marshmallow==3.19.0 | ||
openpyxl==3.0.9 | ||
pandas==1.4.1 | ||
Pillow==9.0.1 | ||
psycopg2==2.9.3 | ||
pydantic==1.9.0 | ||
pyjwt==2.4.0 | ||
Pillow==9.3.0 | ||
psycopg==3.1.7 | ||
psycopg2==2.9.5 | ||
pydantic==1.10.2 | ||
pyjwt==2.6.0 | ||
pymongo~=3.11.1 | ||
pytest-postgresql==4.1.1 | ||
python-dateutil==2.8.2 | ||
python-memcached==1.59 | ||
python-multipart==0.0.5 | ||
requests==2.27.1 | ||
SQLAlchemy==1.4.32 | ||
sqlmodel==0.0.6 | ||
rdkit==2022.3.5 | ||
requests==2.28.1 | ||
SQLAlchemy>=1.4.40,<=1.4.46 | ||
starlette-context==0.3.5 | ||
urllib3==1.26.9 | ||
uvicorn[standard]==0.17.6 | ||
uvicorn[standard]==0.20.0 | ||
yamlreader==3.0.4 | ||
pytest-postgresql==4.1.1 | ||
psycopg==3.0.16 | ||
rdkit==2022.3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
black~=22.3.0 | ||
debugpy~=1.5.1 | ||
flake8~=4.0.1 | ||
isort~=5.10.1 | ||
mkdocs-material~=8.2.8 | ||
pep8-naming~=0.12.1 | ||
black~=22.12.0 | ||
pyright~=1.1.285 | ||
pytest-runner~=6.0.0 | ||
pytest~=7.1.1 | ||
recommonmark~=0.7.1 | ||
pytest~=7.2.0 | ||
ruff==0.0.218 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.