Skip to content

Commit

Permalink
Update for Django 4.1, 4.2 (#87)
Browse files Browse the repository at this point in the history
Update for Django 4.1, 4.2
  • Loading branch information
amorilla authored May 13, 2023
1 parent eb97e44 commit f0b7839
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 9 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,40 @@ on:
jobs:
test:
name: "Python ${{ matrix.python }} Django ${{ matrix.django }}"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
# max-parallel: 8 # default is max available
fail-fast: false
matrix:
include:
# Django 2.2
- django: "2.2"
python: "3.6.14"
python: "3.6"
# Django 3.1
- django: "3.1"
python: "3.6.14"
python: "3.6"
# Django 3.2
- django: "3.2"
python: "3.6.14"
python: "3.6"
# Django 4.0
- django: "4.0b1"
- django: "4.0"
python: "3.10"
# Django 4.1
- django: "4.1"
python: "3.10"
# Django 4.2
- django: "4.2"
python: "3.10"

steps:
- name: Install gettext
run: sudo apt-get install -y gettext

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}

Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

Changes in 3.1 (2023-05-12)
---------------------------

* Fixed compatibility for Django 4.1, 4.2


Version 3.0 (2021-11-16)
------------------------

Expand Down
2 changes: 1 addition & 1 deletion private_storage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# following PEP 440
__version__ = "3.0"
__version__ = "3.1"
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist=
py38-django{22,31,32},
py38-django{22,31,32,41,42},
py38-django-dev,
coverage,

Expand All @@ -16,6 +16,8 @@ deps =
django30: Django~=3.0
django31: Django~=3.1
django32: Django~=3.2
django41: Django~=4.1
django42: Django~=4.2
django-dev: https://github.com/django/django/tarball/main
commands=
python runtests.py
Expand Down

0 comments on commit f0b7839

Please sign in to comment.