Skip to content

Commit

Permalink
Move Starrocks and HANA to testing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rad-pat committed Nov 12, 2024
1 parent 7798aa9 commit 3d6f02c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
20 changes: 16 additions & 4 deletions plaidcloud/rpc/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,22 @@
from sqlalchemy.dialects.mysql.base import MySQLDialect
from sqlalchemy.types import (TypeDecorator, DateTime, Unicode, CHAR, TEXT, NVARCHAR, VARCHAR,
UnicodeText, NUMERIC, TIMESTAMP, DATETIME, JSON)
from sqlalchemy_hana.dialect import HANAHDBCLIDialect
from sqlalchemy_greenplum.dialect import GreenplumDialect
from starrocks.dialect import StarRocksDialect
from databend_sqlalchemy.databend_dialect import DatabendDialect
try:
from sqlalchemy_hana.dialect import HANAHDBCLIDialect
except ImportError:
HANAHDBCLIDialect = None
try:
from sqlalchemy_greenplum.dialect import GreenplumDialect
except ImportError:
GreenplumDialect = None
try:
from starrocks.dialect import StarRocksDialect
except ImportError:
StarRocksDialect = None
try:
from databend_sqlalchemy.databend_dialect import DatabendDialect
except ImportError:
DatabendDialect = None

from plaidcloud.rpc import config

Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
bleach
comtypes;platform_system=="Windows"
databend-sqlalchemy
databend_sqlalchemy
messytables@git+https://github.com/PlaidCloud/messytables.git@master#egg=messytables
packaging
psycopg2-binary
pyjwt
pyyaml
PyJWT
PyYAML
requests
requests_futures
requests-futures
setuptools
orjson
sqlalchemy~=1.4
SQLAlchemy~=1.4
sqlalchemy-greenplum
sqlalchemy-hana
starrocks
#sqlalchemy-hana # moved to test dependencies
#starrocks # moved to test dependencies
toolz
unicodecsv
urllib3
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
'minimock',
'pytest-cov',
'pytest-runner',
'sqlalchemy-hana',
'starrocks',
]

extras = {
Expand Down

0 comments on commit 3d6f02c

Please sign in to comment.