django-drf-boilerplate
django-drf-boilerplate copied to clipboard
chore(deps): bump pytest-django from 4.2.0 to 4.5.2 in /{{ cookiecutter.project_slug }}/requirements
Bumps pytest-django from 4.2.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
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=True
again.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_db
marker has a newserialized_rollback
option, and a :fixture:django_db_serialized_rollback
fixture 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
setUpTestData
mechanism in pytest-django tests. It is not used for those, and interferes with some planned features. Note that this does not affectsetUpTestData
in unittest tests (test classes which inherit from Django'sTestCase
).Bugfixes ^^^^^^^^
- Fix :fixture:
live_server
when using an in-memory SQLite database.
... (truncated)
Commits
27d6560
Release 4.5.23bc9065
Makepytest.mark.django_db(reset_sequences=True)
implytransaction=True
a...b97a8b1
tox: test django 4.0 finalb3b679f
ci: remove unused dep0661d34
ci: some tweaks19f277b
ci: don't require tests before deploy8b78aca
Release 4.5.1c48b99e
Fix string quote style54f4626
Fix transactional tests in classes not sorted correctly after regular testsa920a7f
Release 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)