Hello community,
here is the log from the commit of package python-pytest-flake8 for
openSUSE:Factory checked in at 2018-05-11 09:18:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-flake8 (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-flake8.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-flake8"
Fri May 11 09:18:35 2018 rev:3 rq:606270 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-flake8/python-pytest-flake8.changes
2018-04-16 12:52:01.342492369 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-flake8.new/python-pytest-flake8.changes
2018-05-11 09:18:38.109732561 +0200
@@ -1,0 +2,6 @@
+Sun May 6 05:47:30 UTC 2018 - [email protected]
+
+- update to version 1.0.1:
+ * Correct junit XML output for pytest 3.5.x
+
+-------------------------------------------------------------------
Old:
----
pytest-flake8-1.0.0.tar.gz
New:
----
pytest-flake8-1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-flake8.spec ++++++
--- /var/tmp/diff_new_pack.rjC5OP/_old 2018-05-11 09:18:38.833706331 +0200
+++ /var/tmp/diff_new_pack.rjC5OP/_new 2018-05-11 09:18:38.837706186 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pytest-flake8
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: Plugin for pytest to check FLAKE8 requirements
License: BSD-2-Clause
++++++ pytest-flake8-1.0.0.tar.gz -> pytest-flake8-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/.gitignore
new/pytest-flake8-1.0.1/.gitignore
--- old/pytest-flake8-1.0.0/.gitignore 2018-03-19 20:01:38.000000000 +0100
+++ new/pytest-flake8-1.0.1/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-*.egg-info/
-.pytest_cache/
-*.pyc
-*.sublime-workspace
-.cache/
-.tox/
-/build/
-/dist/
-__pycache__/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/.travis.yml
new/pytest-flake8-1.0.1/.travis.yml
--- old/pytest-flake8-1.0.0/.travis.yml 2017-10-26 19:51:45.000000000 +0200
+++ new/pytest-flake8-1.0.1/.travis.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-language: python
-matrix:
- include:
- - python: 2.7
- env: TOXENV=py27
- - python: 2.7
- env: TOXENV=py27-pytesttrunk
- - python: 2.7
- env: TOXENV=py-xdist
- - python: 3.4
- env: TOXENV=py34
- - python: 3.5
- env: TOXENV=py35
- - python: 3.6
- env: TOXENV=py36
- - python: pypy
- env: TOXENV=pypy
- - python: pypy3
- env: TOXENV=pypy3
-install:
- - pip install tox
-script:
- - tox -e $TOXENV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/CHANGELOG
new/pytest-flake8-1.0.1/CHANGELOG
--- old/pytest-flake8-1.0.0/CHANGELOG 2018-03-19 20:08:30.000000000 +0100
+++ new/pytest-flake8-1.0.1/CHANGELOG 2018-04-30 21:40:58.000000000 +0200
@@ -1,3 +1,8 @@
+1.0.1
+-----
+
+- Correct junit XML output for pytest 3.5.x
+
1.0.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/PKG-INFO
new/pytest-flake8-1.0.1/PKG-INFO
--- old/pytest-flake8-1.0.0/PKG-INFO 2018-03-19 20:13:51.000000000 +0100
+++ new/pytest-flake8-1.0.1/PKG-INFO 2018-04-30 21:40:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-flake8
-Version: 1.0.0
+Version: 1.0.1
Summary: pytest plugin to check FLAKE8 requirements
Home-page: https://github.com/tholo/pytest-flake8
Author: Thorsten Lockert
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/pytest-flake8.sublime-project
new/pytest-flake8-1.0.1/pytest-flake8.sublime-project
--- old/pytest-flake8-1.0.0/pytest-flake8.sublime-project 2015-04-01
01:31:39.000000000 +0200
+++ new/pytest-flake8-1.0.1/pytest-flake8.sublime-project 1970-01-01
01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-{
- "folders":
- [
- {
- "folder_exclude_patterns":
- [
- "__pycache__",
- "*.egg-info",
- ".cache",
- ".tox",
- "build",
- "dist"
- ],
- "path": "."
- }
- ]
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/pytest_flake8.egg-info/PKG-INFO
new/pytest-flake8-1.0.1/pytest_flake8.egg-info/PKG-INFO
--- old/pytest-flake8-1.0.0/pytest_flake8.egg-info/PKG-INFO 2018-03-19
20:13:51.000000000 +0100
+++ new/pytest-flake8-1.0.1/pytest_flake8.egg-info/PKG-INFO 2018-04-30
21:40:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-flake8
-Version: 1.0.0
+Version: 1.0.1
Summary: pytest plugin to check FLAKE8 requirements
Home-page: https://github.com/tholo/pytest-flake8
Author: Thorsten Lockert
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-flake8-1.0.0/pytest_flake8.egg-info/SOURCES.txt
new/pytest-flake8-1.0.1/pytest_flake8.egg-info/SOURCES.txt
--- old/pytest-flake8-1.0.0/pytest_flake8.egg-info/SOURCES.txt 2018-03-19
20:13:51.000000000 +0100
+++ new/pytest-flake8-1.0.1/pytest_flake8.egg-info/SOURCES.txt 2018-04-30
21:40:59.000000000 +0200
@@ -1,10 +1,7 @@
-.gitignore
-.travis.yml
CHANGELOG
LICENSE
MANIFEST.in
README.rst
-pytest-flake8.sublime-project
pytest_flake8.py
setup.cfg
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-flake8-1.0.0/pytest_flake8.egg-info/requires.txt
new/pytest-flake8-1.0.1/pytest_flake8.egg-info/requires.txt
--- old/pytest-flake8-1.0.0/pytest_flake8.egg-info/requires.txt 2018-03-19
20:13:51.000000000 +0100
+++ new/pytest-flake8-1.0.1/pytest_flake8.egg-info/requires.txt 2018-04-30
21:40:59.000000000 +0200
@@ -1,2 +1,2 @@
flake8>=3.5
-pytest>=3.2
+pytest>=3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/pytest_flake8.py
new/pytest-flake8-1.0.1/pytest_flake8.py
--- old/pytest-flake8-1.0.0/pytest_flake8.py 2018-03-19 19:55:41.000000000
+0100
+++ new/pytest-flake8-1.0.1/pytest_flake8.py 2018-04-30 21:40:58.000000000
+0200
@@ -87,6 +87,7 @@
def __init__(self, path, parent, flake8ignore, maxlength,
maxcomplexity, showshource, statistics):
super(Flake8Item, self).__init__(path, parent)
+ self._nodeid += "::FLAKE8"
self.add_marker("flake8")
self.flake8ignore = flake8ignore
self.maxlength = maxlength
@@ -134,9 +135,6 @@
ignores = ""
return (self.fspath, -1, "FLAKE8-check%s" % ignores)
- def _makeid(self):
- return super(Flake8Item, self)._makeid() + "::FLAKE8"
-
class Ignorer:
def __init__(self, ignorelines, coderex=re.compile("[EW]\d\d\d")):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/setup.py
new/pytest-flake8-1.0.1/setup.py
--- old/pytest-flake8-1.0.0/setup.py 2018-03-19 20:08:44.000000000 +0100
+++ new/pytest-flake8-1.0.1/setup.py 2018-04-30 21:40:58.000000000 +0200
@@ -6,7 +6,7 @@
setup(
name='pytest-flake8',
- version='1.0.0',
+ version='1.0.1',
description='pytest plugin to check FLAKE8 requirements',
long_description=open("README.rst").read(),
classifiers=[
@@ -38,6 +38,6 @@
},
install_requires=[
'flake8>=3.5',
- 'pytest>=3.2',
+ 'pytest>=3.5',
],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.0/test_flake8.py
new/pytest-flake8-1.0.1/test_flake8.py
--- old/pytest-flake8-1.0.0/test_flake8.py 2018-03-19 20:00:55.000000000
+0100
+++ new/pytest-flake8-1.0.1/test_flake8.py 2018-04-30 21:40:58.000000000
+0200
@@ -50,7 +50,7 @@
testdir.tmpdir.ensure("xy.py")
testdir.tmpdir.ensure("tests/hello.py")
result = testdir.runpytest("--flake8", "-s")
- assert result.ret == 0
+ result.assert_outcomes(passed=2)
result.stdout.fnmatch_lines([
"*collected 2*",
"*xy.py .*",
@@ -184,5 +184,5 @@
junit = testdir.tmpdir.join("TEST.xml")
with open(str(junit)) as j_file:
j_text = j_file.read()
- assert result.ret == 0
+ result.assert_outcomes(passed=1)
assert 'classname=""' not in j_text