diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c46ef00..725956e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,7 +49,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.11 - name: Remove version file # This is just in case something else created it, destroy it to get a fresh version run: rm -f dysql/version.py diff --git a/dysql/test_managers.py b/dysql/test_managers.py index eb71b10..9c774b4 100644 --- a/dysql/test_managers.py +++ b/dysql/test_managers.py @@ -206,20 +206,20 @@ def __init__( def _create_test_db(self) -> None: self._run( - f'mysql -p{self.password} -h{self.host} -N -e "DROP DATABASE IF EXISTS {self.db_name}"' + f'mariadb -p{self.password} -h{self.host} -N -e "DROP DATABASE IF EXISTS {self.db_name}"' ) self._run( - f'mysql -p{self.password} -h{self.host} -s -N -e "CREATE DATABASE IF NOT EXISTS {self.db_name}"' + f'mariadb -p{self.password} -h{self.host} -s -N -e "CREATE DATABASE IF NOT EXISTS {self.db_name}"' ) if self.schema_db_name: self._run( f"mysqldump --no-data -p{self.password} {self.schema_db_name} -h{self.host} " - f"| mysql -p{self.password} {self.db_name} -h{self.host}" + f"| mariadb -p{self.password} {self.db_name} -h{self.host}" ) def _tear_down_test_db(self) -> None: self._run( - f'echo "DROP DATABASE IF EXISTS {self.db_name} " | mysql -p{self.password} -h{self.host}' + f'echo "DROP DATABASE IF EXISTS {self.db_name} " | mariadb -p{self.password} -h{self.host}' ) @sqlquery(mapper=CountMapper()) diff --git a/requirements.txt b/requirements.txt index e3a4fc3..a4b6e4d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ # Used in development, and as an extra pydantic>2 +typing_extensions==4.9.0