Hello community, here is the log from the commit of package python3-flake8 for openSUSE:Factory checked in at 2016-09-25 14:42:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-flake8 (Old) and /work/SRC/openSUSE:Factory/.python3-flake8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-flake8" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-flake8/python3-flake8.changes 2016-08-18 09:17:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-flake8.new/python3-flake8.changes 2016-09-25 14:42:17.000000000 +0200 @@ -1,0 +2,79 @@ +Thu Sep 22 15:17:52 UTC 2016 - [email protected] + +- Update to 3.0.4 + * Side-step a Pickling Error when using Flake8 with multiprocessing on Unix + systems. (See also `GitLab#164`_) + * Fix an Attribute Error raised when dealing with Invalid Syntax. (See also + `GitLab#203`_) + * Fix an unhandled Syntax Error when tokenizing files. (See also + `GitLab#205`_) +- Update to 3.0.3 + * Disable ``--jobs`` for any version of Python on Windows. + (See also `this Python bug report`_) + * Raise exception when entry_point in plugin not callable. + This raises an informative error when a plugin fails to load because its + entry_point is not callable, which can happen with a plugin which is buggy or + not updated for the current version of flake8. This is nicer than raising a + `PicklingError` about failing to pickle a module (See also `GitLab#164`_) + * Fix ``# noqa`` comments followed by a ``:`` and explanation broken by + 3.0.0 (See also `GitLab#178`_) + * Always open our output file in append mode so we do not overwrite log + messages. (See also `GitLab#193`_) + * When normalizing path values read from configuration, keep in context the + directory where the configuration was found so that relative paths work. + (See also `GitLab#194`_) + * Fix issue where users were unable to ignore plugin errors that were on + by default. (See also `GitLab#195`_) + * Fix our legacy API StyleGuide's ``init_report`` method to actually override + the previous formatter. (See also `GitLab#200`_) +- Update to 3.0.2 + * Fix local config file discovery. (See also `GitLab#181`_) + * Fix indexing of column numbers. We accidentally were starting column indices + at 0 instead of 1. + * Fix regression in handling of errors like E402 that rely on a combination of + attributes. (See also `GitLab#186`_) +- Update to 3.0.1 + * Fix regression in handling of ``# noqa`` for multiline strings. + (See also `GitLab#177`_) + * Fix regression in handling of ``--output-file`` when not also using + ``--verbose``. (See also `GitLab#180`_) + * Fix regression in handling of ``--quiet``. (See also `GitLab#180`_) + * Fix regression in handling of ``--statistics``. (See also `GitLab#180`_) +- Update to 3.0.0 + * Rewrite our documentation from scratch! (http://flake8.pycqa.org) + * Drop explicit support for Pythons 2.6, 3.2, and 3.3. + * Remove dependence on pep8/pycodestyle for file processing, plugin + dispatching, and more. We now control all of this while keeping backwards + compatibility. + * ``--select`` and ``--ignore`` can now both be specified and try to find the + most specific rule from each. For example, if you do ``--select E --ignore + E123`` then we will report everything that starts with ``E`` except for + ``E123``. Previously, you would have had to do ``--ignore E123,F,W`` which + will also still work, but the former should be far more intuitive. + * Add support for in-line ``# noqa`` comments to specify **only** the error + codes to be ignored, e.g., ``# noqa: E123,W503`` + * Add entry-point for formatters as well as a base class that new formatters + can inherit from. See the documentation for more details. + * Add detailed verbose output using the standard library logging module. + * Enhance our usage of optparse for plugin developers by adding new parameters + to the ``add_option`` that plugins use to register new options. + * Update ``--install-hook`` to require the name of version control system hook + you wish to install a Flake8. + * Stop checking sub-directories more than once via the setuptools command + * When passing a file on standard-in, allow the caller to specify + ``--stdin-display-name`` so the output is properly formatted + * The Git hook now uses ``sys.executable`` to format the shebang line. + This allows Flake8 to install a hook script from a virtualenv that points to + that virtualenv's Flake8 as opposed to a global one (without the virtualenv + being sourced). + * Print results in a deterministic and consistent ordering when used with + multiprocessing + * When using ``--count``, the output is no longer written to stderr. + * AST plugins can either be functions or classes and all plugins can now + register options so long as there are callable attributes named as we + expect. +- Add move_pytest_options_to_pytest_ini.patch to fix tests. + Should be in next upstream release in some form. +- Add allow_pyflakes_1_3_0.patch to allow latest pyflakes version. + +------------------------------------------------------------------- Old: ---- flake8-2.6.2.tar.gz New: ---- allow_pyflakes_1_3_0.patch flake8-3.0.4.tar.gz move_pytest_options_to_pytest_ini.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-flake8.spec ++++++ --- /var/tmp/diff_new_pack.dDED6T/_old 2016-09-25 14:42:18.000000000 +0200 +++ /var/tmp/diff_new_pack.dDED6T/_new 2016-09-25 14:42:18.000000000 +0200 @@ -17,21 +17,26 @@ Name: python3-flake8 -Version: 2.6.2 +Version: 3.0.4 Release: 0 Summary: Modular source code checker: pep8, pyflakes and co License: MIT Group: Development/Languages/Python Url: https://gitlab.com/pycqa/flake8 Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz +# PATCH-FIX-UPSTREAM move_pytest_options_to_pytest_ini.patch -- Test suite fixes -- https://gitlab.com/pycqa/flake8/merge_requests/123/ +Patch0: move_pytest_options_to_pytest_ini.patch +# PATCH-FIX-UPSTREAM allow_pyflakes_1_3_0.patch -- Allow pyflakes 1.3.0 -- https://gitlab.com/pycqa/flake8/issues/220 +Patch1: allow_pyflakes_1_3_0.patch BuildRequires: python3-devel -BuildRequires: python3-distribute +BuildRequires: python3-setuptools BuildRequires: python3-mccabe >= 0.2 BuildRequires: python3-pycodestyle >= 1.4.3 BuildRequires: python3-pyflakes >= 0.6.1 # Test requirements: BuildRequires: python3-mock -BuildRequires: python3-nose +BuildRequires: python3-pytest +BuildRequires: python3-pytest-runner Requires: python3-mccabe >= 0.2 Requires: python3-pycodestyle >= 1.4.3 Requires: python3-pyflakes >= 0.6.1 @@ -51,6 +56,8 @@ %prep %setup -q -n flake8-%{version} +%patch0 -p1 +%patch1 -p1 %build python3 setup.py build @@ -73,6 +80,8 @@ fi %check +# create empty tox.ini file expected by tests +echo '' > tox.ini python3 setup.py test %files ++++++ allow_pyflakes_1_3_0.patch ++++++ >From 4bd4d4ce9caaba5841b7d1987a99ada3d3b9ffb2 Mon Sep 17 00:00:00 2001 From: Alex Gaynor <[email protected]> Date: Fri, 2 Sep 2016 12:54:21 +0000 Subject: [PATCH] Bumped maximum pyflakes version to allow usage of pyflakes 1.3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d95530c..08335a5 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ import flake8 tests_require = ['mock', 'pytest'] requires = [ - "pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.3.0", + "pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.4.0", "pycodestyle >= 2.0.0, < 2.1.0", "mccabe >= 0.5.0, < 0.6.0", ] -- libgit2 0.24.0 ++++++ flake8-2.6.2.tar.gz -> flake8-3.0.4.tar.gz ++++++ ++++ 66890 lines of diff (skipped) ++++++ move_pytest_options_to_pytest_ini.patch ++++++ >From 990e237e1bc10f90947854575f0ee86ac8dec5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <[email protected]> Date: Sun, 18 Sep 2016 11:10:09 +0300 Subject: [PATCH 1/2] setup.cfg: Move pytest options to pytest.ini https://github.com/pytest-dev/pytest/issues/567 --- pytest.ini | 3 +++ setup.cfg | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..39a29fe --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +norecursedirs = .git .* *.egg* old docs dist build +addopts = -rw diff --git a/setup.cfg b/setup.cfg index 218ddcc..8d84284 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,10 +11,6 @@ pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.3.0 pycodestyle >= 2.0.0, < 2.1.0 mccabe >= 0.5.0, < 0.6.0 - -[pytest] -norecursedirs = .git .* *.egg* old docs dist build -addopts = -rw [egg_info] tag_build = -- 2.7.4 >From 17b88586d371123cc61d05079cc05b92f3268773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <[email protected]> Date: Sun, 18 Sep 2016 20:38:06 +0300 Subject: [PATCH 2/2] MANIFEST: Include *.ini in tarball test_config_file_finder needs tox.ini present to pass. --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index 96b10e7..74b090b 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,7 @@ include *.rst include CONTRIBUTORS.txt include LICENSE +include *.ini global-exclude *.pyc recursive-include docs *.rst *.py recursive-include tests *.py *.ini *.rst *_diff -- 2.7.4
