Bump pytest-django from 3.9.0 to 4.5.2
Bumps pytest-django from 3.9.0 to 4.5.2.
Release notes
Sourced from pytest-django's releases.
4.5.2
https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-5-2-2021-12-07
4.5.1
https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-5-1-2021-12-02
4.5.0
https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-5-0-2021-12-01
4.3.0
https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-3-0-2021-05-15
4.1.0
https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-1-0-2020-10-22
4.0.0
https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-0-0-2020-10-16
Changelog
Sourced from pytest-django's changelog.
v4.5.2 (2021-12-07)
Bugfixes ^^^^^^^^
- Fix regression in v4.5.0 -
pytest.mark.django_db(reset_sequence=True)now impliestransaction=Trueagain.v4.5.1 (2021-12-02)
Bugfixes ^^^^^^^^
- Fix regression in v4.5.0 - database tests inside (non-unittest) classes were not ordered correctly to run before non-database tests, same for transactional tests before non-transactional tests.
v4.5.0 (2021-12-01)
Improvements ^^^^^^^^^^^^
Add support for :ref:
rollback emulation/serialized rollback <test-case-serialized-rollback>. The :func:pytest.mark.django_dbmarker has a newserialized_rollbackoption, and a :fixture:django_db_serialized_rollbackfixture is added.Official Python 3.10 support.
Official Django 4.0 support (tested against 4.0rc1 at the time of release).
Drop official Django 3.0 support. Django 2.2 is still supported, and 3.0 will likely keep working until 2.2 is dropped, but it's not tested.
Added pyproject.toml file.
Skip Django's
setUpTestDatamechanism in pytest-django tests. It is not used for those, and interferes with some planned features. Note that this does not affectsetUpTestDatain unittest tests (test classes which inherit from Django'sTestCase).Bugfixes ^^^^^^^^
- Fix :fixture:
live_serverwhen using an in-memory SQLite database.
... (truncated)
Commits
27d6560Release 4.5.23bc9065Makepytest.mark.django_db(reset_sequences=True)implytransaction=Truea...b97a8b1tox: test django 4.0 finalb3b679fci: remove unused dep0661d34ci: some tweaks19f277bci: don't require tests before deploy8b78acaRelease 4.5.1c48b99eFix string quote style54f4626Fix transactional tests in classes not sorted correctly after regular testsa920a7fRelease 4.5.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)