Hello community,
here is the log from the commit of package python-pytest-codestyle for
openSUSE:Factory checked in at 2020-03-29 14:28:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-codestyle (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-codestyle.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-codestyle"
Sun Mar 29 14:28:26 2020 rev:5 rq:789452 version:2.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-codestyle/python-pytest-codestyle.changes
2019-11-26 17:01:19.180069036 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-codestyle.new.3160/python-pytest-codestyle.changes
2020-03-29 14:28:28.098182572 +0200
@@ -1,0 +2,7 @@
+Sun Mar 29 07:03:25 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.0.1:
+ * no changelog
+- Refresh fix-super.patch
+
+-------------------------------------------------------------------
Old:
----
pytest-codestyle-2.0.0.tar.gz
New:
----
pytest-codestyle-2.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-codestyle.spec ++++++
--- /var/tmp/diff_new_pack.zmhJVh/_old 2020-03-29 14:28:29.922183505 +0200
+++ /var/tmp/diff_new_pack.zmhJVh/_new 2020-03-29 14:28:29.930183509 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-codestyle
#
-# 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,11 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-codestyle
-Version: 2.0.0
+Version: 2.0.1
Release: 0
Summary: Pytest plugin to run pycodestyle
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/henry0312/pytest-codestyle
Source:
https://files.pythonhosted.org/packages/source/p/pytest-codestyle/pytest-codestyle-%{version}.tar.gz
Patch0: fix-super.patch
++++++ fix-super.patch ++++++
--- /var/tmp/diff_new_pack.zmhJVh/_old 2020-03-29 14:28:29.954183521 +0200
+++ /var/tmp/diff_new_pack.zmhJVh/_new 2020-03-29 14:28:29.954183521 +0200
@@ -1,11 +1,11 @@
-Index: pytest-codestyle-2.0.0/pytest_pycodestyle.py
+Index: pytest-codestyle-2.0.1/pytest_pycodestyle.py
===================================================================
---- pytest-codestyle-2.0.0.orig/pytest_pycodestyle.py
-+++ pytest-codestyle-2.0.0/pytest_pycodestyle.py
-@@ -27,7 +27,7 @@ class Item(pytest.Item, pytest.File):
- CACHE_KEY = 'pycodestyle/mtimes'
-
- def __init__(self, path, parent, options):
+--- pytest-codestyle-2.0.1.orig/pytest_pycodestyle.py
++++ pytest-codestyle-2.0.1/pytest_pycodestyle.py
+@@ -32,7 +32,7 @@ class Item(pytest.Item, pytest.File):
+ warnings.warn("pytest-codestyle is no longer supported. "
+ "Please switch from pytest-codestyle to
pytest-pycodestyle "
+ "(https://pypi.org/project/pytest-pycodestyle/).",
DeprecationWarning)
- super().__init__(path, parent)
+ super(Item, self).__init__(path, parent)
self.add_marker('pycodestyle')
++++++ pytest-codestyle-2.0.0.tar.gz -> pytest-codestyle-2.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-codestyle-2.0.0/PKG-INFO
new/pytest-codestyle-2.0.1/PKG-INFO
--- old/pytest-codestyle-2.0.0/PKG-INFO 2019-11-17 12:20:36.000000000 +0100
+++ new/pytest-codestyle-2.0.1/PKG-INFO 2020-03-23 08:16:22.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-codestyle
-Version: 2.0.0
+Version: 2.0.1
Summary: pytest plugin to run pycodestyle
Home-page: https://github.com/henry0312/pytest-codestyle
Author: OMOTO Tsukasa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-codestyle-2.0.0/VERSION
new/pytest-codestyle-2.0.1/VERSION
--- old/pytest-codestyle-2.0.0/VERSION 2019-11-17 12:18:21.000000000 +0100
+++ new/pytest-codestyle-2.0.1/VERSION 2020-03-23 08:13:03.000000000 +0100
@@ -1 +1 @@
-2.0.0
+2.0.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-codestyle-2.0.0/pytest_codestyle.egg-info/PKG-INFO
new/pytest-codestyle-2.0.1/pytest_codestyle.egg-info/PKG-INFO
--- old/pytest-codestyle-2.0.0/pytest_codestyle.egg-info/PKG-INFO
2019-11-17 12:20:36.000000000 +0100
+++ new/pytest-codestyle-2.0.1/pytest_codestyle.egg-info/PKG-INFO
2020-03-23 08:16:22.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-codestyle
-Version: 2.0.0
+Version: 2.0.1
Summary: pytest plugin to run pycodestyle
Home-page: https://github.com/henry0312/pytest-codestyle
Author: OMOTO Tsukasa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-codestyle-2.0.0/pytest_pycodestyle.py
new/pytest-codestyle-2.0.1/pytest_pycodestyle.py
--- old/pytest-codestyle-2.0.0/pytest_pycodestyle.py 2019-11-17
12:18:21.000000000 +0100
+++ new/pytest-codestyle-2.0.1/pytest_pycodestyle.py 2020-03-23
08:10:22.000000000 +0100
@@ -1,3 +1,5 @@
+import warnings
+
import py.io
import pycodestyle
import pytest
@@ -27,6 +29,9 @@
CACHE_KEY = 'pycodestyle/mtimes'
def __init__(self, path, parent, options):
+ warnings.warn("pytest-codestyle is no longer supported. "
+ "Please switch from pytest-codestyle to
pytest-pycodestyle "
+ "(https://pypi.org/project/pytest-pycodestyle/).",
DeprecationWarning)
super().__init__(path, parent)
self.add_marker('pycodestyle')
self.options = options