commit python-pytest-django for openSUSE:Factory
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 + +- 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)
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2020-09-04 11:03:46 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.3399 (New) Package is "python-pytest-django" Fri Sep 4 11:03:46 2020 rev:13 rq:831465 version:3.9.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2020-04-05 20:52:42.341134427 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.3399/python-pytest-django.changes 2020-09-04 11:04:51.722808189 +0200 @@ -1,0 +2,14 @@ +Wed Sep 2 13:19:37 UTC 2020 - Benjamin Greiner + +- Fix test failure with pytest 6 + * pytest-django-pytest6.patch + * The patched call signature looks weird, but it works as intended + * Patch is part of gh#pytest-dev/pytest-django#855 +- Replace deprecated py.test call with %pytest macro + +--- +Mon Aug 24 11:50:24 UTC 2020 - Marketa Calabkova + +- Fix build with ignore-warnings.patch + +--- New: ignore-warnings.patch pytest-django-pytest6.patch Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.k481zC/_old 2020-09-04 11:04:54.254809545 +0200 +++ /var/tmp/diff_new_pack.k481zC/_new 2020-09-04 11:04:54.258809548 +0200 @@ -25,6 +25,10 @@ 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 setuptools_scm >= 1.11.1} @@ -61,6 +65,8 @@ %prep %setup -q -n pytest-django-%{version} +%patch0 -p1 +%patch1 -p1 %build %python_build @@ -72,7 +78,8 @@ %check # memory operations failed in OBS not localy, thus skip them export DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite -%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} -v tests/ -k 'not (test_sqlite_in_memory_used or test_django_assert_num_queries_db or test_django_assert_max_num_queries_db)' +export PYTHONPATH=$(pwd) +%pytest -v tests/ -k 'not (test_sqlite_in_memory_used or test_django_assert_num_queries_db or test_django_assert_max_num_queries_db)' %files %{python_files} %license LICENSE ++ ignore-warnings.patch ++ Index: pytest-django-3.9.0/tests/test_fixtures.py === --- pytest-django-3.9.0.orig/tests/test_fixtures.py +++ pytest-django-3.9.0/tests/test_fixtures.py @@ -597,7 +597,7 @@ class Migration(migrations.Migration): ) result = django_testdir.runpytest_subprocess("-s") -result.stdout.fnmatch_lines(["* 1 passed in*"]) +result.stdout.fnmatch_lines(["* 1 passed*"]) assert result.ret == 0 ++ pytest-django-pytest6.patch ++ >From 3f03d0a7890e987086042b42db346e47398ffed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Sun, 2 Aug 2020 10:41:31 +0200 Subject: [PATCH] Fix compat with pytest 6 --- tests/test_manage_py_scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_manage_py_scan.py b/tests/test_manage_py_scan.py index 8a0f9aad..a11f87c2 100644 --- a/tests/test_manage_py_scan.py +++ b/tests/test_manage_py_scan.py @@ -116,7 +116,7 @@ def test_django_project_found_invalid_settings_version(django_testdir, monkeypat """Invalid DSM should not cause an error with --help or --version.""" monkeypatch.setenv("DJANGO_SETTINGS_MODULE", "DOES_NOT_EXIST") -result = django_testdir.runpytest_subprocess("django_project_root", "--version") +result = django_testdir.runpytest_subprocess("django_project_root", "--version", "--version") assert result.ret == 0 result.stderr.fnmatch_lines(["*This is pytest version*"])
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2020-04-05 20:52:42 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.3248 (New) Package is "python-pytest-django" Sun Apr 5 20:52:42 2020 rev:12 rq:791158 version:3.9.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2020-03-27 00:22:50.940182390 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.3248/python-pytest-django.changes 2020-04-05 20:52:42.341134427 +0200 @@ -1,0 +2,10 @@ +Fri Apr 3 10:20:28 UTC 2020 - Tomáš Chvátal + +- Update to 3.9.0: + * Improve test ordering with Django test classes (#830) + * Remove import of pkg_resources for parsing pytest version (performance) (#826) + * Work around unittest issue with pytest 5.4.{0,1} (#825) + * Don't break --failed-first when re-ordering tests (#819, #820) + * pytest_addoption: use group.addoption (#833) + +--- Old: pytest-django-3.8.0.tar.gz New: pytest-django-3.9.0.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.VBfVlY/_old 2020-04-05 20:52:42.945135005 +0200 +++ /var/tmp/diff_new_pack.VBfVlY/_new 2020-04-05 20:52:42.949135009 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-pytest-django -Version:3.8.0 +Version:3.9.0 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause @@ -32,13 +32,13 @@ BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with python2} -BuildRequires: python2-pathlib2 -%endif BuildRequires: sqlite3 Requires: python-Django Requires: python-pytest BuildArch: noarch +%if %{with python2} +BuildRequires: python2-pathlib2 +%endif %ifpython2 Requires: python-pathlib2 %endif ++ pytest-django-3.8.0.tar.gz -> pytest-django-3.9.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.8.0/.travis.yml new/pytest-django-3.9.0/.travis.yml --- old/pytest-django-3.8.0/.travis.yml 2020-01-14 06:19:05.0 +0100 +++ new/pytest-django-3.9.0/.travis.yml 2020-03-31 11:52:21.0 +0200 @@ -1,5 +1,6 @@ language: python dist: xenial +cache: false jobs: fast_finish: true @@ -36,8 +37,9 @@ - python: 3.6 env: TOXENV=py36-djmaster-sqlite-coverage +# Explicitly test (older) pytest 5.3. - python: 3.5 - env: TOXENV=py35-dj110-postgres-coverage + env: TOXENV=py35-dj110-postgres-pytest53-coverage services: - postgresql diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.8.0/PKG-INFO new/pytest-django-3.9.0/PKG-INFO --- old/pytest-django-3.8.0/PKG-INFO2020-01-14 06:19:20.0 +0100 +++ new/pytest-django-3.9.0/PKG-INFO2020-03-31 11:52:37.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-django -Version: 3.8.0 +Version: 3.9.0 Summary: A Django plugin for pytest. Home-page: https://pytest-django.readthedocs.io/ Author: Andreas Pelme @@ -9,6 +9,7 @@ Maintainer-email: andr...@pelme.se License: BSD-3-Clause Project-URL: Source, https://github.com/pytest-dev/pytest-django +Project-URL: Changelog, https://pytest-django.readthedocs.io/en/latest/changelog.html Description: .. image:: https://img.shields.io/pypi/v/pytest-django.svg?style=flat :alt: PyPI Version :target: https://pypi.python.org/pypi/pytest-django diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.8.0/docs/changelog.rst new/pytest-django-3.9.0/docs/changelog.rst --- old/pytest-django-3.8.0/docs/changelog.rst 2020-01-14 06:19:05.0 +0100 +++ new/pytest-django-3.9.0/docs/changelog.rst 2020-03-31 11:52:21.0 +0200 @@ -1,8 +1,39 @@ Changelog = -3.8.0 (2020-01-14) --- +v3.9.0 (2020-03-31) +--- + +Improvements + + +* Improve test ordering with Django test classes (#830) + +* Remove import of pkg_resources for parsing pytest version (performance) (#826) + +Bugfixes + + +* Work around unittest issue with pytest 5.4.{0,1} (#825) + +* Don't break --failed-first when re-ordering tests (#819, #820) + +* pytest_addoption: use `group.addoption` (#833) + +Misc + + +* Remove Django version from --nomigrations heading (#822) + +* docs: changelog:
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2020-03-27 00:22:46 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.3160 (New) Package is "python-pytest-django" Fri Mar 27 00:22:46 2020 rev:11 rq:784632 version:3.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2020-01-27 00:20:29.145406282 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.3160/python-pytest-django.changes 2020-03-27 00:22:50.940182390 +0100 @@ -1,0 +2,5 @@ +Fri Mar 13 12:43:21 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +--- Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.9AcpOe/_old 2020-03-27 00:22:51.496182671 +0100 +++ /var/tmp/diff_new_pack.9AcpOe/_new 2020-03-27 00:22:51.496182671 +0100 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-pytest-django Version:3.8.0 Release:0 @@ -31,7 +32,9 @@ BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with python2} BuildRequires: python2-pathlib2 +%endif BuildRequires: sqlite3 Requires: python-Django Requires: python-pytest
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2020-01-27 00:20:23 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.26092 (New) Package is "python-pytest-django" Mon Jan 27 00:20:23 2020 rev:10 rq:766504 version:3.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2019-11-25 11:23:46.858111345 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.26092/python-pytest-django.changes 2020-01-27 00:20:29.145406282 +0100 @@ -1,0 +2,7 @@ +Thu Jan 23 08:49:57 UTC 2020 - Tomáš Chvátal + +- Update 3.8.0: + * Make Django's assertion helpers available in pytest_django.asserts (#709). + * Report django-configurations setting (#791) + +--- Old: pytest-django-3.7.0.tar.gz New: pytest-django-3.8.0.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.135nTh/_old 2020-01-27 00:20:30.413407365 +0100 +++ /var/tmp/diff_new_pack.135nTh/_new 2020-01-27 00:20:30.417407368 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-django # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-django -Version:3.7.0 +Version:3.8.0 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause ++ pytest-django-3.7.0.tar.gz -> pytest-django-3.8.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.7.0/.travis.yml new/pytest-django-3.8.0/.travis.yml --- old/pytest-django-3.7.0/.travis.yml 2019-11-09 07:16:37.0 +0100 +++ new/pytest-django-3.8.0/.travis.yml 2020-01-14 06:19:05.0 +0100 @@ -26,7 +26,7 @@ env: TOXENV=py37-dj21-sqlite-coverage - python: 3.7 env: TOXENV=py37-dj22-sqlite-xdist-coverage -- python: 3.8-dev +- python: 3.8 env: TOXENV=py38-dj30-sqlite-xdist-coverage # Explicitly test (older) pytest 4.1. @@ -94,7 +94,7 @@ if: tag IS present install: - - pip install tox==3.7.0 + - pip install tox==3.9.0 script: - tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.7.0/PKG-INFO new/pytest-django-3.8.0/PKG-INFO --- old/pytest-django-3.7.0/PKG-INFO2019-11-09 07:16:53.0 +0100 +++ new/pytest-django-3.8.0/PKG-INFO2020-01-14 06:19:20.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-django -Version: 3.7.0 +Version: 3.8.0 Summary: A Django plugin for pytest. Home-page: https://pytest-django.readthedocs.io/ Author: Andreas Pelme @@ -8,6 +8,7 @@ Maintainer: Andreas Pelme Maintainer-email: andr...@pelme.se License: BSD-3-Clause +Project-URL: Source, https://github.com/pytest-dev/pytest-django Description: .. image:: https://img.shields.io/pypi/v/pytest-django.svg?style=flat :alt: PyPI Version :target: https://pypi.python.org/pypi/pytest-django @@ -82,6 +83,7 @@ Classifier: Framework :: Django :: 2.0 Classifier: Framework :: Django :: 2.1 Classifier: Framework :: Django :: 2.2 +Classifier: Framework :: Django :: 3.0 Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent @@ -91,6 +93,7 @@ Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.7.0/docs/changelog.rst new/pytest-django-3.8.0/docs/changelog.rst --- old/pytest-django-3.7.0/docs/changelog.rst 2019-11-09 07:16:37.0 +0100 +++ new/pytest-django-3.8.0/docs/changelog.rst 2020-01-14 06:19:05.0 +0100 @@ -1,6 +1,17 @@ Changelog = +3.8.0 (2020-01-14) +-- + +Improvements + + +* Make Django's assertion helpers available in pytest_django.asserts (#709). + +* Report django-configurations setting (#791) + +
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2019-11-25 11:23:45 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.26869 (New) Package is "python-pytest-django" Mon Nov 25 11:23:45 2019 rev:9 rq:750272 version:3.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2019-11-03 11:39:22.634007607 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.26869/python-pytest-django.changes 2019-11-25 11:23:46.858111345 +0100 @@ -1,0 +2,10 @@ +Fri Nov 15 10:49:15 UTC 2019 - Tomáš Chvátal + +- Update to 3.7.0: + * Monkeypatch pytest to not use ``TestCase.debug`` with unittests, instead +of patching it into Django (#782). + * Work around pytest crashing due to ``pytest.fail`` being used from within the +DB blocker, and pytest trying to display an object representation involving +DB access (#781). pytest-django uses a ``RuntimeError`` now instead. + +--- Old: pytest-django-3.6.0.tar.gz New: pytest-django-3.7.0.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.WLxdHy/_old 2019-11-25 11:23:47.346111258 +0100 +++ /var/tmp/diff_new_pack.WLxdHy/_new 2019-11-25 11:23:47.350111257 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-django # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-django -Version:3.6.0 +Version:3.7.0 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause ++ pytest-django-3.6.0.tar.gz -> pytest-django-3.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.6.0/PKG-INFO new/pytest-django-3.7.0/PKG-INFO --- old/pytest-django-3.6.0/PKG-INFO2019-10-17 03:07:59.0 +0200 +++ new/pytest-django-3.7.0/PKG-INFO2019-11-09 07:16:53.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-django -Version: 3.6.0 +Version: 3.7.0 Summary: A Django plugin for pytest. Home-page: https://pytest-django.readthedocs.io/ Author: Andreas Pelme diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.6.0/docs/changelog.rst new/pytest-django-3.7.0/docs/changelog.rst --- old/pytest-django-3.6.0/docs/changelog.rst 2019-10-17 03:07:43.0 +0200 +++ new/pytest-django-3.7.0/docs/changelog.rst 2019-11-09 07:16:37.0 +0100 @@ -1,6 +1,20 @@ Changelog = +3.7.0 (2019-11-09) +-- + +Bugfixes + + +* Monkeypatch pytest to not use ``TestCase.debug`` with unittests, instead + of patching it into Django (#782). + +* Work around pytest crashing due to ``pytest.fail`` being used from within the + DB blocker, and pytest trying to display an object representation involving + DB access (#781). pytest-django uses a ``RuntimeError`` now instead. + + 3.6.0 (2019-10-17) -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.6.0/pytest_django/live_server_helper.py new/pytest-django-3.7.0/pytest_django/live_server_helper.py --- old/pytest-django-3.6.0/pytest_django/live_server_helper.py 2019-10-17 03:07:43.0 +0200 +++ new/pytest-django-3.7.0/pytest_django/live_server_helper.py 2019-11-09 07:16:37.0 +0100 @@ -1,6 +1,7 @@ -import sys +import six +@six.python_2_unicode_compatible class LiveServer(object): """The liveserver fixture @@ -70,21 +71,11 @@ def url(self): return "http://%s:%s; % (self.thread.host, self.thread.port) -if sys.version_info < (3, 0): +def __str__(self): +return self.url -def __unicode__(self): -return self.url - -def __add__(self, other): -return unicode(self) + other # noqa: pyflakes on python3 - -else: - -def __str__(self): -return self.url - -def __add__(self, other): -return str(self) + other +def __add__(self, other): +return "%s%s" % (self, other) def __repr__(self): return "" % self.url diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2019-11-03 11:39:21 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.2990 (New) Package is "python-pytest-django" Sun Nov 3 11:39:21 2019 rev:8 rq:744143 version:3.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2019-08-23 11:08:01.286471160 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.2990/python-pytest-django.changes 2019-11-03 11:39:22.634007607 +0100 @@ -1,0 +2,7 @@ +Wed Oct 30 11:54:08 UTC 2019 - Tomáš Chvátal + +- Update to 3.6.0: + * Rename test databases when running parallel Tox (#678, #680) + * Django unittests: restore "debug" function (#769, #771) + +--- Old: pytest-django-3.5.1.tar.gz New: pytest-django-3.6.0.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.pfsLgA/_old 2019-11-03 11:39:23.090008177 +0100 +++ /var/tmp/diff_new_pack.pfsLgA/_new 2019-11-03 11:39:23.094008182 +0100 @@ -18,11 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-django -Version:3.5.1 +Version:3.6.0 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause -Group: Development/Languages/Python URL:https://github.com/pytest-dev/pytest-django Source: https://files.pythonhosted.org/packages/source/p/pytest-django/pytest-django-%{version}.tar.gz BuildRequires: %{python_module Django} ++ pytest-django-3.5.1.tar.gz -> pytest-django-3.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.1/.gitignore new/pytest-django-3.6.0/.gitignore --- old/pytest-django-3.5.1/.gitignore 2019-06-29 18:28:26.0 +0200 +++ new/pytest-django-3.6.0/.gitignore 2019-10-17 03:07:43.0 +0200 @@ -9,6 +9,7 @@ .env /.coverage.* /.coverage +/coverage.xml /htmlcov/ .cache .pytest_cache/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.1/.travis.yml new/pytest-django-3.6.0/.travis.yml --- old/pytest-django-3.5.1/.travis.yml 2019-06-29 18:28:26.0 +0200 +++ new/pytest-django-3.6.0/.travis.yml 2019-10-17 03:07:43.0 +0200 @@ -6,7 +6,10 @@ include: - stage: baseline python: 3.6 - env: TOXENV=py36-dj20-postgres-xdist-coverage + env: +- TOXENV=py36-dj20-postgres-xdist-coverage +# Test in verbose mode. +- PYTEST_ADDOPTS=-vv services: - postgresql - python: 3.6 @@ -23,6 +26,8 @@ env: TOXENV=py37-dj21-sqlite-coverage - python: 3.7 env: TOXENV=py37-dj22-sqlite-xdist-coverage +- python: 3.8-dev + env: TOXENV=py38-dj30-sqlite-xdist-coverage # Explicitly test (older) pytest 4.1. - python: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.1/PKG-INFO new/pytest-django-3.6.0/PKG-INFO --- old/pytest-django-3.5.1/PKG-INFO2019-06-29 18:28:42.0 +0200 +++ new/pytest-django-3.6.0/PKG-INFO2019-10-17 03:07:59.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-django -Version: 3.5.1 +Version: 3.6.0 Summary: A Django plugin for pytest. Home-page: https://pytest-django.readthedocs.io/ Author: Andreas Pelme diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.1/codecov.yml new/pytest-django-3.6.0/codecov.yml --- old/pytest-django-3.5.1/codecov.yml 1970-01-01 01:00:00.0 +0100 +++ new/pytest-django-3.6.0/codecov.yml 2019-10-17 03:07:43.0 +0200 @@ -0,0 +1,6 @@ +coverage: + status: +project: true +patch: true +changes: true +comment: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.5.1/docs/changelog.rst new/pytest-django-3.6.0/docs/changelog.rst --- old/pytest-django-3.5.1/docs/changelog.rst 2019-06-29 18:28:26.0 +0200 +++ new/pytest-django-3.6.0/docs/changelog.rst 2019-10-17 03:07:43.0 +0200 @@ -1,6 +1,25 @@ Changelog = +3.6.0 (2019-10-17) +-- + +Features + + +* Rename test databases when running parallel Tox (#678, #680) + +Bugfixes + + +* Django unittests: restore "debug" function (#769, #771) + +Misc + + +* Improve/harden internal tests / infrastructure. + + 3.5.1 (2019-06-29)
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2019-08-23 11:07:57 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.7948 (New) Package is "python-pytest-django" Fri Aug 23 11:07:57 2019 rev:7 rq:725344 version:3.5.1 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2019-07-03 15:14:57.382958620 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.7948/python-pytest-django.changes 2019-08-23 11:08:01.286471160 +0200 @@ -1,0 +2,5 @@ +Thu Aug 22 13:40:41 UTC 2019 - Tomáš Chvátal + +- Simplify the deps + +--- Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.t3rP4n/_old 2019-08-23 11:08:03.226470921 +0200 +++ /var/tmp/diff_new_pack.t3rP4n/_new 2019-08-23 11:08:03.270470915 +0200 @@ -26,7 +26,7 @@ URL:https://github.com/pytest-dev/pytest-django Source: https://files.pythonhosted.org/packages/source/p/pytest-django/pytest-django-%{version}.tar.gz BuildRequires: %{python_module Django} -BuildRequires: %{python_module pytest >= 3.6} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm >= 1.11.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} @@ -35,7 +35,7 @@ BuildRequires: python2-pathlib2 BuildRequires: sqlite3 Requires: python-Django -Requires: python-pytest >= 3.6 +Requires: python-pytest BuildArch: noarch %ifpython2 Requires: python-pathlib2
commit python-pytest-django for openSUSE:Factory
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-INFO2019-06-03 16:24:46.0 +0200 +++ new/pytest-django-3.5.1/PKG-INFO2019-06-29 18:28:42.0 +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.0 +0200 +++ new/pytest-django-3.5.1/docs/changelog.rst 2019-06-29 18:28:26.0 +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.0 +0200 +++ new/pytest-django-3.5.1/pytest_django/fixtures.py 2019-06-29 18:28:26.0 +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 -
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2019-06-17 21:34:46 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.4811 (New) Package is "python-pytest-django" Mon Jun 17 21:34:46 2019 rev:5 rq:710346 version:3.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2019-03-01 16:47:03.693807359 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.4811/python-pytest-django.changes 2019-06-17 21:35:17.514997845 +0200 @@ -1,0 +2,12 @@ +Mon Jun 17 12:07:05 UTC 2019 - Tomáš Chvátal + +- Update to 3.5.0: + * Run tests in the same order as Django (#223) + * Use verbosity=0 with disabled migrations (#729, #730) + * django_db_setup: warn instead of crash with teardown errors (#726) + * 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) + +--- Old: pytest-django-3.4.8.tar.gz New: pytest-django-3.5.0.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.aDCMBT/_old 2019-06-17 21:35:17.894997759 +0200 +++ /var/tmp/diff_new_pack.aDCMBT/_new 2019-06-17 21:35:17.898997758 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-django -Version:3.4.8 +Version:3.5.0 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause @@ -71,7 +71,7 @@ %check # memory operations failed in OBS not localy, thus skip them export DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite -%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} tests/ -k 'not test_sqlite_in_memory_used' +%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} -v tests/ -k 'not (test_sqlite_in_memory_used or test_django_assert_num_queries_db or test_django_assert_max_num_queries_db)' %files %{python_files} %license LICENSE ++ pytest-django-3.4.8.tar.gz -> pytest-django-3.5.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.4.8/.travis.yml new/pytest-django-3.5.0/.travis.yml --- old/pytest-django-3.4.8/.travis.yml 2019-02-26 16:02:52.0 +0100 +++ new/pytest-django-3.5.0/.travis.yml 2019-06-03 16:24:31.0 +0200 @@ -10,11 +10,11 @@ services: - postgresql - python: 3.6 - env: TOXENV=py36-dj111-sqlite-coverage -- python: 2.7 - env: TOXENV=py27-dj111-mysql_innodb-coverage + env: TOXENV=py36-dj111-mysql_innodb-coverage services: - mysql +- python: 2.7 + env: TOXENV=py27-dj111-sqlite-xdist-coverage - python: 3.6 env: TOXENV=checkqa,docs @@ -22,7 +22,7 @@ python: 3.7 env: TOXENV=py37-dj21-sqlite-coverage - python: 3.7 - env: TOXENV=py37-dj22-sqlite-coverage + env: TOXENV=py37-dj22-sqlite-xdist-coverage # Explicitly test (older) pytest 4.1. - python: 3.7 @@ -49,9 +49,9 @@ - postgresql # pypy/pypy3: not included with coverage reports (much slower then). -- python: pypy2.7-6.0 +- python: pypy env: TOXENV=pypy-dj111-sqlite_file -- python: pypy3.5-6.0 +- python: pypy3 env: TOXENV=pypy3-dj110-sqlite - stage: test_release @@ -98,8 +98,6 @@ - | set -ex if [[ "${TOXENV%-coverage}" != "$TOXENV" ]]; then - codecov_flags=${TOXENV%-coverage} - codecov_flags=${codecov_flags//-/,} - bash <(curl -s https://codecov.io/bash) -Z -X gcov -X xcode -X gcovout -F "$codecov_flags" + bash <(curl -s https://codecov.io/bash) -Z -X gcov -X xcode -X gcovout fi -set +x +set +ex diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.4.8/PKG-INFO new/pytest-django-3.5.0/PKG-INFO --- old/pytest-django-3.4.8/PKG-INFO2019-02-26 16:03:07.0 +0100 +++ new/pytest-django-3.5.0/PKG-INFO2019-06-03 16:24:46.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-django -Version: 3.4.8 +Version: 3.5.0 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: docs
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2019-03-01 16:47:02 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.28833 (New) Package is "python-pytest-django" Fri Mar 1 16:47:02 2019 rev:4 rq:679814 version:3.4.8 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2018-12-13 19:48:21.940707061 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.28833/python-pytest-django.changes 2019-03-01 16:47:03.693807359 +0100 @@ -1,0 +2,21 @@ +Wed Feb 27 13:33:32 UTC 2019 - Tomáš Chvátal + +- Update to 3.4.8: + * Various test fixes only + +--- +Sun Feb 24 01:48:37 UTC 2019 - John Vandenberg + +- Add docs/ and AUTHORS to %doc +- Update to v3.4.7 + * Fix disabling/handling of unittest methods with pytest 4.2+ +- from 3.4.6 + * django_find_project: add cwd as fallback always + * Enable tests for Django 2.2 and add classifier +- from 3.4.5 + * Use request.config instead of pytest.config + * fixture 'admin_user' handle "email" username_field + * Minor doc fixes +- Add 'six' as explicit build dependency + +--- Old: pytest-django-3.4.4.tar.gz New: pytest-django-3.4.8.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.15Lmgn/_old 2019-03-01 16:47:04.401807091 +0100 +++ /var/tmp/diff_new_pack.15Lmgn/_new 2019-03-01 16:47:04.405807089 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-django # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-django -Version:3.4.4 +Version:3.4.8 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause @@ -29,8 +29,9 @@ BuildRequires: %{python_module pytest >= 3.6} BuildRequires: %{python_module setuptools_scm >= 1.11.1} BuildRequires: %{python_module setuptools} -# Used for tests BuildRequires: fdupes +# Used for tests +BuildRequires: %{python_module six} BuildRequires: python-rpm-macros BuildRequires: python2-pathlib2 BuildRequires: sqlite3 @@ -74,6 +75,7 @@ %files %{python_files} %license LICENSE +%doc AUTHORS README.rst docs/*.rst %{python_sitelib}/* %changelog ++ pytest-django-3.4.4.tar.gz -> pytest-django-3.4.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-django-3.4.4/.travis.yml new/pytest-django-3.4.8/.travis.yml --- old/pytest-django-3.4.4/.travis.yml 2018-11-13 10:17:07.0 +0100 +++ new/pytest-django-3.4.8/.travis.yml 2019-02-26 16:02:52.0 +0100 @@ -1,50 +1,64 @@ -sudo: false language: python -dist: trusty +dist: xenial jobs: fast_finish: true include: - stage: baseline python: 3.6 - env: TOXENV=py36-dj20-postgres-coverage + env: TOXENV=py36-dj20-postgres-xdist-coverage + services: +- postgresql - python: 3.6 env: TOXENV=py36-dj111-sqlite-coverage - python: 2.7 env: TOXENV=py27-dj111-mysql_innodb-coverage + services: +- mysql - python: 3.6 env: TOXENV=checkqa,docs - stage: test - # py37 is not available in trusty dist, and requires sudo=true with xenial. python: 3.7 env: TOXENV=py37-dj21-sqlite-coverage - dist: xenial - sudo: true +- python: 3.7 + env: TOXENV=py37-dj22-sqlite-coverage + +# Explicitly test (older) pytest 4.1. +- python: 3.7 + env: TOXENV=py37-dj21-sqlite-pytest41-coverage - python: 3.6 env: TOXENV=py36-djmaster-sqlite-coverage - python: 3.5 env: TOXENV=py35-dj110-postgres-coverage + services: +- postgresql - python: 3.4 env: TOXENV=py34-dj19-sqlite_file-coverage - python: 2.7 env: TOXENV=py27-dj111-mysql_myisam-coverage + services: +- mysql - python: 2.7 env: TOXENV=py27-dj18-postgres-coverage + services: +- postgresql # pypy/pypy3: not included with coverage reports (much slower then). -- python: pypy +- python: pypy2.7-6.0 env: TOXENV=pypy-dj111-sqlite_file -- python: pypy3 +- python: pypy3.5-6.0 env:
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2018-12-13 19:48:20 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new.28833 (New) Package is "python-pytest-django" Thu Dec 13 19:48:20 2018 rev:3 rq:656867 version:3.4.4 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2017-10-20 14:47:09.644623476 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new.28833/python-pytest-django.changes 2018-12-13 19:48:21.940707061 +0100 @@ -1,0 +2,7 @@ +Mon Dec 10 15:17:57 UTC 2018 - Tomáš Chvátal + +- Version update to 3.4.4: + * Many many changes to list properly +- Drop obsolete patch python-pytest-django-dependency.patch + +--- Old: pytest-django-3.1.2.tar.gz python-pytest-django-dependency.patch New: pytest-django-3.4.4.tar.gz Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.q90zZd/_old 2018-12-13 19:48:22.412706450 +0100 +++ /var/tmp/diff_new_pack.q90zZd/_new 2018-12-13 19:48:22.412706450 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-django # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +12,34 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-django -Version:3.1.2 +Version:3.4.4 Release:0 Summary:A Django plugin for py.test License:BSD-3-Clause Group: Development/Languages/Python -Url:http://pytest-django.readthedocs.org/ +URL:https://github.com/pytest-dev/pytest-django Source: https://files.pythonhosted.org/packages/source/p/pytest-django/pytest-django-%{version}.tar.gz -Patch: python-pytest-django-dependency.patch -BuildRequires: %{python_module devel} -BuildRequires: %{python_module pytest >= 2.9.2} -BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module Django} +BuildRequires: %{python_module pytest >= 3.6} +BuildRequires: %{python_module setuptools_scm >= 1.11.1} BuildRequires: %{python_module setuptools} +# Used for tests BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python2-pathlib2 +BuildRequires: sqlite3 +Requires: python-Django +Requires: python-pytest >= 3.6 BuildArch: noarch +%ifpython2 +Requires: python-pathlib2 +%endif %python_subpackages %description @@ -53,7 +59,6 @@ %prep %setup -q -n pytest-django-%{version} -%patch -p1 %build %python_build @@ -62,9 +67,13 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# memory operations failed in OBS not localy, thus skip them +export DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite +%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} tests/ -k 'not test_sqlite_in_memory_used' + %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %{python_sitelib}/* %changelog ++ pytest-django-3.1.2.tar.gz -> pytest-django-3.4.4.tar.gz ++ 8772 lines of diff (skipped)
commit python-pytest-django for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-django for openSUSE:Factory checked in at 2017-10-20 14:47:07 Comparing /work/SRC/openSUSE:Factory/python-pytest-django (Old) and /work/SRC/openSUSE:Factory/.python-pytest-django.new (New) Package is "python-pytest-django" Fri Oct 20 14:47:07 2017 rev:2 rq:535252 version:3.1.2 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-django/python-pytest-django.changes 2017-10-18 10:50:41.092302343 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-django.new/python-pytest-django.changes 2017-10-20 14:47:09.644623476 +0200 @@ -1,0 +2,5 @@ +Thu Oct 12 14:06:41 UTC 2017 - jeng...@inai.de + +- Improve write style of description. + +--- Other differences: -- ++ python-pytest-django.spec ++ --- /var/tmp/diff_new_pack.s93JR1/_old 2017-10-20 14:47:11.344543983 +0200 +++ /var/tmp/diff_new_pack.s93JR1/_new 2017-10-20 14:47:11.348543796 +0200 @@ -37,14 +37,15 @@ %python_subpackages %description -pytest-django allows you to test your Django project/applications with the -`pytest testing tool. +pytest-django allows testing Django projects/applications with the +pytest testing tool. -Running your test suite with pytest-django allows you to tap into the features -that are already present in pytest. Here are some advantages: +Running the test suite with pytest-django allows tapping into the features +that are already present in pytest: * Manage test dependencies with pytest fixtures. -* Less boilerplate tests: no need to import unittest, create a subclass with methods. Write tests as regular functions. +* Less boilerplate tests: no need to import unittest and creating a + subclass with methods. Tests can be written as regular functions. * Database re-use: no need to re-create the test database for every test run. * Run tests in multiple processes for increased speed (with the pytest-xdist plugin). * Make use of other pytest plugins.