Hello community,

here is the log from the commit of package python-flake8-pyi for 
openSUSE:Factory checked in at 2019-03-01 16:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-pyi (Old)
 and      /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flake8-pyi"

Fri Mar  1 16:48:28 2019 rev:3 rq:680080 version:19.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flake8-pyi/python-flake8-pyi.changes      
2018-12-10 12:29:27.554459752 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-pyi.new.28833/python-flake8-pyi.changes
   2019-03-01 16:48:31.461774161 +0100
@@ -1,0 +2,15 @@
+Thu Feb 28 09:43:51 UTC 2019 - John Vandenberg <[email protected]>
+
+- Remove workaround for two previously failing tests fixed upstream
+- Add build dependency on Python 3.6+
+- Add LICENSE
+- Udpate to v19.2.0
+  * Support 3.7 
+  * Be explicit in setup.py about Python 3.6+ 
+  * add `.flake8` to manifest file
+  * Use --stdin-display-name as filename when reading from stdin
+  * Add rules for checking an empty class
+  * Add a check for non-ellipsis, non-typed arguments 
+  * Coding style improvements
+
+-------------------------------------------------------------------

Old:
----
  flake8-pyi-18.3.1.tar.gz

New:
----
  LICENSE
  flake8-pyi-19.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-flake8-pyi.spec ++++++
--- /var/tmp/diff_new_pack.4umblM/_old  2019-03-01 16:48:31.997773958 +0100
+++ /var/tmp/diff_new_pack.4umblM/_new  2019-03-01 16:48:31.997773958 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flake8-pyi
 #
-# 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
@@ -19,19 +19,21 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-flake8-pyi
-Version:        18.3.1
+Version:        19.2.0
 Release:        0
 Summary:        A plugin for flake8 to enable linting .pyi files
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://github.com/ambv/flake8-pyi
 Source:         
https://files.pythonhosted.org/packages/source/f/flake8-pyi/flake8-pyi-%{version}.tar.gz
+Source1:        
https://raw.githubusercontent.com/ambv/flake8-pyi/master/LICENSE
+BuildRequires:  %{python_module base > 3.6.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module attrs}
 BuildRequires:  %{python_module flake8 >= 3.2.1}
-# pytest has better way how to exclude some tests
+# Use pytest directly to bypass setup.py test dependencies
 BuildRequires:  %{python_module pytest}
 # /SECTION
 BuildRequires:  fdupes
@@ -48,6 +50,7 @@
 %prep
 %setup -q -n flake8-pyi-%{version}
 sed -i '1{\,^#!%{_bindir}/env python,d}' pyi.py
+cp %{SOURCE1} .
 
 %build
 %python_build
@@ -57,11 +60,10 @@
 %fdupes %{buildroot}%{python3_sitelib}
 
 %check
-# https://github.com/ambv/flake8-pyi/issues/16
-exc_tests="test_defaults or test_function_def"
-PYTHONPATH=%{buildroot}%{python3_sitelib} py.test3 -v -k "not ($exc_tests)" 
tests
+PYTHONPATH=%{buildroot}%{python3_sitelib} py.test3 -v tests
 
 %files %{python_files}
