Accepting request 942815 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/942815 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=15
This commit is contained in:
commit
2755ee62e4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:26f02c16d36fd4c8672390deebe3413678d89f30720c16efb8b2a6bf63b9041f
|
||||
size 72780
|
BIN
pytest-django-4.5.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-django-4.5.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,61 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 27 15:43:56 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
<test-case-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()
|
||||
<django.db.transaction.on_commit>` callbacks in tests.
|
||||
- Release v4.3.0
|
||||
* Improvements
|
||||
* Add experimental :ref:`multiple databases <multi-db>` (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 <jayvdb@gmail.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user