Hello community,
here is the log from the commit of package python-pytest-runner for
openSUSE:Factory checked in at 2019-02-26 22:15:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-runner (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-runner.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-runner"
Tue Feb 26 22:15:21 2019 rev:15 rq:678211 version:4.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-runner/python-pytest-runner.changes
2018-03-28 10:27:25.133595607 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-runner.new.28833/python-pytest-runner.changes
2019-02-26 22:15:23.194211593 +0100
@@ -1,0 +2,19 @@
+Fri Feb 22 10:33:48 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Skip tests as they try to pull stuff from pip and as such
+ are unusable for OBS validation
+
+-------------------------------------------------------------------
+Wed Feb 20 11:37:58 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.4:
+ * #43: Detect condition where declarative config will cause errors and emit
a UserWarning with guidance on necessary actions.
+ * #42: Update project metadata, including pyproject.toml declaration.
+
+-------------------------------------------------------------------
+Tue Feb 12 15:58:00 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update URL to match reality
+- Run tests
+
+-------------------------------------------------------------------
Old:
----
pytest-runner-4.2.tar.gz
New:
----
pytest-runner-4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-runner.spec ++++++
--- /var/tmp/diff_new_pack.hPYWHk/_old 2019-02-26 22:15:23.906211351 +0100
+++ /var/tmp/diff_new_pack.hPYWHk/_new 2019-02-26 22:15:23.910211349 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-runner
#
-# 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
@@ -12,29 +12,28 @@
# 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-runner
-Version: 4.2
+Version: 4.4
Release: 0
Summary: Testing with Python
License: MIT
Group: Development/Languages/Python
-Url: http://pytest.org
+URL: https://github.com/pytest-dev/pytest-runner
Source:
https://files.pythonhosted.org/packages/source/p/pytest-runner/pytest-runner-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest >= 2.8}
+BuildRequires: %{python_module pytest-virtualenv}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.8
-Requires: python-setuptools_scm >= 1.15.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: python-setuptools >= 27.3
BuildArch: noarch
-
%python_subpackages
%description
@@ -42,16 +41,22 @@
%prep
%setup -q -n pytest-runner-%{version}
+rm pytest.ini
%build
%python_build
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%files %python_files
-%defattr(-,root,root,-)
-%doc README.rst CHANGES.rst LICENSE docs/*
+%check
+# Uses Virtualenv and then tries to download everything from pip
+#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} -v
+
+%files %{python_files}
+%license LICENSE
+%doc README.rst CHANGES.rst docs/*
%{python_sitelib}/*
%changelog
++++++ pytest-runner-4.2.tar.gz -> pytest-runner-4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-4.2/.flake8
new/pytest-runner-4.4/.flake8
--- old/pytest-runner-4.2/.flake8 2018-03-18 14:01:39.000000000 +0100
+++ new/pytest-runner-4.4/.flake8 2019-02-14 14:52:58.000000000 +0100
@@ -1,2 +1,10 @@
[flake8]
-ignore = W191,W503
+ignore =
+ # Allow tabs for indentation
+ W191
+ # Workaround for https://github.com/PyCQA/pycodestyle/issues/836
+ E117
+ # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
+ W503
+ # W504 has issues
https://github.com/OCA/maintainer-quality-tools/issues/545
+ W504
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-4.2/CHANGES.rst
new/pytest-runner-4.4/CHANGES.rst
--- old/pytest-runner-4.2/CHANGES.rst 2018-03-18 14:01:39.000000000 +0100
+++ new/pytest-runner-4.4/CHANGES.rst 2019-02-14 14:52:58.000000000 +0100
@@ -1,3 +1,21 @@
+4.4
+===
+
+* #43: Detect condition where declarative config will cause
+ errors and emit a UserWarning with guidance on necessary
+ actions.
+
+4.3.1
+=====
+
+* #43: Re-release of 4.2 to supersede the 4.3 release which
+ proved to be backward-incompatible in that it requires
+ setuptools 30.4 or possibly later (to install). In the future, a
+ backward-incompatible release will re-release these changes.
+ For projects including pytest-runner, particularly as
+ ``setup_requires``, if support for older setuptools is required,
+ please pin to ``pytest-runner < 5``.
+
4.2
===
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-4.2/PKG-INFO
new/pytest-runner-4.4/PKG-INFO
--- old/pytest-runner-4.2/PKG-INFO 2018-03-18 14:02:58.000000000 +0100
+++ new/pytest-runner-4.4/PKG-INFO 2019-02-14 14:53:22.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-runner
-Version: 4.2
+Version: 4.4
Summary: Invoke py.test as distutils command with dependency resolution
Home-page: https://github.com/pytest-dev/pytest-runner
Author: Jason R. Coombs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-4.2/ptr.py new/pytest-runner-4.4/ptr.py
--- old/pytest-runner-4.2/ptr.py 2018-03-18 14:01:39.000000000 +0100
+++ new/pytest-runner-4.4/ptr.py 2019-02-14 14:52:58.000000000 +0100
@@ -8,6 +8,7 @@
import sys as _sys
import operator as _operator
import itertools as _itertools
+import warnings as _warnings
try:
# ensure that map has the same meaning on Python 2
@@ -153,11 +154,24 @@
results = list(map(dist.fetch_build_eggs, matching_extras))
return _itertools.chain.from_iterable(results)
+ @staticmethod
+ def _warn_old_setuptools():
+ msg = (
+ "pytest-runner will stop working on this version of
setuptools; "
+ "please upgrade to setuptools 30.4 or later or pin to "
+ "pytest-runner < 5."
+ )
+ ver_str = pkg_resources.get_distribution('setuptools').version
+ ver = pkg_resources.parse_version(ver_str)
+ if ver < pkg_resources.parse_version('30.4'):
+ _warnings.warn(msg)
+
def run(self):
"""
Override run to ensure requirements are available in this
session (but
don't install them anywhere).
"""
+ self._warn_old_setuptools()
dist = CustomizedDist()
for attr in 'allow_hosts index_url'.split():
setattr(dist, attr, getattr(self, attr))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-4.2/pytest_runner.egg-info/PKG-INFO
new/pytest-runner-4.4/pytest_runner.egg-info/PKG-INFO
--- old/pytest-runner-4.2/pytest_runner.egg-info/PKG-INFO 2018-03-18
14:02:58.000000000 +0100
+++ new/pytest-runner-4.4/pytest_runner.egg-info/PKG-INFO 2019-02-14
14:53:21.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-runner
-Version: 4.2
+Version: 4.4
Summary: Invoke py.test as distutils command with dependency resolution
Home-page: https://github.com/pytest-dev/pytest-runner
Author: Jason R. Coombs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-4.2/tox.ini
new/pytest-runner-4.4/tox.ini
--- old/pytest-runner-4.2/tox.ini 2018-03-18 14:01:39.000000000 +0100
+++ new/pytest-runner-4.4/tox.ini 2019-02-14 14:52:58.000000000 +0100
@@ -7,6 +7,10 @@
setuptools>=31.0.1
# workaround for yaml/pyyaml#126
#
git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7"
+ # workaround for https://github.com/manahl/pytest-plugins/issues/110
+ pytest < 4
+ # workaround for https://github.com/manahl/pytest-plugins/issues/122
+ virtualenv
commands =
py.test {posargs}
python setup.py checkdocs