File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 sudo apt-get install -y python3-dev
3535 pip install boto3
3636 pip install tenacity
37- pip install "sqlalchemy>=1.0.0,<2.0.0"
3837 pip install pyparsing
3938 pip install sqlean.py
4039 - name : black
@@ -50,12 +49,22 @@ jobs:
5049 curl -O https://s3.us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz
5150 tar xzf ./dynamodb_local_latest.tar.gz
5251 nohup java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb &
53- - name : Run test with pytest
52+ - name : Install sqlalchemy 1.x
53+ run : |
54+ pip install "sqlalchemy>=1.0.0,<2.0.0"
55+ - name : Run test with pytest for sqlalchemy 1.x
5456 run : |
5557 pip install pytest
5658 pip install pytest-cov
5759 pip install moto[sts]==4.2.0
5860 pytest --cov=pydynamodb --cov-report=xml tests/
61+ - name : Install sqlalchemy 2.x
62+ run : |
63+ pip uninstall -y sqlalchemy
64+ pip install "sqlalchemy>=2.0.0"
65+ - name : Run test with pytest for sqlalchemy 2.x
66+ run : |
67+ pytest --cov=pydynamodb --cov-report=xml tests/
5968 - name : Upload test coverage
6069 uses : codecov/codecov-action@v4
6170 env :
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ Dependencies
8585
8686* SQLAlchemy (The ORM Toolkit for Python, only required if using PyDynamoDB Dialect)
8787
88- - SQLAlchemy >= 1.0.0, < 2.0.0
88+ - SQLAlchemy >= 1.0.0
8989
9090* Pyparsing (The approach to creating and executing simple grammars)
9191
Original file line number Diff line number Diff line change 66if TYPE_CHECKING :
77 from .connection import Connection
88
9- __version__ : str = "0.6.3 "
9+ __version__ : str = "0.7.0 "
1010
1111# Globals https://www.python.org/dev/peps/pep-0249/#globals
1212apilevel : str = "2.0"
You can’t perform that action at this time.
0 commit comments