commit python-flake8-pyi for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8-pyi for openSUSE:Factory checked in at 2020-05-28 09:07:00 Comparing /work/SRC/openSUSE:Factory/python-flake8-pyi (Old) and /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.3606 (New) Package is "python-flake8-pyi" Thu May 28 09:07:00 2020 rev:5 rq:805997 version:20.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-flake8-pyi/python-flake8-pyi.changes 2019-03-10 09:37:30.192145668 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.3606/python-flake8-pyi.changes 2020-05-28 09:07:07.111662901 +0200 @@ -1,0 +2,9 @@ +Fri May 15 21:22:02 UTC 2020 - Benjamin Greiner + +- Update to v20.5.0 + * support flake8 3.8.0 + * introduce Y091 (function body must not contain "raise") + * introduce Y015 (attribute must not have a default value other than "...") + * introduce Y092 (top-level attribute must not have a default value) + +--- Old: flake8-pyi-19.3.0.tar.gz New: flake8-pyi-20.5.0.tar.gz Other differences: -- ++ python-flake8-pyi.spec ++ --- /var/tmp/diff_new_pack.Zvd0rq/_old 2020-05-28 09:07:07.959665444 +0200 +++ /var/tmp/diff_new_pack.Zvd0rq/_new 2020-05-28 09:07:07.963665456 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-flake8-pyi # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -19,12 +19,12 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-pyi -Version:19.3.0 +Version:20.5.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 +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} @@ -50,7 +50,7 @@ %description A plugin for Flake8 that provides specializations for type hinting stub -files , especially interesting for linting typeshed. +files. Especially interesting for linting typeshed. %prep %setup -q -n flake8-pyi-%{version} @@ -62,14 +62,16 @@ %install %python_install -%fdupes %{buildroot}%{python3_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -PYTHONPATH=%{buildroot}%{python3_sitelib} py.test3 -v tests +%pytest -v tests %files %{python_files} %license LICENSE %doc README.rst -%{python3_sitelib}/* +%{python_sitelib}/pyi.py* +%{pycache_only %{python_sitelib}/__pycache__/pyi.*.py*} +%{python_sitelib}/flake8_pyi-%{version}-*.egg-info %changelog ++ flake8-pyi-19.3.0.tar.gz -> flake8-pyi-20.5.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-19.3.0/LICENSE new/flake8-pyi-20.5.0/LICENSE --- old/flake8-pyi-19.3.0/LICENSE 1970-01-01 01:00:00.0 +0100 +++ new/flake8-pyi-20.5.0/LICENSE 2017-05-04 02:56:08.0 +0200 @@ -0,0 +1,21 @@ +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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-19.3.0/MANIFEST.in new/flake8-pyi-20.5.0/MANIFEST.in --- old/flake8-pyi-19.3.0/MANIFEST.in 2018-12-08 16:46:26.0 +0100 +++
commit python-flake8-pyi for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8-pyi for openSUSE:Factory checked in at 2019-03-10 09:37:27 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" Sun Mar 10 09:37:27 2019 rev:4 rq:682604 version:19.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-flake8-pyi/python-flake8-pyi.changes 2019-03-01 16:48:31.461774161 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.28833/python-flake8-pyi.changes 2019-03-10 09:37:30.192145668 +0100 @@ -1,0 +2,9 @@ +Thu Mar 7 16:34:17 UTC 2019 - John Vandenberg + +- Fix python base dependency to allow on Python 3.6 +- Make dependency on python-typing explicit +- Update to v19.3.0 + - Set pyflakes minimum dependency + - Blacken source + +--- Old: flake8-pyi-19.2.0.tar.gz New: flake8-pyi-19.3.0.tar.gz Other differences: -- ++ python-flake8-pyi.spec ++ --- /var/tmp/diff_new_pack.CNAz4O/_old 2019-03-10 09:37:31.488145358 +0100 +++ /var/tmp/diff_new_pack.CNAz4O/_new 2019-03-10 09:37:31.492145357 +0100 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-pyi -Version:19.2.0 +Version:19.3.0 Release:0 Summary:A plugin for flake8 to enable linting .pyi files License:MIT @@ -27,18 +27,23 @@ 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 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} +BuildRequires: %{python_module pyflakes >= 2.1.1} # Use pytest directly to bypass setup.py test dependencies BuildRequires: %{python_module pytest} +BuildRequires: %{python_module typing} # /SECTION BuildRequires: fdupes Requires: python-attrs +Requires: python-base >= 3.6.0 Requires: python-flake8 >= 3.2.1 +Requires: python-pyflakes >= 2.1.1 +Requires: python-typing BuildArch: noarch %python_subpackages ++ flake8-pyi-19.2.0.tar.gz -> flake8-pyi-19.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-19.2.0/.flake8 new/flake8-pyi-19.3.0/.flake8 --- old/flake8-pyi-19.2.0/.flake8 2018-12-08 16:46:26.0 +0100 +++ new/flake8-pyi-19.3.0/.flake8 2019-02-24 02:10:45.0 +0100 @@ -1,7 +1,7 @@ # This is an example .flake8 config, used when developing flake8-pyi itself. [flake8] -ignore = E302, E501, E701, W503 +ignore = E302, E501, E701, W503, E203 max-line-length = 80 max-complexity = 12 select = B,C,E,F,W,Y,B9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-19.2.0/PKG-INFO new/flake8-pyi-19.3.0/PKG-INFO --- old/flake8-pyi-19.2.0/PKG-INFO 2019-02-23 08:31:11.0 +0100 +++ new/flake8-pyi-19.3.0/PKG-INFO 2019-03-01 04:32:36.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: flake8-pyi -Version: 19.2.0 +Version: 19.3.0 Summary: A plugin for flake8 to enable linting .pyi files. Home-page: https://github.com/ambv/flake8-pyi Author: Łukasz Langa @@ -113,6 +113,11 @@ Change Log -- +19.3.0 +~~ + +* update pyflakes dependency + 19.2.0 ~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-19.2.0/README.rst new/flake8-pyi-19.3.0/README.rst --- old/flake8-pyi-19.2.0/README.rst2019-02-23 08:30:43.0 +0100 +++ new/flake8-pyi-19.3.0/README.rst2019-03-01 04:31:08.0 +0100 @@ -105,6 +105,11 @@ Change Log -- +19.3.0 +~~ + +* update pyflakes dependency + 19.2.0 ~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-19.2.0/flake8_pyi.egg-info/PKG-INFO new/flake8-pyi-19.3.0/flake8_pyi.egg-info/PKG-INFO --- old/flake8-pyi-19.2.0/flake8_pyi.egg-info/PKG-INFO 2019-02-23 08:31:11.0 +0100 +++ new/flake8-pyi-19.3.0/flake8_pyi.egg-info/PKG-INFO 2019-03-01 04:32:36.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: flake8-pyi -Version: 19.2.0
commit python-flake8-pyi for openSUSE:Factory
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 + +- 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 ---
commit python-flake8-pyi for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8-pyi for openSUSE:Factory checked in at 2018-12-10 12:29:27 Comparing /work/SRC/openSUSE:Factory/python-flake8-pyi (Old) and /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.19453 (New) Package is "python-flake8-pyi" Mon Dec 10 12:29:27 2018 rev:2 rq:656429 version:18.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-flake8-pyi/python-flake8-pyi.changes 2018-10-23 20:42:41.360379518 +0200 +++ /work/SRC/openSUSE:Factory/.python-flake8-pyi.new.19453/python-flake8-pyi.changes 2018-12-10 12:29:27.554459752 +0100 @@ -1,0 +2,5 @@ +Sat Dec 8 21:23:56 UTC 2018 - Matej Cepl + +- Use tarball from the master as of 2018-12-08 to test #16 + +--- Other differences: -- ++ python-flake8-pyi.spec ++ --- /var/tmp/diff_new_pack.SaB0Ic/_old 2018-12-10 12:29:27.958459348 +0100 +++ /var/tmp/diff_new_pack.SaB0Ic/_new 2018-12-10 12:29:27.962459343 +0100 @@ -12,20 +12,22 @@ # 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/ +# + %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-pyi Version:18.3.1 Release:0 -License:MIT Summary:A plugin for flake8 to enable linting .pyi files -Url:https://github.com/ambv/flake8-pyi +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 -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module attrs} BuildRequires: %{python_module flake8 >= 3.2.1} @@ -54,13 +56,11 @@ %python_install %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 - %files %{python_files} %doc README.rst %{python3_sitelib}/* ++ flake8-pyi-18.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-18.3.1/.flake8 new/flake8-pyi-18.3.1/.flake8 --- old/flake8-pyi-18.3.1/.flake8 1970-01-01 01:00:00.0 +0100 +++ new/flake8-pyi-18.3.1/.flake8 2018-12-08 22:22:09.0 +0100 @@ -0,0 +1,7 @@ +# This is an example .flake8 config, used when developing flake8-pyi itself. + +[flake8] +ignore = E302, E501, E701, W503 +max-line-length = 80 +max-complexity = 12 +select = B,C,E,F,W,Y,B9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-18.3.1/MANIFEST.in new/flake8-pyi-18.3.1/MANIFEST.in --- old/flake8-pyi-18.3.1/MANIFEST.in 2016-12-22 20:42:47.0 +0100 +++ new/flake8-pyi-18.3.1/MANIFEST.in 2018-12-08 22:22:09.0 +0100 @@ -1,2 +1,3 @@ include *.rst +include .flake8 recursive-include tests *.pyi *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-pyi-18.3.1/PKG-INFO new/flake8-pyi-18.3.1/PKG-INFO --- old/flake8-pyi-18.3.1/PKG-INFO 2018-03-29 05:36:07.0 +0200 +++ new/flake8-pyi-18.3.1/PKG-INFO 2018-12-08 22:22:40.0 +0100 @@ -1,4 +1,4 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: flake8-pyi Version: 18.3.1 Summary: A plugin for flake8 to enable linting .pyi files. @@ -69,6 +69,10 @@ * Y011: All default values for typed function arguments must be "...". Type checkers ignore the default value, so the default value is not useful information in a stub file. +* Y012: Class body must not contain "pass". +* Y013: Non-empty class body must not contain "...". +* Y014: All default values for arguments must be "...". A stronger version + of Y011 that includes arguments without type annotations. The following warnings are disabled by default: @@ -109,6 +113,11 @@ Change Log -- +18.10.0 +~~~ + +* use --stdin-display-name as the filename when reading from stdin + 18.3.1 ~~ @@ -168,3 +177,4 @@ Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Software Development :: Libraries ::