-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2026-10dd729628 2026-03-14 00:15:28.464547+00:00 --------------------------------------------------------------------------------
Name : python-pytest-django Product : Fedora 44 Version : 4.12.0 Release : 1.fc44 URL : https://pytest-django.readthedocs.io/ Summary : A Django plugin for pytest Description : pytest-django allows you to test your Django project/applications with the pytest testing tool. -------------------------------------------------------------------------------- Update Information: v4.12.0 (2026-02-14) Compatibility Official Python 3.14 support. Dropped support for Python 3.9, minimum version is now Python 3.10. Official Django 6.0 support. Improvements The multiple databases <multi-db>{.interpreted-text role="ref"} support added in v4.3.0 is no longer considered experimental. Added @pytest.mark.django_isolate_apps <pytest.mark.django_isolate_apps>{.interpreted-text role="func"} for isolating Django\'s app registry in pytest tests, and a django_isolated_apps{.interpreted-text role="fixture"} fixture to access the isolated Apps registry instance if needed. v4.11.1 (2025-04-03) Bugfixes Fixed a regression in v4.11.0 for Django TestCase tests using the databases class variable (#1188). v4.11.0 (2025-04-01) Compatibility Added official support for Django 5.2 (PR #1179). Dropped testing on MySQL's MyISAM storage engine (PR #1180). Bugfixes Stopped setting up and serializing databases on test session setup when not needed (the database is not requested / serialized_rollback is not used). On test databases with large amounts of pre-seeded data, this may remove a delay of a few seconds when running pytest --reuse-db. The determination of which databases to setup is done by static inspection of the test suite. Using pytest\'s dynamic features to request db access, such as request.getfixturevalue("db") <pytest.FixtureRequest.getfixturevalue>{.interpreted-text role="meth"}, may throw off this analysis. If you start seeing DatabaseOperationForbidden or \"unable to open database\" errors, this is likely the cause. To fix this, decorate at least one test with the django_db <pytest.mark.django_db>{.interpreted-text role="func"} marker with appropriate databases and serialized_rollback settings. v4.10.0 (2025-02-10) Compatibility Added official support for Python 3.13. Improvements Added using argument to django_assert_num_queries{.interpreted-text role="fixture"} and django_assert_max_num_queries{.interpreted-text role="fixture"} to easily specify the database alias to use. Bugfixes Fixed lock/unlock of db breaks if pytest is executed twice in the same process. -------------------------------------------------------------------------------- ChangeLog: * Thu Mar 5 2026 Michel Lind <[email protected]> - 4.12.0-1 - Update to 4.12.0 upstream release - Resolves: rhbz#2344661 - Enable Packit - License audit: fix the old Callaway license to BSD-3-Clause -------------------------------------------------------------------------------- References: [ 1 ] Bug #2344661 - python-pytest-django-4.12.0 is available https://bugzilla.redhat.com/show_bug.cgi?id=2344661 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2026-10dd729628' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ package-announce mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
