From 1e77eb5aeb5a3ae5a0216254ff800dbf111e97ca6ba54fe2caf07fae2a7a0286 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 19 Oct 2017 21:47:29 +0000 Subject: [PATCH 1/3] Accepting request 534933 from home:alarrosa:branches:devel:languages:python - update to 3.4.1 - Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream in order to allow using pyflakes >= 1.6.0 OBS-URL: https://build.opensuse.org/request/show/534933 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=28 --- ...pyflakes-range-and-include-doc-links.patch | 50 +++++++++++++++++++ flake8-3.3.0.tar.gz | 3 -- flake8-3.4.1.tar.gz | 3 ++ python-flake8.changes | 7 +++ python-flake8.spec | 4 +- 5 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 0001-Update-pyflakes-range-and-include-doc-links.patch delete mode 100644 flake8-3.3.0.tar.gz create mode 100644 flake8-3.4.1.tar.gz diff --git a/0001-Update-pyflakes-range-and-include-doc-links.patch b/0001-Update-pyflakes-range-and-include-doc-links.patch new file mode 100644 index 0000000..e2a2d7f --- /dev/null +++ b/0001-Update-pyflakes-range-and-include-doc-links.patch @@ -0,0 +1,50 @@ +From b714bdff0bba39f653ded12b70f41b0f04cc003f Mon Sep 17 00:00:00 2001 +From: Ian Stapleton Cordasco +Date: Sun, 6 Aug 2017 14:16:12 -0500 +Subject: [PATCH] Update pyflakes range and include doc links + +--- + setup.cfg | 6 +++++- + setup.py | 6 +++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/setup.cfg b/setup.cfg +index aca586c..c035d56 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -5,10 +5,14 @@ test=pytest + universal = 1 + + [metadata] ++# We document the reasoning for using ranges here: ++# http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies ++# And in which releases we will update those ranges here: ++# http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8 + requires-dist = + enum34; python_version<"3.4" + configparser; python_version<"3.2" +- pyflakes >= 1.5.0, < 1.6.0 ++ pyflakes >= 1.5.0, < 1.7.0 + pycodestyle >= 2.0.0, < 2.4.0 + mccabe >= 0.6.0, < 0.7.0 + +diff --git a/setup.py b/setup.py +index 4d40862..aa45e43 100644 +--- a/setup.py ++++ b/setup.py +@@ -17,7 +17,11 @@ tests_require = ['mock >= 2.0.0', 'pytest'] + # NOTE(sigmavirus24): When updating these requirements, update them in + # setup.cfg as well. + requires = [ +- "pyflakes >= 1.5.0, < 1.6.0", ++ # We document the reasoning for using ranges here: ++ # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies ++ # And in which releases we will update those ranges here: ++ # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8 ++ "pyflakes >= 1.5.0, < 1.7.0", + "pycodestyle >= 2.0.0, < 2.4.0", + "mccabe >= 0.6.0, < 0.7.0", + "setuptools >= 30", +-- +libgit2 0.26.0 + diff --git a/flake8-3.3.0.tar.gz b/flake8-3.3.0.tar.gz deleted file mode 100644 index d0d1bcc..0000000 --- a/flake8-3.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b907a26dcf5580753d8f80f1be0ec1d5c45b719f7bac441120793d1a70b03f12 -size 134345 diff --git a/flake8-3.4.1.tar.gz b/flake8-3.4.1.tar.gz new file mode 100644 index 0000000..d8fbdf3 --- /dev/null +++ b/flake8-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c20044779ff848f67f89c56a0e4624c04298cd476e25253ac0c36f910a1a11d8 +size 137066 diff --git a/python-flake8.changes b/python-flake8.changes index 82cd786..4371194 100644 --- a/python-flake8.changes +++ b/python-flake8.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 18 11:28:20 UTC 2017 - alarrosa@suse.com + +- update to 3.4.1 +- Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream + in order to allow using pyflakes >= 1.6.0 + ------------------------------------------------------------------- Fri Mar 24 15:29:36 UTC 2017 - jmatejek@suse.com diff --git a/python-flake8.spec b/python-flake8.spec index 6801b28..b56401f 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8 -Version: 3.3.0 +Version: 3.4.1 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 +Patch0: 0001-Update-pyflakes-range-and-include-doc-links.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -63,6 +64,7 @@ Flake8 runs all the tools by launching the single ``flake8`` script. %prep %setup -q -n flake8-%{version} +%patch0 -p1 %build %python_build From 806b8499e333b2290d7003cf306bf49676d24bc0ea43272fddb793af59b3c8aa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 24 Oct 2017 09:00:38 +0000 Subject: [PATCH 2/3] - update to 3.5.0: - Start using new PyCodestyle checks for bare excepts and ambiguous identifier drop 0001-Update-pyflakes-range-and-include-doc-links.patch: upstream - update to 3.4.1 * Bug Fix exceptions when output on stdout is truncated before * Bug Do not verify dependencies of extensions loaded via * Bug Files excluded in a config file were not being excluded - Re-enable multiprocessing by default while fixing the issue - Turn off multiple jobs by default. To enable automatic use - Initial package (2.0) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=29 --- ...pyflakes-range-and-include-doc-links.patch | 50 ------------------- flake8-3.4.1.tar.gz | 3 -- flake8-3.5.0.tar.gz | 3 ++ python-flake8.changes | 23 ++++++--- python-flake8.spec | 4 +- 5 files changed, 19 insertions(+), 64 deletions(-) delete mode 100644 0001-Update-pyflakes-range-and-include-doc-links.patch delete mode 100644 flake8-3.4.1.tar.gz create mode 100644 flake8-3.5.0.tar.gz diff --git a/0001-Update-pyflakes-range-and-include-doc-links.patch b/0001-Update-pyflakes-range-and-include-doc-links.patch deleted file mode 100644 index e2a2d7f..0000000 --- a/0001-Update-pyflakes-range-and-include-doc-links.patch +++ /dev/null @@ -1,50 +0,0 @@ -From b714bdff0bba39f653ded12b70f41b0f04cc003f Mon Sep 17 00:00:00 2001 -From: Ian Stapleton Cordasco -Date: Sun, 6 Aug 2017 14:16:12 -0500 -Subject: [PATCH] Update pyflakes range and include doc links - ---- - setup.cfg | 6 +++++- - setup.py | 6 +++++- - 2 files changed, 10 insertions(+), 2 deletions(-) - -diff --git a/setup.cfg b/setup.cfg -index aca586c..c035d56 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -5,10 +5,14 @@ test=pytest - universal = 1 - - [metadata] -+# We document the reasoning for using ranges here: -+# http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies -+# And in which releases we will update those ranges here: -+# http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8 - requires-dist = - enum34; python_version<"3.4" - configparser; python_version<"3.2" -- pyflakes >= 1.5.0, < 1.6.0 -+ pyflakes >= 1.5.0, < 1.7.0 - pycodestyle >= 2.0.0, < 2.4.0 - mccabe >= 0.6.0, < 0.7.0 - -diff --git a/setup.py b/setup.py -index 4d40862..aa45e43 100644 ---- a/setup.py -+++ b/setup.py -@@ -17,7 +17,11 @@ tests_require = ['mock >= 2.0.0', 'pytest'] - # NOTE(sigmavirus24): When updating these requirements, update them in - # setup.cfg as well. - requires = [ -- "pyflakes >= 1.5.0, < 1.6.0", -+ # We document the reasoning for using ranges here: -+ # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies -+ # And in which releases we will update those ranges here: -+ # http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8 -+ "pyflakes >= 1.5.0, < 1.7.0", - "pycodestyle >= 2.0.0, < 2.4.0", - "mccabe >= 0.6.0, < 0.7.0", - "setuptools >= 30", --- -libgit2 0.26.0 - diff --git a/flake8-3.4.1.tar.gz b/flake8-3.4.1.tar.gz deleted file mode 100644 index d8fbdf3..0000000 --- a/flake8-3.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c20044779ff848f67f89c56a0e4624c04298cd476e25253ac0c36f910a1a11d8 -size 137066 diff --git a/flake8-3.5.0.tar.gz b/flake8-3.5.0.tar.gz new file mode 100644 index 0000000..34eff62 --- /dev/null +++ b/flake8-3.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7253265f7abd8b313e3892944044a365e3f4ac3fcdcfb4298f55ee9ddf188ba0 +size 140608 diff --git a/python-flake8.changes b/python-flake8.changes index 4371194..7469ffb 100644 --- a/python-flake8.changes +++ b/python-flake8.changes @@ -1,7 +1,14 @@ +------------------------------------------------------------------- +Tue Oct 24 08:59:03 UTC 2017 - dmueller@suse.com + +- update to 3.5.0: + - Start using new PyCodestyle checks for bare excepts and ambiguous identifier + drop 0001-Update-pyflakes-range-and-include-doc-links.patch: upstream + ------------------------------------------------------------------- Wed Oct 18 11:28:20 UTC 2017 - alarrosa@suse.com -- update to 3.4.1 +- update to 3.4.1 - Add 0001-Update-pyflakes-range-and-include-doc-links.patch from upstream in order to allow using pyflakes >= 1.6.0 @@ -36,14 +43,14 @@ Wed Jan 13 09:25:06 UTC 2016 - toddrme2178@gmail.com * Improvement Avoid deprecation warnings when loading extensions * Improvement Separate logic to enable “off-by-default” extensions * Bug Properly parse options to setuptools Flake8 command - * Bug Fix exceptions when output on stdout is truncated before + * Bug Fix exceptions when output on stdout is truncated before Flake8 finishes writing the output * Bug Fix error on OS X where Flake8 can no longer acquire or create new semaphores - Update to 2.4.1 * Bug Do not raise a SystemError unless there were errors in the setuptools command. - * Bug Do not verify dependencies of extensions loaded via + * Bug Do not verify dependencies of extensions loaded via entry-points. * Improvement Blacklist versions of pep8 we know are broken - Update to 2.4.0 @@ -53,7 +60,7 @@ Wed Jan 13 09:25:06 UTC 2016 - toddrme2178@gmail.com > mccabe < 0.4 > pyflakes < 0.9 * See also GitLab#32 - * Bug Files excluded in a config file were not being excluded + * Bug Files excluded in a config file were not being excluded when flake8 was run from a git hook. * Improvement Print warnings for users who are providing mutually exclusive options to flake8. @@ -61,7 +68,7 @@ Wed Jan 13 09:25:06 UTC 2016 - toddrme2178@gmail.com See the updated VCS hooks docs for more details. - Remove upstream-included flake8-fix-tests-using-new-mock.patch - Implement update-alternatives - + ------------------------------------------------------------------- Mon Aug 10 08:45:26 UTC 2015 - mlin@suse.com @@ -99,10 +106,10 @@ Mon Sep 15 08:14:52 UTC 2014 - tbechtold@suse.com Thu Jul 10 12:26:59 UTC 2014 - toddrme2178@gmail.com - Update to 2.2.2 - - Re-enable multiprocessing by default while fixing the issue + - Re-enable multiprocessing by default while fixing the issue Windows users were seeing. - Update to 2.2.1 - - Turn off multiple jobs by default. To enable automatic use + - Turn off multiple jobs by default. To enable automatic use of all CPUs, use --jobs=auto. Fixes #155 and #154. ------------------------------------------------------------------- @@ -148,5 +155,5 @@ Wed Apr 24 08:57:24 UTC 2013 - speilicke@suse.com ------------------------------------------------------------------- Sun Apr 21 23:40:09 UTC 2013 - dmueller@suse.com -- Initial package (2.0) +- Initial package (2.0) diff --git a/python-flake8.spec b/python-flake8.spec index b56401f..9e03ac5 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8 -Version: 3.4.1 +Version: 3.5.0 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 -Patch0: 0001-Update-pyflakes-range-and-include-doc-links.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -64,7 +63,6 @@ Flake8 runs all the tools by launching the single ``flake8`` script. %prep %setup -q -n flake8-%{version} -%patch0 -p1 %build %python_build From a335cb7705a9efefe85293de3aaebcc5502cdd6e2d7eb54df39992588e15f97d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 24 Oct 2017 09:01:08 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=30 --- python-flake8.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-flake8.spec b/python-flake8.spec index 9e03ac5..cb8d5b9 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -39,7 +39,7 @@ BuildRequires: %{python_module pytest} BuildRequires: python2-configparser BuildRequires: python2-enum34 # /SECTION -Requires: python-mccabe >= 0.2.1 +Requires: python-mccabe >= 0.6.0 Requires: python-pycodestyle >= 2.0.0 Requires: python-pyflakes >= 1.5.0 %ifpython2