Add Django 4.0 support (#138)

* chore: bump min python version to 3.7

* test: update test matrix versions

* doc: update changelog

* test: use strings for versions

* test: use major.minor for django version
This commit is contained in:
Mike 2021-12-18 20:17:20 -08:00 committed by GitHub
parent ed7a808ee8
commit dac24f4df7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -7,11 +7,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
django-version:
- 'Django~=2.2.0'
- 'Django~=3.1.0'
- 'Django~=3.2.0'
python-version: ['3.7', '3.8', '3.9', '3.10']
django-version: ['2.2', '3.2', '4.0']
exclude:
- python-version: '3.10'
django-version: '2.2'
- python-version: '3.7'
django-version: '4.0'
steps:
- uses: actions/checkout@v2
@ -38,7 +40,7 @@ jobs:
run: |
poetry install
poetry run pip install -U pip
poetry run pip install -U "${{ matrix.django-version }}"
poetry run pip install -U "django==${{ matrix.django-version }}.*"
- name: Run tests
run: |

View file

@ -7,11 +7,14 @@ We follow [Semantic Versions](https://semver.org/) starting at the `0.14.0` rele
### Features
- Adds 64-bit support for `Value.value_int`
- Adds Django 4.0 and Python 3.10 support
### Bug Fixes
### Misc
- Drops support for Django 3.1 and Python 3.6
## 1.1.0 (2021-11-07)
### Features

View file

@ -55,7 +55,7 @@ classifiers = [
]
[tool.poetry.dependencies]
python = "^3.6.2"
python = "^3.7"
django-jsonfield-backport = "^1.0.4"
[tool.poetry.dev-dependencies]