From 7a48fbf15dfb33dd644be0a9f668f689ee49c4df Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Mon, 1 Jul 2024 08:49:22 -0700 Subject: [PATCH 1/2] Add python3.10 to hatch tests --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5a009314..31fa9153 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,7 +169,7 @@ template = "testing" DBBACKEND = "sqlite3" DBNAME = ":memory:" [[tool.hatch.envs.test-sqlite.matrix]] -python = ["3.8", "3.12"] +python = ["3.8", "3.10", "3.12"] django = ["4.2", "5.0"] [tool.hatch.envs.test-sqlite.overrides] matrix.django.extra-dependencies = [ @@ -185,7 +185,7 @@ extra-dependencies = [ [tool.hatch.envs.test-mysql.env-vars] DBBACKEND = "mysql" [[tool.hatch.envs.test-mysql.matrix]] -python = ["3.8", "3.12"] +python = ["3.8", "3.10", "3.12"] django = ["4.2", "5.0"] [tool.hatch.envs.test-mysql.overrides] matrix.django.extra-dependencies = [ From 7ec3b4fe92c7f35c3b83252007684b0e49488416 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Mon, 1 Jul 2024 08:50:27 -0700 Subject: [PATCH 2/2] Update CI for Ubuntu 22.04 defaults Python 3.10 and MariaDB 10.6 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f5e76cf..4b7759ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,11 +27,11 @@ jobs: backend: ["sqlite", "mysql"] mariadb-version: ["10.4"] # What we're currently running with. include: - - python-version: "3.12" # Possible future update. + - python-version: "3.10" # Ubuntu 22.04 upgrade. django-version: "4.2" backend: "mysql" - mariadb-version: "10.5" - - python-version: "3.12" # Possible future update. + mariadb-version: "10.6" + - python-version: "3.12" # Unbuntu 24.04.01 upgrade. django-version: "4.2" backend: "mysql" mariadb-version: "10.11"