diff --git a/pytest-django-4.1.0.tar.gz b/pytest-django-4.1.0.tar.gz deleted file mode 100644 index 131cee2..0000000 --- a/pytest-django-4.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26f02c16d36fd4c8672390deebe3413678d89f30720c16efb8b2a6bf63b9041f -size 72780 diff --git a/pytest-django-4.5.2.tar.gz b/pytest-django-4.5.2.tar.gz new file mode 100644 index 0000000..9bc512a --- /dev/null +++ b/pytest-django-4.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9076f759bb7c36939dbdd5ae6633c18edfc2902d1a69fdbefd2426b970ce6c2 +size 79949 diff --git a/python-pytest-django.changes b/python-pytest-django.changes index 71176ae..d33df16 100644 --- a/python-pytest-django.changes +++ b/python-pytest-django.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Mon Dec 27 15:43:56 UTC 2021 - Ben Greiner + +- Update to 4.5.2 + * Bugfixes + * Fix regression in v4.5.0 - + pytest.mark.django_db(reset_sequence=True) now implies + transaction=True again. +- Release v4.5.1 + * 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. +- Release v4.5.0 + * Improvements + * Add support for :ref:`rollback emulation/serialized rollback + `. The + :func:`pytest.mark.django_db` marker has a new + serialized_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 affect setUpTestData in + unittest tests (test classes which inherit from Django's + TestCase). + * Bugfixes + * Fix :fixture:`live_server` when using an in-memory SQLite + database. + * Fix typing of assertTemplateUsed and assertTemplateNotUsed. +- Release v4.4.0 + * Improvements + * Add a fixture :fixture:`django_capture_on_commit_callbacks` to + capture :func:`transaction.on_commit() + ` callbacks in tests. +- Release v4.3.0 + * Improvements + * Add experimental :ref:`multiple databases ` (multi + db) support. + * Add type annotations. If you previously excluded pytest_django + from your type-checker, you can remove the exclusion. + * Documentation improvements. +- Release v4.2.0 + * Improvements + * Official Django 3.2 support. + * Documentation improvements. + * Bugfixes + * Disable atomic durability check on non-transactional tests + (#910). +- Skip python36: no python36-Django 4 in TW + ------------------------------------------------------------------- Wed Oct 28 23:58:45 UTC 2020 - John Vandenberg diff --git a/python-pytest-django.spec b/python-pytest-django.spec index 26fa03c..a503bfb 100644 --- a/python-pytest-django.spec +++ b/python-pytest-django.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-django # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 Name: python-pytest-django -Version: 4.1.0 +Version: 4.5.2 Release: 0 Summary: A Django plugin for py.test License: BSD-3-Clause @@ -28,7 +29,7 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-django/p BuildRequires: %{python_module Django} BuildRequires: %{python_module pytest > 5.4.0} BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module setuptools_scm >= 1.11.1} +BuildRequires: %{python_module setuptools_scm >= 5.0.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -73,6 +74,7 @@ export PYTHONPATH=$(pwd) %files %{python_files} %license LICENSE %doc AUTHORS README.rst docs/*.rst -%{python_sitelib}/* +%{python_sitelib}/pytest_django +%{python_sitelib}/pytest_django-%{version}*-info %changelog