Hello community,

here is the log from the commit of package python-flake8-future-import for 
openSUSE:Factory checked in at 2019-09-13 15:01:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-future-import (Old)
 and      /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flake8-future-import"

Fri Sep 13 15:01:10 2019 rev:4 rq:730400 version:0.4.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-flake8-future-import/python-flake8-future-import.changes
  2019-02-01 11:48:28.896365410 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-future-import.new.7948/python-flake8-future-import.changes
        2019-09-13 15:03:21.161281809 +0200
@@ -1,0 +2,7 @@
+Thu Sep 12 12:35:38 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.4.6:
+  * fixes for new python releases
+- Remove patch python37.patch
+
+-------------------------------------------------------------------

Old:
----
  flake8-future-import-0.4.5.tar.gz
  python37.patch

New:
----
  flake8-future-import-0.4.6.tar.gz

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

Other differences:
------------------
++++++ python-flake8-future-import.spec ++++++
--- /var/tmp/diff_new_pack.4qRbcV/_old  2019-09-13 15:03:22.033281623 +0200
+++ /var/tmp/diff_new_pack.4qRbcV/_new  2019-09-13 15:03:22.033281623 +0200
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-flake8-future-import
-Version:        0.4.5
+Version:        0.4.6
 Release:        0
 Summary:        __future__ import checker, plugin for flake8
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/xZise/flake8-future-import
 Source:         
https://files.pythonhosted.org/packages/source/f/flake8-future-import/flake8-future-import-%{version}.tar.gz
-Patch0:         python37.patch
 BuildRequires:  %{python_module flake8}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -49,7 +48,6 @@
 
 %prep
 %setup -q -n flake8-future-import-%{version}
-%patch0 -p1
 mv test_flake8_future_import.py test_flake8_future_import.py.in
 
 %build

++++++ flake8-future-import-0.4.5.tar.gz -> flake8-future-import-0.4.6.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-future-import-0.4.5/PKG-INFO 
new/flake8-future-import-0.4.6/PKG-INFO
--- old/flake8-future-import-0.4.5/PKG-INFO     2018-04-15 14:55:13.000000000 
+0200
+++ new/flake8-future-import-0.4.6/PKG-INFO     2019-08-04 15:08:39.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: flake8-future-import
-Version: 0.4.5
+Version: 0.4.6
 Summary: __future__ import checker, plugin for flake8
 Home-page: https://github.com/xZise/flake8-future-import
 Author: Fabian Neundorf
@@ -10,7 +10,7 @@
 Description: __future__ import checker
         =========================
         
-        .. image:: 
https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.5
+        .. image:: 
https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.6
            :alt: Build Status
            :target: https://travis-ci.org/xZise/flake8-future-import
         
@@ -52,7 +52,7 @@
         is available in ``flake8``::
         
           $ flake8 --version
-          2.0 (pep8: 1.4.2, flake8-future-imports: 0.4.3, pyflakes: 0.6.1)
+          3.5.0 (flake8-future-imports: 0.4.6, mccabe: 0.6.1, pycodestyle: 
2.3.1, pyflakes: 1.6.0)
         
         By default the plugin will check for all the future imports but with
         ``--ignore`` it's possible to define which imports from ``__future__`` 
are
@@ -101,6 +101,8 @@
         +------+--------------------------------------------------+
         | FI17 | ``__future__`` import "generators" missing       |
         +------+--------------------------------------------------+
+        | FI12 | ``__future__`` import "annotations" missing      |
+        +------+--------------------------------------------------+
         +------+--------------------------------------------------+
         | FI50 | ``__future__`` import "division" present         |
         +------+--------------------------------------------------+
@@ -118,6 +120,8 @@
         +------+--------------------------------------------------+
         | FI57 | ``__future__`` import "generators" present       |
         +------+--------------------------------------------------+
+        | FI58 | ``__future__`` import "annotations" present      |
+        +------+--------------------------------------------------+
         +------+--------------------------------------------------+
         | FI90 | ``__future__`` import does not exist             |
         +------+--------------------------------------------------+
@@ -140,19 +144,24 @@
         Changes
         -------
         
+        0.4.6 - 2019-08-04
+        ``````````````````
+        * Add new ``annotations`` feature.
+        
         0.4.5 - 2018-04-15
         ``````````````````
         * Support pip version 10 in the tests.
-        * Add `LICENSE` and `test_flake8_future_import.py` to the source 
distribution.
+        * Add ``LICENSE`` and ``test_flake8_future_import.py`` to the source
+          distribution.
         
         0.4.4 - 2018-01-05
         ``````````````````
-        * Add `Flake8` framework classifier.
+        * Add ``Flake8`` framework classifier.
         
         0.4.3 - 2016-07-01
         ``````````````````
