Hello community,
here is the log from the commit of package python-pytest-flake8 for
openSUSE:Factory checked in at 2019-02-08 13:48:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-flake8 (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-flake8.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-flake8"
Fri Feb 8 13:48:24 2019 rev:4 rq:672127 version:1.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-flake8/python-pytest-flake8.changes
2018-05-11 09:18:38.109732561 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-flake8.new.28833/python-pytest-flake8.changes
2019-02-08 13:48:25.386778822 +0100
@@ -1,0 +2,17 @@
+Wed Feb 6 08:41:05 UTC 2019 - [email protected]
+
+- Update to version 1.0.4:
+ * Support flake8 3.7+ by checking existence of "app.make_notifier"
+ * More fixes for Travis CI -- properly specify Python versions, in
+ particular for pypy (and fix a typo)
+
+- Update to version 1.0.3:
+ * Don't use long deprecated functions from pytest, broke with pytest 4.1.0
+ * Fix typo that caused some tests to not run as expected
+ * Run Travis CI tests against Python 3.7, and fix some issues with current
tox
+
+- Update to version 1.0.2:
+ * Test on Python 3.7
+ * Escape a regex tring with r""
+
+-------------------------------------------------------------------
Old:
----
pytest-flake8-1.0.1.tar.gz
New:
----
pytest-flake8-1.0.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-flake8.spec ++++++
--- /var/tmp/diff_new_pack.Dkz0FB/_old 2019-02-08 13:48:26.014778626 +0100
+++ /var/tmp/diff_new_pack.Dkz0FB/_new 2019-02-08 13:48:26.018778624 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-flake8
#
-# 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,14 +12,14 @@
# 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-%{**}}
%bcond_without test
Name: python-pytest-flake8
-Version: 1.0.1
+Version: 1.0.4
Release: 0
Summary: Plugin for pytest to check FLAKE8 requirements
License: BSD-2-Clause
++++++ pytest-flake8-1.0.1.tar.gz -> pytest-flake8-1.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/CHANGELOG
new/pytest-flake8-1.0.4/CHANGELOG
--- old/pytest-flake8-1.0.1/CHANGELOG 2018-04-30 21:40:58.000000000 +0200
+++ new/pytest-flake8-1.0.4/CHANGELOG 2019-01-31 21:05:36.000000000 +0100
@@ -1,3 +1,24 @@
+1.0.4
+-----
+
+- Support flake8 3.7+ by checking existence of "app.make_notifier";
+ from jirikuncar@github
+- More fixes for Travis CI -- properly specify Python versions, in
+ particular for pypy (and fix a typo)
+
+1.0.3
+-----
+
+- Don't use long deprecated functions from pytest, broke with pytest 4.1.0
+- Fix typo that caused some tests to not run as expected
+- Run Travis CI tests against Python 3.7, and fix some issues with current tox
+
+1.0.2
+-----
+
+- Test on Python 3.7
+- Escape a regex tring with r""
+
1.0.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/PKG-INFO
new/pytest-flake8-1.0.4/PKG-INFO
--- old/pytest-flake8-1.0.1/PKG-INFO 2018-04-30 21:40:59.000000000 +0200
+++ new/pytest-flake8-1.0.4/PKG-INFO 2019-01-31 21:05:36.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-flake8
-Version: 1.0.1
+Version: 1.0.4
Summary: pytest plugin to check FLAKE8 requirements
Home-page: https://github.com/tholo/pytest-flake8
Author: Thorsten Lockert
@@ -147,6 +147,7 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/pytest_flake8.egg-info/PKG-INFO
new/pytest-flake8-1.0.4/pytest_flake8.egg-info/PKG-INFO
--- old/pytest-flake8-1.0.1/pytest_flake8.egg-info/PKG-INFO 2018-04-30
21:40:59.000000000 +0200
+++ new/pytest-flake8-1.0.4/pytest_flake8.egg-info/PKG-INFO 2019-01-31
21:05:36.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-flake8
-Version: 1.0.1
+Version: 1.0.4
Summary: pytest plugin to check FLAKE8 requirements
Home-page: https://github.com/tholo/pytest-flake8
Author: Thorsten Lockert
@@ -147,6 +147,7 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/pytest_flake8.py
new/pytest-flake8-1.0.4/pytest_flake8.py
--- old/pytest-flake8-1.0.1/pytest_flake8.py 2018-04-30 21:40:58.000000000
+0200
+++ new/pytest-flake8-1.0.4/pytest_flake8.py 2019-01-31 21:05:36.000000000
+0100
@@ -137,7 +137,7 @@
class Ignorer:
- def __init__(self, ignorelines, coderex=re.compile("[EW]\d\d\d")):
+ def __init__(self, ignorelines, coderex=re.compile(r"[EW]\d\d\d")):
self.ignores = ignores = []
for line in ignorelines:
i = line.find("#")
@@ -187,7 +187,9 @@
if flake8ignore:
app.options.ignore = flake8ignore
app.make_formatter() # fix this
- app.make_notifier()
+ if hasattr(app, 'make_notifier'):
+ # removed in flake8 3.7+
+ app.make_notifier()
app.make_guide()
app.make_file_checker_manager()
app.run_checks([str(path)])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/setup.py
new/pytest-flake8-1.0.4/setup.py
--- old/pytest-flake8-1.0.1/setup.py 2018-04-30 21:40:58.000000000 +0200
+++ new/pytest-flake8-1.0.4/setup.py 2019-01-31 21:05:36.000000000 +0100
@@ -6,7 +6,7 @@
setup(
name='pytest-flake8',
- version='1.0.1',
+ version='1.0.4',
description='pytest plugin to check FLAKE8 requirements',
long_description=open("README.rst").read(),
classifiers=[
@@ -20,6 +20,7 @@
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/test_flake8.py
new/pytest-flake8-1.0.4/test_flake8.py
--- old/pytest-flake8-1.0.1/test_flake8.py 2018-04-30 21:40:58.000000000
+0200
+++ new/pytest-flake8-1.0.4/test_flake8.py 2019-01-31 21:05:36.000000000
+0100
@@ -21,7 +21,7 @@
@pytest.fixture
def example(self, request):
"""Create a test file."""
- testdir = request.getfuncargvalue("testdir")
+ testdir = request.getfixturevalue("testdir")
import sys
print(testdir, file=sys.stderr)
p = testdir.makepyfile("")
@@ -102,8 +102,7 @@
result.assert_outcomes(skipped=1, failed=1)
testdir.makeini("""
[pytest]
- markers = flake8
- flake8-ignore = *.py W293 W292
+ flake8-ignore = *.py W293 W292 W391
""")
result = testdir.runpytest("--flake8", )
result.assert_outcomes(passed=2)
@@ -174,7 +173,7 @@
@pytest.mark.xfail(reason="flake8 is not properly registered as a marker")
def test_strict(testdir):
testdir.makepyfile("")
- result = testdir.runpytest("--strict", "--mflake8")
+ result = testdir.runpytest("--strict", "-mflake8")
result.assert_outcomes(passed=1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flake8-1.0.1/tox.ini
new/pytest-flake8-1.0.4/tox.ini
--- old/pytest-flake8-1.0.1/tox.ini 2018-04-30 21:40:58.000000000 +0200
+++ new/pytest-flake8-1.0.4/tox.ini 2019-01-31 21:05:36.000000000 +0100
@@ -1,16 +1,16 @@
[tox]
-envlist=py27,py27-pytesttrunk,py-xdist,py34,py35,py36,pypy,pypy3
+envlist=py27,py36-pytesttrunk,py36-xdist,py34,py35,py36,py37,pypy,pypy3
[testenv]
deps=pytest
commands=
pytest --junitxml={envlogdir}/junit-{envname}.xml {posargs}
-[testenv:py27-pytesttrunk]
-deps = pytest
+[testenv:py36-pytesttrunk]
+pip_pre=true
+deps=pytest
-[testenv:py-xdist]
-basepython=python
+[testenv:py36-xdist]
deps={[testenv]deps}
pytest-xdist
commands=
@@ -20,4 +20,4 @@
addopts=--flake8
[flake8]
-ignore = E128
+ignore=E128