Skip to content

Comments

Pin pytest-django to latest version 4.12.0#737

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-pin-pytest-django-4.12.0
Open

Pin pytest-django to latest version 4.12.0#737
pyup-bot wants to merge 1 commit intomasterfrom
pyup-pin-pytest-django-4.12.0

Conversation

@pyup-bot
Copy link
Collaborator

This PR pins pytest-django to the latest release 4.12.0.

Changelog

4.11.1

https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst#v4111-2025-04-03

4.11.0

https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst#v4110-2025-04-01

4.10.0

https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst#v4100-2025-02-10

4.9.0

https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst#v490-2024-09-02

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant