Skip to content

Commit

Permalink
Requirements updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sumesh-aot committed Oct 8, 2024
1 parent c27be24 commit ffd3218
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 26 deletions.
49 changes: 35 additions & 14 deletions forms-flow-data-analysis-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,64 +3,85 @@ Flask-SQLAlchemy==3.1.1
Flask==3.0.3
Jinja2==3.1.4
Mako==1.3.5
MarkupSafe==2.1.5
PyYAML==6.0.1
MarkupSafe==3.0.1
PyYAML==6.0.2
Pygments==2.18.0
SQLAlchemy-Utils==0.41.2
SQLAlchemy==2.0.35
Werkzeug==3.0.3
Werkzeug==3.0.4
alembic==1.13.3
aniso8601==9.0.1
annotated-types==0.7.0
attrs==24.2.0
blinker==1.8.2
blis==0.7.11
blis==1.0.1
cachelib==0.13.0
catalogue==2.0.10
certifi==2024.8.30
charset-normalizer==3.3.2
click==8.1.7
cloudpathlib==0.19.0
confection==0.1.5
cymem==2.0.8
ecdsa==0.19.0
filelock==3.16.1
flask-jwt-oidc==0.7.0
flask-restx==1.3.0
fsspec==2024.9.0
gunicorn==22.0.0
gunicorn==23.0.0
huggingface-hub==0.25.1
idna==3.10
importlib_metadata==8.5.0
importlib_resources==6.4.5
itsdangerous==2.2.0
joblib==1.4.2
jsonschema-specifications==2023.7.1
jsonschema-specifications==2024.10.1
jsonschema==4.23.0
langcodes==3.4.1
language_data==1.2.0
marisa-trie==1.2.0
markdown-it-py==3.0.0
mdurl==0.1.2
mpmath==1.3.0
murmurhash==1.0.10
networkx==3.3
nltk==3.9
numpy==1.26.4
networkx==3.2.1
nltk==3.9.1
numpy==2.0.2
packaging==24.1
plac==1.4.3
preshed==3.0.9
protobuf==5.28.2
psycopg2-binary==2.9.9
pyasn1==0.6.1
pydantic==2.9.2
pydantic_core==2.23.4
python-dotenv==1.0.1
python-jose==3.3.0
pytz==2024.2
referencing==0.30.2
referencing==0.35.1
regex==2024.9.11
requests==2.32.3
rich==13.9.2
rpds-py==0.20.0
rsa==4.9
safetensors==0.4.5
sentencepiece==0.2.0
shellingham==1.5.4
six==1.16.0
spacy==3.7.6
smart-open==7.0.5
spacy-legacy==3.0.12
spacy-loggers==1.0.5
spacy==3.8.2
srsly==2.4.8
sympy==1.13.3
thinc==8.2.5
thinc==8.3.2
tokenizers==0.20.0
torch==2.4.1
tqdm==4.66.5
transformers==4.45.1
transformers==4.45.2
typer==0.12.5
typing_extensions==4.12.2
urllib3==2.2.3
wasabi==1.1.3
weasel==0.4.1
wrapt==1.16.0
zipp==3.20.2
4 changes: 2 additions & 2 deletions forms-flow-data-analysis-api/requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gunicorn
Flask<3
Flask
Flask-SQLAlchemy
flask-restx
flask-jwt-oidc
Expand All @@ -10,6 +10,6 @@ attrs
Werkzeug
sqlalchemy_utils
sqlalchemy
spacy<3
spacy
nltk
Flask-Migrate
2 changes: 1 addition & 1 deletion forms-flow-data-analysis-api/src/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from .resources import data_analysis_api
from .utils.auth import jwt
from .utils.enumerator import Service
from .utils.logging import setup_logging
from .utils.file_log_handler import register_log_handlers
from .utils.logging import setup_logging

flask_logger = setup_logging(
os.path.join(os.path.abspath(os.path.dirname(__file__)), "logging.conf")
Expand Down
1 change: 1 addition & 0 deletions forms-flow-data-analysis-api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from flask_migrate import Migrate, upgrade
from sqlalchemy import event, text
from sqlalchemy.schema import DropConstraint, MetaData

from api import create_app, setup_jwt_manager
from api.models import db as _db
from api.utils import jwt as _jwt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
from tests.utilities.base_test import (
get_sentiment_analysis_api_payload,
get_token
)
from tests.utilities.base_test import get_sentiment_analysis_api_payload, get_token


def test_sentiment_analysis_api_without_bearer_token(client):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
Test-suite
"""
from api.services.transformers import (
sentiment_analysis_pipeline_transformers

)
from api.services.transformers import sentiment_analysis_pipeline_transformers


def sentiment_analysis_pipeline_transformers():
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-data-analysis-api/tests/utilities/base_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Utils for Test Suite"""
import ast
import os
import time

import requests
import time
from dotenv import find_dotenv, load_dotenv
from flask import current_app

Expand Down

0 comments on commit ffd3218

Please sign in to comment.