diff --git a/pytest-3.0.6.tar.gz b/pytest-3.0.6.tar.gz deleted file mode 100644 index 12cde58..0000000 --- a/pytest-3.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:643434a9f1a188271da35e20064cb8b6c5440976c5bb541dc7b5b0e3cf75d940 -size 748748 diff --git a/pytest-3.0.7.tar.gz b/pytest-3.0.7.tar.gz new file mode 100644 index 0000000..d1fcd1f --- /dev/null +++ b/pytest-3.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab +size 743866 diff --git a/python-pytest-doc.changes b/python-pytest-doc.changes index 70e9c5c..eb7fbdf 100644 --- a/python-pytest-doc.changes +++ b/python-pytest-doc.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Thu Mar 30 09:29:28 UTC 2017 - aloisio@gmx.com + +- Update to version 3.0.7 + * Fix issue in assertion rewriting breaking due to modules + silently discarding other modules when importing fails + Notably, importing the `anydbm` module is fixed. + (`#2248`_). Thanks `@pfhayes`_ for the PR. + * junitxml: Fix problematic case where system-out tag + occured twice per testcase element in the XML report. + Thanks `@kkoukiou`_ for the PR. + * Fix regression, pytest now skips unittest correctly if run + with ``--pdb`` (`#2137`_). Thanks to `@gst`_ for the report + and `@mbyt`_ for the PR. + * Ignore exceptions raised from descriptors (e.g. + properties) during Python test collection (`#2234`_). + Thanks to `@bluetech`_. + * ``--override-ini`` now correctly overrides some + fundamental options like ``python_files`` (`#2238`_). + Thanks `@sirex`_ for the report and `@nicoddemus`_ for the + PR. + * Replace ``raise StopIteration`` usages in the code by + simple ``returns`` to finish generators, in accordance to + `PEP-479`_ (`#2160`_). Thanks `@tgoodlet`_ for the report + and `@nicoddemus`_ for the PR. + * Fix internal errors when an unprintable ``AssertionError`` + is raised inside a test. Thanks `@omerhadari`_ for the PR. + * Skipping plugin now also works with test items generated + by custom collectors (`#2231`_). Thanks to `@vidartf`_. + * Fix trailing whitespace in console output if no .ini file + presented (`#2281`_). Thanks `@fbjorn`_ for the PR. + * Conditionless ``xfail`` markers no longer rely on the + underlying test item being an instance of ``PyobjMixin``, + and can therefore apply to tests not collected by the + built-in python test collector. Thanks `@barneygale`_ for + the PR. + +- Updated source URL + ------------------------------------------------------------------- Thu Feb 23 14:40:25 UTC 2017 - jmatejek@suse.com diff --git a/python-pytest-doc.spec b/python-pytest-doc.spec index deb81da..faef50f 100644 --- a/python-pytest-doc.spec +++ b/python-pytest-doc.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-doc -Version: 3.0.6 +Version: 3.0.7 Release: 0 Summary: Simple powerful testing with Python License: MIT Group: Development/Languages/Python Url: http://pytest.org -Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz +Source: https://pypi.io/packages/source/p/pytest/pytest-%{version}.tar.gz BuildRequires: python3-Sphinx # Test requirements: BuildRequires: %{python_module PyYAML} diff --git a/python-pytest.changes b/python-pytest.changes index f182a19..a265722 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Thu Mar 30 09:29:28 UTC 2017 - aloisio@gmx.com + +- Update to version 3.0.7 + * Fix issue in assertion rewriting breaking due to modules + silently discarding other modules when importing fails + Notably, importing the `anydbm` module is fixed. + (`#2248`_). Thanks `@pfhayes`_ for the PR. + * junitxml: Fix problematic case where system-out tag + occured twice per testcase element in the XML report. + Thanks `@kkoukiou`_ for the PR. + * Fix regression, pytest now skips unittest correctly if run + with ``--pdb`` (`#2137`_). Thanks to `@gst`_ for the report + and `@mbyt`_ for the PR. + * Ignore exceptions raised from descriptors (e.g. + properties) during Python test collection (`#2234`_). + Thanks to `@bluetech`_. + * ``--override-ini`` now correctly overrides some + fundamental options like ``python_files`` (`#2238`_). + Thanks `@sirex`_ for the report and `@nicoddemus`_ for the + PR. + * Replace ``raise StopIteration`` usages in the code by + simple ``returns`` to finish generators, in accordance to + `PEP-479`_ (`#2160`_). Thanks `@tgoodlet`_ for the report + and `@nicoddemus`_ for the PR. + * Fix internal errors when an unprintable ``AssertionError`` + is raised inside a test. Thanks `@omerhadari`_ for the PR. + * Skipping plugin now also works with test items generated + by custom collectors (`#2231`_). Thanks to `@vidartf`_. + * Fix trailing whitespace in console output if no .ini file + presented (`#2281`_). Thanks `@fbjorn`_ for the PR. + * Conditionless ``xfail`` markers no longer rely on the + underlying test item being an instance of ``PyobjMixin``, + and can therefore apply to tests not collected by the + built-in python test collector. Thanks `@barneygale`_ for + the PR. + +- Updated source URL + +------------------------------------------------------------------- +Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com + +- uninstall alternatives in %postun + ------------------------------------------------------------------- Mon Feb 20 14:05:32 UTC 2017 - jmatejek@suse.com diff --git a/python-pytest.spec b/python-pytest.spec index 7486044..7e6b29a 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest -Version: 3.0.6 +Version: 3.0.7 Release: 0 Summary: Simple powerful testing with Python License: MIT Group: Development/Languages/Python Url: http://pytest.org -Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz +Source: https://pypi.io/packages/source/p/pytest/pytest-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module py >= 1.4.29} @@ -33,7 +33,7 @@ BuildRequires: %{python_module xml} BuildRequires: python-rpm-macros Requires: python-py >= 1.4.29 Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(postun): update-alternatives #/usr/bin/py.test imports pkg_resources Requires: python-setuptools BuildArch: noarch @@ -77,7 +77,7 @@ ln -s py.test-%python3_bin_suffix %{buildroot}%{_bindir}/py.test3 %{python_install_alternative py.test} \ --slave %{_bindir}/pytest pytest %{_bindir}/pytest-%{python_version} -%preun +%postun %python_uninstall_alternative py.test %files %{python_files}