betterself icon indicating copy to clipboard operation
betterself copied to clipboard

Update pytest-django to 4.8.0

Open pyup-bot opened this issue 5 months ago • 0 comments

This PR updates pytest-django from 3.1.2 to 4.8.0.

Changelog

4.8.0

https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-8-0-2024-01-30

4.7.0

https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-7-0-2023-11-08

4.6.0

https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-6-0-2023-10-30

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

3.8.0

https://pytest-django.readthedocs.io/en/latest/changelog.html#v3-8-0-2020-01-14

3.5.0

Features
^^^^^^^^

* Run tests in the same order as Django (223)

* Use verbosity=0 with disabled migrations (729, 730)

Bugfixes
^^^^^^^^

* django_db_setup: warn instead of crash with teardown errors (726)

Misc
^^^^
* tests: fix test_sqlite_database_renamed (739, 741)

* tests/conftest.py: move import of db_helpers (737)

* Cleanup/improve coverage, mainly with tests (706)

* Slightly revisit unittest handling (740)

3.4.4

------------------

Bugfixes
^^^^^^^^

* Refine the django.conf module check to see if the settings really are
configured (668).
* Avoid crash after OSError during Django path detection (664).

Features
^^^^^^^^

* Add parameter info to fixture assert_num_queries to display additional message on failure (663).

Docs
^^^^

* Improve doc for django_assert_num_queries/django_assert_max_num_queries.
* Add warning about sqlite specific snippet + fix typos (666).

Misc
^^^^

* MANIFEST.in: include tests for downstream distros (653).
* Ensure that the LICENSE file is included in wheels (665).
* Run black on source.

3.4.2

------------------

Bugfixes
^^^^^^^^

* Changed dependency for pathlib to pathlib2 (636).
* Fixed code for inserting the project to sys.path with pathlib to use an
absolute path, regression in 3.4.0 (637, 638).

3.4.0

------------------

Features
^^^^^^^^

* Added new fixture :fixture:`django_assert_max_num_queries` (547).
* Added support for ``connection`` and returning the wrapped context manager
with :fixture:`django_assert_num_queries` (547).
* Added support for resetting sequences via
:fixture:`django_db_reset_sequences` (619).

Bugfixes
^^^^^^^^

* Made sure to not call django.setup() multiple times (629, 531).

Compatibility
^^^^^^^^^^^^^

* Removed py dependency, use pathlib instead (631).

3.3.1

------------------

Bug fixes
^^^^^^^^^

* Fixed test for classmethod with Django TestCases again (618,
introduced in 598 (3.3.0)).

Compatibility
^^^^^^^^^^^^^

* Support Django 2.1 (no changes necessary) (614).

3.3.0

Features
^^^^^^^^

* Added new fixtures ``django_mail_dnsname`` and ``django_mail_patch_dns``,
used by ``mailoutbox`` to monkeypatch the ``DNS_NAME`` used in
:py:mod:`django.core.mail` to improve performance and
reproducibility.

Bug fixes
^^^^^^^^^

* Fixed test for classmethod with Django TestCases (597, 598).
* Fixed RemovedInPytest4Warning: MarkInfo objects are deprecated (596, 603)
* Fixed scope of overridden settings with live_server fixture: previously they
were visible to following tests (612).

3.2.0

-----

Features
^^^^^^^^

* Added new fixture `django_assert_num_queries` for testing the number of
database queries (387).
* `--fail-on-template-vars` has been improved and should now return
full/absolute path (470).
* Support for setting the live server port (500).
* unittest: help with setUpClass not being a classmethod (544).

Bug fixes
^^^^^^^^^

* Fix --reuse-db and --create-db not working together (411).
* Numerous fixes in the documentation. These should not go unnoticed 🌟

Compatibility
^^^^^^^^^^^^^

* Support for Django 2.0 has been added.
* Support for Django before 1.8 has been dropped.
Links
  • PyPI: https://pypi.org/project/pytest-django
  • Changelog: https://data.safetycli.com/changelogs/pytest-django/

pyup-bot avatar Jan 30 '24 15:01 pyup-bot