Hello community,
here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2019-07-03 15:14:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-django.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-django"
Wed Jul 3 15:14:56 2019 rev:6 rq:713051 version:3.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2019-06-17 21:35:17.514997845 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.4615/python-pytest-django.changes 2019-07-03 15:14:57.382958620 +0200
@@ -1,0 +2,6 @@
+Tue Jul 2 12:10:47 UTC 2019 - Tomáš Chvátal
+
+- Update to 3.5.1:
+ * Fix compatibility with pytest 5.x (#751)
+
+-------------------------------------------------------------------
Old:
----
pytest-django-3.5.0.tar.gz
New:
----
pytest-django-3.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-django.spec ++++++
--- /var/tmp/diff_new_pack.o8z1SH/_old 2019-07-03 15:14:58.910961729 +0200
+++ /var/tmp/diff_new_pack.o8z1SH/_new 2019-07-03 15:14:58.942961794 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-django
-Version: 3.5.0
+Version: 3.5.1
Release: 0
Summary: A Django plugin for py.test
License: BSD-3-Clause
@@ -29,9 +29,8 @@
BuildRequires: %{python_module pytest >= 3.6}
BuildRequires: %{python_module setuptools_scm >= 1.11.1}
BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-# Used for tests
BuildRequires: %{python_module six}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-pathlib2
BuildRequires: sqlite3
++++++ pytest-django-3.5.0.tar.gz -> pytest-django-3.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.0/PKG-INFO new/pytest-django-3.5.1/PKG-INFO
--- old/pytest-django-3.5.0/PKG-INFO 2019-06-03 16:24:46.000000000 +0200
+++ new/pytest-django-3.5.1/PKG-INFO 2019-06-29 18:28:42.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-django
-Version: 3.5.0
+Version: 3.5.1
Summary: A Django plugin for pytest.
Home-page: https://pytest-django.readthedocs.io/
Author: Andreas Pelme
@@ -95,5 +95,5 @@
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
-Provides-Extra: testing
Provides-Extra: docs
+Provides-Extra: testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.0/docs/changelog.rst new/pytest-django-3.5.1/docs/changelog.rst
--- old/pytest-django-3.5.0/docs/changelog.rst 2019-06-03 16:24:31.000000000 +0200
+++ new/pytest-django-3.5.1/docs/changelog.rst 2019-06-29 18:28:26.000000000 +0200
@@ -1,6 +1,40 @@
Changelog
=========
+3.5.1 (2019-06-29)
+------------------
+
+Bugfixes
+^^^^^^^^
+
+* Fix compatibility with pytest 5.x (#751)
+
+3.5.0 (2019-06-03)
+------------------
+
+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.8 (2019-02-26)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.0/pytest_django/fixtures.py new/pytest-django-3.5.1/pytest_django/fixtures.py
--- old/pytest-django-3.5.0/pytest_django/fixtures.py 2019-06-03 16:24:31.000000000 +0200
+++ new/pytest-django-3.5.1/pytest_django/fixtures.py 2019-06-29 18:28:26.000000000 +0200
@@ -129,7 +129,7 @@
if is_django_unittest(request):
return
- if not transactional and "live_server" in request.funcargnames:
+ if not transactional and "live_server" in request.fixturenames:
# Do nothing, we get called with transactional=True, too.
return
@@ -187,11 +187,11 @@
over each other in the following order (the last one wins): ``db``,
``transactional_db``, ``django_db_reset_sequences``.
"""
- if "django_db_reset_sequences" in request.funcargnames:
+ if "django_db_reset_sequences" in request.fixturenames:
request.getfixturevalue("django_db_reset_sequences")
if (
- "transactional_db" in request.funcargnames
- or "live_server" in request.funcargnames
+ "transactional_db" in request.fixturenames
+ or "live_server" in request.fixturenames
):
request.getfixturevalue("transactional_db")
else:
@@ -212,7 +212,7 @@
over each other in the following order (the last one wins): ``db``,
``transactional_db``, ``django_db_reset_sequences``.
"""
- if "django_db_reset_sequences" in request.funcargnames:
+ if "django_db_reset_sequences" in request.fixturenames:
request.getfixturevalue("django_db_reset_sequences")
_django_db_fixture_helper(request, django_db_blocker, transactional=True)
@@ -410,7 +410,7 @@
It will also override settings only for the duration of the test.
"""
- if "live_server" not in request.funcargnames:
+ if "live_server" not in request.fixturenames:
return
request.getfixturevalue("transactional_db")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.0/pytest_django/plugin.py new/pytest-django-3.5.1/pytest_django/plugin.py
--- old/pytest-django-3.5.0/pytest_django/plugin.py 2019-06-03 16:24:31.000000000 +0200
+++ new/pytest-django-3.5.1/pytest_django/plugin.py 2019-06-29 18:28:26.000000000 +0200
@@ -435,7 +435,7 @@
else:
transaction = None
- fixtures = getattr(test, 'funcargnames', [])
+ fixtures = getattr(test, 'fixturenames', [])
if "transactional_db" in fixtures:
return 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.0/pytest_django.egg-info/PKG-INFO new/pytest-django-3.5.1/pytest_django.egg-info/PKG-INFO
--- old/pytest-django-3.5.0/pytest_django.egg-info/PKG-INFO 2019-06-03 16:24:46.000000000 +0200
+++ new/pytest-django-3.5.1/pytest_django.egg-info/PKG-INFO 2019-06-29 18:28:42.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-django
-Version: 3.5.0
+Version: 3.5.1
Summary: A Django plugin for pytest.
Home-page: https://pytest-django.readthedocs.io/
Author: Andreas Pelme
@@ -95,5 +95,5 @@
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
-Provides-Extra: testing
Provides-Extra: docs
+Provides-Extra: testing