+%license LICENSE
 %doc README.rst
 %{python3_sitelib}/*
 

++++++ LICENSE ++++++
The MIT License (MIT)

Copyright (c) 2016 Łukasz Langa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
++++++ flake8-pyi-18.3.1.tar.gz -> flake8-pyi-19.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pyi-18.3.1/PKG-INFO 
new/flake8-pyi-19.2.0/PKG-INFO
--- old/flake8-pyi-18.3.1/PKG-INFO      2018-12-08 22:22:40.000000000 +0100
+++ new/flake8-pyi-19.2.0/PKG-INFO      2019-02-23 08:31:11.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: flake8-pyi
-Version: 18.3.1
+Version: 19.2.0
 Summary: A plugin for flake8 to enable linting .pyi files.
 Home-page: https://github.com/ambv/flake8-pyi
 Author: Łukasz Langa
@@ -113,9 +113,12 @@
         Change Log
         ----------
         
-        18.10.0
+        19.2.0
         ~~~~~~~
         
+        * support Python 3.7
+        * add a check for non-ellipsis, non-typed arguments
+        * add checks for checking empty classes
         * use --stdin-display-name as the filename when reading from stdin
         
         18.3.1
@@ -175,6 +178,7 @@
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Quality Assurance
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pyi-18.3.1/README.rst 
new/flake8-pyi-19.2.0/README.rst
--- old/flake8-pyi-18.3.1/README.rst    2018-12-08 22:22:09.000000000 +0100
+++ new/flake8-pyi-19.2.0/README.rst    2019-02-23 08:30:43.000000000 +0100
@@ -105,9 +105,12 @@
 Change Log
 ----------
 
-18.10.0
+19.2.0
 ~~~~~~~
 
+* support Python 3.7
+* add a check for non-ellipsis, non-typed arguments
+* add checks for checking empty classes
 * use --stdin-display-name as the filename when reading from stdin
 
 18.3.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pyi-18.3.1/flake8_pyi.egg-info/PKG-INFO 
new/flake8-pyi-19.2.0/flake8_pyi.egg-info/PKG-INFO
--- old/flake8-pyi-18.3.1/flake8_pyi.egg-info/PKG-INFO  2018-12-08 
22:22:39.000000000 +0100
+++ new/flake8-pyi-19.2.0/flake8_pyi.egg-info/PKG-INFO  2019-02-23 
08:31:11.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: flake8-pyi
-Version: 18.3.1
+Version: 19.2.0
 Summary: A plugin for flake8 to enable linting .pyi files.
 Home-page: https://github.com/ambv/flake8-pyi
 Author: Łukasz Langa
@@ -113,9 +113,12 @@
         Change Log
         ----------
         
-        18.10.0
+        19.2.0
         ~~~~~~~
         
+        * support Python 3.7
+        * add a check for non-ellipsis, non-typed arguments
+        * add checks for checking empty classes
         * use --stdin-display-name as the filename when reading from stdin
         
         18.3.1
@@ -175,6 +178,7 @@
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Quality Assurance
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pyi-18.3.1/flake8_pyi.egg-info/requires.txt 
new/flake8-pyi-19.2.0/flake8_pyi.egg-info/requires.txt
--- old/flake8-pyi-18.3.1/flake8_pyi.egg-info/requires.txt      2018-12-08 
22:22:39.000000000 +0100
+++ new/flake8-pyi-19.2.0/flake8_pyi.egg-info/requires.txt      2019-02-23 
08:31:11.000000000 +0100
@@ -1,2 +1,2 @@
-flake8>=3.2.1
+flake8<3.7.0,>=3.2.1
 attrs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pyi-18.3.1/pyi.py new/flake8-pyi-19.2.0/pyi.py
--- old/flake8-pyi-18.3.1/pyi.py        2018-12-08 22:22:09.000000000 +0100
+++ new/flake8-pyi-19.2.0/pyi.py        2019-02-23 08:30:43.000000000 +0100
@@ -6,12 +6,13 @@
 from flake8 import checker
 from flake8.plugins.pyflakes import FlakesChecker
 from itertools import chain
+import optparse
 from pathlib import Path
 from pyflakes.checker import PY2, ClassDefinition
 from pyflakes.checker import ModuleScope, ClassScope, FunctionScope
 from typing import Any, Iterable, NamedTuple, Optional, Type
 
-__version__ = '18.3.1'
+__version__ = '19.2.0'
 
 LOG = logging.getLogger('flake8.pyi')
 
@@ -346,11 +347,15 @@
                 option.to_optparse().default = option.default
                 parser.parser.defaults[option.dest] = option.default
 
-        parser.add_option(
-            '--no-pyi-aware-file-checker', default=False, action='store_true',
-            parse_from_config=True,
-            help="don't patch flake8 with .pyi-aware file checker",
-        )
+        try:
+            parser.add_option(
+                '--no-pyi-aware-file-checker', default=False, 
action='store_true',
+                parse_from_config=True,
+                help="don't patch flake8 with .pyi-aware file checker",
+            )
+        except optparse.OptionConflictError:
+            # In tests, sometimes this option gets called twice for some 
reason.
+            pass
         parser.extend_default_ignore(DISABLED_BY_DEFAULT)
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pyi-18.3.1/setup.py 
new/flake8-pyi-19.2.0/setup.py
--- old/flake8-pyi-18.3.1/setup.py      2018-12-08 22:22:09.000000000 +0100
+++ new/flake8-pyi-19.2.0/setup.py      2019-02-23 08:30:43.000000000 +0100
@@ -36,7 +36,7 @@
     py_modules=['pyi'],
     zip_safe=False,
     python_requires=">=3.6",
-    install_requires=['flake8 >= 3.2.1', 'attrs'],
+    install_requires=['flake8 >= 3.2.1, < 3.7.0', 'attrs'],
     test_suite='tests.test_pyi',
     classifiers=[
         'Development Status :: 3 - Alpha',
@@ -47,6 +47,7 @@
         'Operating System :: OS Independent',
         'Programming Language :: Python',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
         'Topic :: Software Development :: Libraries :: Python Modules',
         'Topic :: Software Development :: Quality Assurance',
     ],


Reply via email to