diff -Nru pep8-1.7.0/CHANGES.txt pep8-1.7.1/CHANGES.txt --- pep8-1.7.0/CHANGES.txt 2016-01-12 18:40:45.000000000 +0000 +++ pep8-1.7.1/CHANGES.txt 2017-10-24 14:38:06.000000000 +0000 @@ -1,6 +1,13 @@ Changelog ========= +1.7.1 (2017-10-22) +------------------ + +Changes: + +* Prominently note via warning message that the tool is no longer released as + ``pep8`` and will only be fixed in the ``pycodestyle`` package 1.7.0 (2016-01-12) ------------------ diff -Nru pep8-1.7.0/debian/changelog pep8-1.7.1/debian/changelog --- pep8-1.7.0/debian/changelog 2016-08-23 16:27:07.000000000 +0000 +++ pep8-1.7.1/debian/changelog 2018-02-08 14:49:47.000000000 +0000 @@ -1,3 +1,17 @@ +pep8 (1.7.1-1ubuntu1) bionic; urgency=medium + + * Allow stderr output in the autopkg tests (deprecation warning). + + -- Matthias Klose Thu, 08 Feb 2018 15:49:47 +0100 + +pep8 (1.7.1-1) unstable; urgency=medium + + * New upstream release + * Standards-Version updated to 4.1.1 + * Silent a test failure wrt the pycodestyle transition + + -- Sylvestre Ledru Mon, 30 Oct 2017 09:20:55 +0100 + pep8 (1.7.0-4) unstable; urgency=medium * Team upload. diff -Nru pep8-1.7.0/debian/control pep8-1.7.1/debian/control --- pep8-1.7.0/debian/control 2016-08-23 16:17:58.000000000 +0000 +++ pep8-1.7.1/debian/control 2017-10-30 08:20:55.000000000 +0000 @@ -10,7 +10,7 @@ python-setuptools, python3-setuptools, python-nose -Standards-Version: 3.9.8 +Standards-Version: 4.1.1 Homepage: https://pypi.python.org/pypi/pep8 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pep8.git Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pep8.git diff -Nru pep8-1.7.0/debian/patches/series pep8-1.7.1/debian/patches/series --- pep8-1.7.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ pep8-1.7.1/debian/patches/series 2017-10-30 08:20:55.000000000 +0000 @@ -0,0 +1 @@ +silent-warning-pycodestyle.diff diff -Nru pep8-1.7.0/debian/patches/silent-warning-pycodestyle.diff pep8-1.7.1/debian/patches/silent-warning-pycodestyle.diff --- pep8-1.7.0/debian/patches/silent-warning-pycodestyle.diff 1970-01-01 00:00:00.000000000 +0000 +++ pep8-1.7.1/debian/patches/silent-warning-pycodestyle.diff 2017-10-30 08:20:55.000000000 +0000 @@ -0,0 +1,19 @@ +Index: pep8/testsuite/test_shell.py +=================================================================== +--- pep8.orig/testsuite/test_shell.py ++++ pep8/testsuite/test_shell.py +@@ -139,7 +139,7 @@ class ShellTestCase(unittest.TestCase): + stdout, stderr, errcode = self.pep8('--diff') + stdout = stdout.splitlines() + self.assertEqual(errcode, 1) +- self.assertFalse(stderr) ++# self.assertFalse(stderr) + for line, num, col in zip(stdout, (3, 6), (3, 6)): + path, x, y, msg = line.split(':') + self.assertEqual(x, str(num)) +@@ -186,4 +186,4 @@ class ShellTestCase(unittest.TestCase): + stdout, stderr, errcode = self.pep8('--diff') + self.assertFalse(errcode) + self.assertFalse(stdout) +- self.assertFalse(stderr) ++# self.assertFalse(stderr) diff -Nru pep8-1.7.0/debian/tests/control pep8-1.7.1/debian/tests/control --- pep8-1.7.0/debian/tests/control 2016-08-07 20:53:15.000000000 +0000 +++ pep8-1.7.1/debian/tests/control 2018-02-08 14:49:45.000000000 +0000 @@ -4,6 +4,8 @@ Tests: smoketest-2.sh Depends: python-pep8 +Restrictions: allow-stderr Tests: smoketest-3.sh Depends: pep8, python3-pep8 +Restrictions: allow-stderr diff -Nru pep8-1.7.0/docs/index.rst pep8-1.7.1/docs/index.rst --- pep8-1.7.0/docs/index.rst 2015-09-07 22:50:03.000000000 +0000 +++ pep8-1.7.1/docs/index.rst 2017-10-24 14:38:06.000000000 +0000 @@ -3,6 +3,17 @@ pep8's documentation ==================== +.. note:: + + This package used to be called `pep8 `_ + but was renamed to `pycodestyle `_ + to reduce confusion. Further discussion can be found `in the issue where + Guido requested this + change `_, or in the + lightning talk at PyCon 2016 by @IanLee1521: + `slides `_ + `video `_. + *Python style guide checker* pep8 is a tool to check your Python code against some of the style diff -Nru pep8-1.7.0/pep8.egg-info/PKG-INFO pep8-1.7.1/pep8.egg-info/PKG-INFO --- pep8-1.7.0/pep8.egg-info/PKG-INFO 2016-01-12 18:42:59.000000000 +0000 +++ pep8-1.7.1/pep8.egg-info/PKG-INFO 2017-10-24 14:38:16.000000000 +0000 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: pep8 -Version: 1.7.0 +Version: 1.7.1 Summary: Python style guide checker Home-page: http://pep8.readthedocs.org/ -Author: Johann C. Rocholl -Author-email: johann@rocholl.net +Author: Ian Lee +Author-email: IanLee1521@gmail.com License: Expat license +Description-Content-Type: UNKNOWN Description: pep8 - Python style guide checker ================================= @@ -102,6 +103,13 @@ Changelog ========= + 1.7.1 (2017-10-22) + ------------------ + + Changes: + + * Prominently note via warning message that the tool is no longer released as + ``pep8`` and will only be fixed in the ``pycodestyle`` package 1.7.0 (2016-01-12) ------------------ diff -Nru pep8-1.7.0/pep8.py pep8-1.7.1/pep8.py --- pep8-1.7.0/pep8.py 2016-01-12 18:40:45.000000000 +0000 +++ pep8-1.7.1/pep8.py 2017-10-24 14:38:06.000000000 +0000 @@ -54,6 +54,7 @@ import inspect import keyword import tokenize +import warnings from optparse import OptionParser from fnmatch import fnmatch try: @@ -62,7 +63,7 @@ except ImportError: from ConfigParser import RawConfigParser -__version__ = '1.7.0' +__version__ = '1.7.1' DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox' DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704' @@ -2115,7 +2116,19 @@ def _main(): - """Parse options and run checks on Python source.""" + """Parse options and run checks on Python source. + + Warn of deprecation and advise users to switch to pycodestyle. + """ + warnings.warn( + '\n\n' + 'pep8 has been renamed to pycodestyle (GitHub issue #466)\n' + 'Use of the pep8 tool will be removed in a future release.\n' + 'Please install and use `pycodestyle` instead.\n\n' + '$ pip install pycodestyle\n' + '$ pycodestyle ...\n' + ) + import signal # Handle "Broken pipe" gracefully @@ -2147,5 +2160,6 @@ sys.stderr.write(str(report.total_errors) + '\n') sys.exit(1) + if __name__ == '__main__': _main() diff -Nru pep8-1.7.0/PKG-INFO pep8-1.7.1/PKG-INFO --- pep8-1.7.0/PKG-INFO 2016-01-12 18:42:59.000000000 +0000 +++ pep8-1.7.1/PKG-INFO 2017-10-24 14:38:16.000000000 +0000 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: pep8 -Version: 1.7.0 +Version: 1.7.1 Summary: Python style guide checker Home-page: http://pep8.readthedocs.org/ -Author: Johann C. Rocholl -Author-email: johann@rocholl.net +Author: Ian Lee +Author-email: IanLee1521@gmail.com License: Expat license +Description-Content-Type: UNKNOWN Description: pep8 - Python style guide checker ================================= @@ -102,6 +103,13 @@ Changelog ========= + 1.7.1 (2017-10-22) + ------------------ + + Changes: + + * Prominently note via warning message that the tool is no longer released as + ``pep8`` and will only be fixed in the ``pycodestyle`` package 1.7.0 (2016-01-12) ------------------ diff -Nru pep8-1.7.0/setup.cfg pep8-1.7.1/setup.cfg --- pep8-1.7.0/setup.cfg 2016-01-12 18:42:59.000000000 +0000 +++ pep8-1.7.1/setup.cfg 2017-10-24 14:38:16.000000000 +0000 @@ -9,5 +9,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -Nru pep8-1.7.0/setup.py pep8-1.7.1/setup.py --- pep8-1.7.0/setup.py 2015-09-07 06:38:04.000000000 +0000 +++ pep8-1.7.1/setup.py 2017-10-24 14:38:06.000000000 +0000 @@ -26,6 +26,8 @@ keywords='pep8', author='Johann C. Rocholl', author_email='johann@rocholl.net', + maintainer='Ian Lee', + maintainer_email='IanLee1521@gmail.com', url='http://pep8.readthedocs.org/', license='Expat license', py_modules=['pep8'],