Skip to content

Commit 603c7e3

Browse files
authored
Merge branch 'master' into m2m-support
2 parents 8e28545 + 529dbe2 commit 603c7e3

File tree

15 files changed

+29
-24
lines changed

15 files changed

+29
-24
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
python-version: ['3.7', '3.8', '3.9', '3.10']
15-
django-version: ['3.2', '4.0', 'main']
15+
django-version: ['3.2', '4.0', '4.1', 'main']
1616

1717
exclude:
1818
- python-version: '3.7'
1919
django-version: '4.0'
20+
- python-version: '3.7'
21+
django-version: '4.1'
2022
- python-version: '3.7'
2123
django-version: 'main'
22-
- python-version: '3.10'
23-
django-version: '3.1'
2424

2525
services:
2626

.pre-commit-config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ repos:
88
- "-x *test*.py"
99

1010
- repo: https://github.com/psf/black
11-
rev: 22.3.0
11+
rev: 22.6.0
1212
hooks:
1313
- id: black
1414
language_version: python3.8
1515

1616
- repo: https://github.com/pycqa/flake8
17-
rev: 4.0.1
17+
rev: 5.0.4
1818
hooks:
1919
- id: flake8
2020
args:
@@ -26,7 +26,7 @@ repos:
2626
- id: isort
2727

2828
- repo: https://github.com/pre-commit/pre-commit-hooks
29-
rev: v4.2.0
29+
rev: v4.3.0
3030
hooks:
3131
- id: requirements-txt-fixer
3232
files: requirements/.*\.txt$
@@ -40,8 +40,14 @@ repos:
4040
- id: detect-private-key
4141

4242
- repo: https://github.com/adrienverge/yamllint
43-
rev: v1.26.3
43+
rev: v1.27.1
4444
hooks:
4545
- id: yamllint
4646
args:
4747
- "--strict"
48+
49+
- repo: https://github.com/asottile/pyupgrade
50+
rev: v2.37.3
51+
hooks:
52+
- id: pyupgrade
53+
args: [--py37-plus]

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Authors
1818
- Amartis Gladius (`Amartis <https://github.com/amartis>`_)
1919
- Ben Lawson (`blawson <https://github.com/blawson>`_)
2020
- Benjamin Mampaey (`bmampaey <https://github.com/bmampaey>`_)
21+
- Bheesham Persaud (`bheesham <https://github.com/bheesham>`_)
2122
- `bradford281 <https://github.com/bradford281>`_
2223
- Brian Armstrong (`barm <https://github.com/barm>`_)
2324
- Brian Dixon

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Unreleased
88
- Removed n+1 query from ``bulk_create_with_history`` utility (gh-975)
99
- Started using ``exists`` query instead of ``count`` in ``populate_history`` command (gh-982)
1010
- Add basic support for many-to-many fields (gh-399)
11+
- Added support for Django 4.1 (gh-1021)
1112

1213
3.1.1 (2022-04-23)
1314
------------------

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ This app supports the following combinations of Django and Python:
4343
========== ========================
4444
3.2 3.7, 3.8, 3.9, 3.10
4545
4.0 3.8, 3.9, 3.10
46+
4.1 3.8, 3.9, 3.10
4647
========== ========================
4748

4849
Getting Help

docs/common_issues.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ Using custom OneToOneFields
262262
If you are using a custom OneToOneField that has additional arguments and receiving
263263
the the following ``TypeError``::
264264

265-
.. code=block:: python
266-
267265
TypeError: __init__() got an unexpected keyword argument
268266

269267
This is because Django Simple History coerces ``OneToOneField`` into ``ForeignKey``

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ This app supports the following combinations of Django and Python:
4343
========== =======================
4444
3.2 3.7, 3.8, 3.9
4545
4.0 3.8, 3.9, 3.10
46+
4.1 3.8, 3.9, 3.10
4647
========== =======================
4748

4849
Contribute

requirements/coverage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
coverage==6.4.1
1+
coverage==6.4.4
22
toml==0.10.2

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sphinx==5.0.1
1+
Sphinx==5.1.1

requirements/lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
black==22.3.0
2-
flake8==4.0.1
1+
black==22.6.0
2+
flake8==5.0.4
33
isort==5.10.1

0 commit comments

Comments
 (0)