-        * Restore old option name behaviour that an option like `min-version` 
in the
-          tox.ini is recognized.
+        * When using Flake8 version 2, it wasn't correctly looking for the 
options in
+          the ``tox.ini`` file. This is restoring the old behaviour there.
         
         0.4.2 - 2016-07-01
         ``````````````````
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-future-import-0.4.5/README.rst 
new/flake8-future-import-0.4.6/README.rst
--- old/flake8-future-import-0.4.5/README.rst   2018-04-15 14:52:42.000000000 
+0200
+++ new/flake8-future-import-0.4.6/README.rst   2019-08-04 15:07:17.000000000 
+0200
@@ -1,7 +1,7 @@
 __future__ import checker
 =========================
 
-.. image:: 
https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.5
+.. image:: 
https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.6
    :alt: Build Status
    :target: https://travis-ci.org/xZise/flake8-future-import
 
@@ -43,7 +43,7 @@
 is available in ``flake8``::
 
   $ flake8 --version
-  2.0 (pep8: 1.4.2, flake8-future-imports: 0.4.3, pyflakes: 0.6.1)
+  3.5.0 (flake8-future-imports: 0.4.6, mccabe: 0.6.1, pycodestyle: 2.3.1, 
pyflakes: 1.6.0)
 
 By default the plugin will check for all the future imports but with
 ``--ignore`` it's possible to define which imports from ``__future__`` are
@@ -92,6 +92,8 @@
 +------+--------------------------------------------------+
 | FI17 | ``__future__`` import "generators" missing       |
 +------+--------------------------------------------------+
+| FI12 | ``__future__`` import "annotations" missing      |
++------+--------------------------------------------------+
 +------+--------------------------------------------------+
 | FI50 | ``__future__`` import "division" present         |
 +------+--------------------------------------------------+
@@ -109,6 +111,8 @@
 +------+--------------------------------------------------+
 | FI57 | ``__future__`` import "generators" present       |
 +------+--------------------------------------------------+
+| FI58 | ``__future__`` import "annotations" present      |
++------+--------------------------------------------------+
 +------+--------------------------------------------------+
 | FI90 | ``__future__`` import does not exist             |
 +------+--------------------------------------------------+
@@ -131,19 +135,24 @@
 Changes
 -------
 
+0.4.6 - 2019-08-04
+``````````````````
+* Add new ``annotations`` feature.
+
 0.4.5 - 2018-04-15
 ``````````````````
 * Support pip version 10 in the tests.
-* Add `LICENSE` and `test_flake8_future_import.py` to the source distribution.
+* Add ``LICENSE`` and ``test_flake8_future_import.py`` to the source
+  distribution.
 
 0.4.4 - 2018-01-05
 ``````````````````
-* Add `Flake8` framework classifier.
+* Add ``Flake8`` framework classifier.
 
 0.4.3 - 2016-07-01
 ``````````````````
-* Restore old option name behaviour that an option like `min-version` in the
-  tox.ini is recognized.
+* When using Flake8 version 2, it wasn't correctly looking for the options in
+  the ``tox.ini`` file. This is restoring the old behaviour there.
 
 0.4.2 - 2016-07-01
 ``````````````````
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/flake8-future-import-0.4.5/flake8_future_import.egg-info/PKG-INFO 
new/flake8-future-import-0.4.6/flake8_future_import.egg-info/PKG-INFO
--- old/flake8-future-import-0.4.5/flake8_future_import.egg-info/PKG-INFO       
2018-04-15 14:55:13.000000000 +0200
+++ new/flake8-future-import-0.4.6/flake8_future_import.egg-info/PKG-INFO       
2019-08-04 15:08:39.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: flake8-future-import
-Version: 0.4.5
+Version: 0.4.6
 Summary: __future__ import checker, plugin for flake8
 Home-page: https://github.com/xZise/flake8-future-import
 Author: Fabian Neundorf
@@ -10,7 +10,7 @@
 Description: __future__ import checker
         =========================
         
-        .. image:: 
https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.5
+        .. image:: 
https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.6
            :alt: Build Status
            :target: https://travis-ci.org/xZise/flake8-future-import
         
@@ -52,7 +52,7 @@
         is available in ``flake8``::
         
           $ flake8 --version
-          2.0 (pep8: 1.4.2, flake8-future-imports: 0.4.3, pyflakes: 0.6.1)
+          3.5.0 (flake8-future-imports: 0.4.6, mccabe: 0.6.1, pycodestyle: 
2.3.1, pyflakes: 1.6.0)
         
         By default the plugin will check for all the future imports but with
         ``--ignore`` it's possible to define which imports from ``__future__`` 
