Skip to content

Commit

Permalink
Merge pull request #468 from UW-GAC/maint/python-3.12
Browse files Browse the repository at this point in the history
Test using python 3.12 instead of python 3.11
  • Loading branch information
amstilp authored Mar 8, 2024
2 parents e23096e + 6ef55ea commit e9649c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]
python-version: ["3.8", "3.12"]
django-version: ["3.2", "4.2"]
backend: ["sqlite", "mysql"]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install hatch
run: python -m pip install --upgrade hatch
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ dependencies = [
]
[tool.hatch.envs.default.scripts]
dj = "python manage.py {args}"
tests = "hatch run test-sqlite.py3.11-4.2:test {args}"
tests = "hatch run test-sqlite.py3.12-4.2:test {args}"
all = [
"hatch run lint:run",
"rm -f .coverage.*",
Expand Down Expand Up @@ -168,7 +168,7 @@ template = "testing"
DBBACKEND = "sqlite3"
DBNAME = ":memory:"
[[tool.hatch.envs.test-sqlite.matrix]]
python = ["3.8", "3.11"]
python = ["3.8", "3.12"]
django = ["3.2", "4.2"]
[tool.hatch.envs.test-sqlite.overrides]
matrix.django.extra-dependencies = [
Expand All @@ -184,7 +184,7 @@ extra-dependencies = [
[tool.hatch.envs.test-mysql.env-vars]
DBBACKEND = "mysql"
[[tool.hatch.envs.test-mysql.matrix]]
python = ["3.8", "3.11"]
python = ["3.8", "3.12"]
django = ["3.2", "4.2"]
[tool.hatch.envs.test-mysql.overrides]
matrix.django.extra-dependencies = [
Expand Down Expand Up @@ -213,7 +213,7 @@ html = ["coverage html"]

[tool.hatch.envs.lint]
detached = true
python = "3.11"
python = "3.12"
dependencies = [
"pre-commit"
]
Expand Down

0 comments on commit e9649c7

Please sign in to comment.