Skip to content

Commit

Permalink
add django 5 to test matrix, drop unsupported versions (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar authored May 15, 2024
1 parent 02d3992 commit 1756a62
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 23 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
django-version: [3.2, "4.1", "4.2"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
django-version: ["4.2", "5.0"]
exclude:
- django-version: "5.0"
python-version: "3.8"
- django-version: "5.0"
python-version: "3.9"

services:
postgresql:
Expand All @@ -64,7 +69,7 @@ jobs:
- name: install poetry
run: |
pip install pipx && pipx install poetry~=1.6
pip install pipx && pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build:
python: "3.11"
jobs:
post_install:
- pip install poetry~=1.6
- pip install poetry
- poetry config virtualenvs.create false
- poetry install --with=docs

Expand Down
41 changes: 23 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ packages = [{ include = "heroku_connect" }]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
django = ">=3.2,<4.3"
django = ">=4.2,<5.1"
django-appconf = "~1"
requests = "~2"

Expand Down

0 comments on commit 1756a62

Please sign in to comment.