are
@@ -101,6 +101,8 @@
         +------+--------------------------------------------------+
         | FI17 | ``__future__`` import "generators" missing       |
         +------+--------------------------------------------------+
+        | FI12 | ``__future__`` import "annotations" missing      |
+        +------+--------------------------------------------------+
         +------+--------------------------------------------------+
         | FI50 | ``__future__`` import "division" present         |
         +------+--------------------------------------------------+
@@ -118,6 +120,8 @@
         +------+--------------------------------------------------+
         | FI57 | ``__future__`` import "generators" present       |
         +------+--------------------------------------------------+
+        | FI58 | ``__future__`` import "annotations" present      |
+        +------+--------------------------------------------------+
         +------+--------------------------------------------------+
         | FI90 | ``__future__`` import does not exist             |
         +------+--------------------------------------------------+
@@ -140,19 +144,24 @@
         Changes
         -------
         
+        0.4.6 - 2019-08-04
+        ``````````````````
+        * Add new ``annotations`` feature.
+        
         0.4.5 - 2018-04-15
         ``````````````````
         * Support pip version 10 in the tests.
-        * Add `LICENSE` and `test_flake8_future_import.py` to the source 
distribution.
+        * Add ``LICENSE`` and ``test_flake8_future_import.py`` to the source
+          distribution.
         
         0.4.4 - 2018-01-05
         ``````````````````
-        * Add `Flake8` framework classifier.
+        * Add ``Flake8`` framework classifier.
         
         0.4.3 - 2016-07-01
         ``````````````````
-        * Restore old option name behaviour that an option like `min-version` 
in the
-          tox.ini is recognized.
+        * When using Flake8 version 2, it wasn't correctly looking for the 
options in
+          the ``tox.ini`` file. This is restoring the old behaviour there.
         
         0.4.2 - 2016-07-01
         ``````````````````
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-future-import-0.4.5/flake8_future_import.py 
new/flake8-future-import-0.4.6/flake8_future_import.py
--- old/flake8-future-import-0.4.5/flake8_future_import.py      2018-04-15 
14:52:42.000000000 +0200
+++ new/flake8-future-import-0.4.6/flake8_future_import.py      2019-08-04 
15:07:17.000000000 +0200
@@ -15,7 +15,7 @@
 
 from ast import NodeVisitor, Str, Module, parse
 
-__version__ = '0.4.5'
+__version__ = '0.4.6'
 
 
 class FutureImportVisitor(NodeVisitor):
@@ -76,11 +76,12 @@
 GENERATOR_STOP = Feature(5, 'generator_stop', (3, 5, 0), (3, 7, 0))
 NESTED_SCOPES = Feature(6, 'nested_scopes', (2, 1, 0), (2, 2, 0))
 GENERATORS = Feature(7, 'generators', (2, 2, 0), (2, 3, 0))
+ANNOTATIONS = Feature(8, 'annotations', (3, 7, 0), (4, 0, 0))
 
 
 # Order important as it defines the error code
 ALL_FEATURES = (DIVISION, ABSOLUTE_IMPORT, WITH_STATEMENT, PRINT_FUNCTION,
-                UNICODE_LITERALS, GENERATOR_STOP, NESTED_SCOPES, GENERATORS)
+                UNICODE_LITERALS, GENERATOR_STOP, NESTED_SCOPES, GENERATORS, 
ANNOTATIONS)
 FEATURES = dict((feature.name, feature) for feature in ALL_FEATURES)
 FEATURE_NAMES = frozenset(feature.name for feature in ALL_FEATURES)
 # Make sure the features aren't messed up
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/flake8-future-import-0.4.5/test_flake8_future_import.py 
new/flake8-future-import-0.4.6/test_flake8_future_import.py
--- old/flake8-future-import-0.4.5/test_flake8_future_import.py 2018-04-15 
14:52:42.000000000 +0200
+++ new/flake8-future-import-0.4.6/test_flake8_future_import.py 2019-08-04 
15:07:17.000000000 +0200
@@ -135,14 +135,14 @@
         """Do not care about already mandatory or not yet available 
features."""
         self.run_checker(
             (2, 6, 0),
-            set(['nested_scopes', 'generators', 'with_statement', 
'generator_stop']),
+            set(['nested_scopes', 'generators', 'with_statement', 
'generator_stop', 'annotations']),
             ('unicode_literals', ))
 
     def test_use_of_unavailable(self):
         """Use an import which is to new for the minimum version."""
         self.run_checker(
             (2, 6, 0),
-            set(['nested_scopes', 'generators', 'with_statement']),
+            set(['nested_scopes', 'generators', 'with_statement', 
'annotations']),
             ('generator_stop', ))
 
 


Reply via email to