Skip to content

Commit

Permalink
Set minimum Python version to 3.10, update dependencies
Browse files Browse the repository at this point in the history
This is requirement imposed on us by reader, which requires Python 3.10
since version 3.9. However, now that Python 3.12 has been released, it's
good idea to bump minimum Python version anyway.
  • Loading branch information
mirekdlugosz committed Nov 4, 2023
1 parent 2e0403d commit 60de5b2
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up default Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.10"
- name: Install build tools
run: python -m pip install poetry==${{ env.POETRY_VERSION}}
- name: Install poetry export plugin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up default Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.10"
- name: Install build tools
run: python -m pip install nox==${{ env.NOX_VERSION}} poetry==${{ env.POETRY_VERSION}}
- name: Actually lint
Expand All @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def lint(session):
)


@nox.session(python=["3.9", "3.10", "3.11"])
@nox.session(python=["3.10", "3.11", "3.12"])
@nox.parametrize("django_ver", ["3.2.23", "4.1.13", "4.2.7"])
def tests(session, django_ver):
session.run(
Expand Down

0 comments on commit 60de5b2

Please sign in to comment.