From 3e5778fecb04dc6cdcf7b362c068cb1432566493 Mon Sep 17 00:00:00 2001 From: Ben Boger Date: Mon, 16 Jun 2025 13:36:39 -0600 Subject: [PATCH 1/3] fixing mariadb command for newer versions of mariadb --- dysql/test_managers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()) From dca3848c165a126024b4666268c7fc422e6fa9ff Mon Sep 17 00:00:00 2001 From: Ben Boger Date: Mon, 16 Jun 2025 15:35:12 -0600 Subject: [PATCH 2/3] adding extensions for github actions --- requirements.txt | 1 + 1 file changed, 1 insertion(+) 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 From 7ea7fcdcd095095c55f4753d204e57a406abc51c Mon Sep 17 00:00:00 2001 From: Ben Boger Date: Mon, 16 Jun 2025 15:47:38 -0600 Subject: [PATCH 3/3] updating the python upload version --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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