Hello community,
here is the log from the commit of package python-pytest-django for
openSUSE:Factory checked in at 2020-11-02 09:38:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-django.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-django"
Mon Nov 2 09:38:59 2020 rev:14 rq:844823 version:4.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes
2020-09-04 11:04:51.722808189 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-django.new.3463/python-pytest-django.changes
2020-11-02 09:39:18.105547076 +0100
@@ -1,0 +2,24 @@
+Wed Oct 28 23:58:45 UTC 2020 - John Vandenberg <[email protected]>
+
+- Disable Python 2
+- Drop no longer needed patches:
+ * ignore-warnings.patch
+ * pytest-django-pytest6.patch
+- Update to v4.1.0
+ * Add the async_client and async_rf fixtures
+ * Add django_debug_mode to configure how DEBUG is set in tests
+ * Make admin_user work for custom user models without an email
+ field.
+- from v4.0.0
+ * Drop support for Python versions before 3.5
+ * Drop support for Django versions before 2.2
+ * Drop support for pytest versions before 5.4
+ * Officialy support Python 3.9.
+ * Add pytest_django.__version__
+ * Make the admin_user and admin_client fixtures compatible with
+ custom user models which don’t have a username field
+ * Change the admin_user fixture to use get_by_natural_key()
+ to get the user instead of directly using USERNAME_FIELD,
+ in case it is overridden, and to match Django
+
+-------------------------------------------------------------------
Old:
----
ignore-warnings.patch
pytest-django-3.9.0.tar.gz
pytest-django-pytest6.patch
New:
----
pytest-django-4.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-django.spec ++++++
--- /var/tmp/diff_new_pack.4NV5In/_old 2020-11-02 09:39:19.185548112 +0100
+++ /var/tmp/diff_new_pack.4NV5In/_new 2020-11-02 09:39:19.185548112 +0100
@@ -17,20 +17,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
+%define skip_python2 1
Name: python-pytest-django
-Version: 3.9.0
+Version: 4.1.0
Release: 0
Summary: A Django plugin for py.test
License: BSD-3-Clause
URL: https://github.com/pytest-dev/pytest-django
Source:
https://files.pythonhosted.org/packages/source/p/pytest-django/pytest-django-%{version}.tar.gz
-# fix tests
-Patch0: ignore-warnings.patch
-# PATCH-FIX-UPSTREAM fix test failure with pytest 6, is part of
https://github.com/pytest-dev/pytest-django/pull/855
-Patch1:
https://github.com/pytest-dev/pytest-django/commit/3f03d0a7890e987086042b42db346e47398ffed3.patch#/pytest-django-pytest6.patch
BuildRequires: %{python_module Django}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest > 5.4.0}
+BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module setuptools_scm >= 1.11.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
@@ -38,14 +35,8 @@
BuildRequires: python-rpm-macros
BuildRequires: sqlite3
Requires: python-Django
-Requires: python-pytest
+Requires: python-pytest > 5.4.0
BuildArch: noarch
-%if %{with python2}
-BuildRequires: python2-pathlib2
-%endif
-%ifpython2
-Requires: python-pathlib2
-%endif
%python_subpackages
%description
@@ -65,8 +56,6 @@
%prep
%setup -q -n pytest-django-%{version}
-%patch0 -p1
-%patch1 -p1
%build
%python_build
++++++ pytest-django-3.9.0.tar.gz -> pytest-django-4.1.0.tar.gz ++++++
++++ 3493 lines of diff (skipped)