Hello community, here is the log from the commit of package python-coloredlogs for openSUSE:Factory checked in at 2020-02-15 22:25:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-coloredlogs (Old) and /work/SRC/openSUSE:Factory/.python-coloredlogs.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-coloredlogs" Sat Feb 15 22:25:25 2020 rev:6 rq:774498 version:11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-coloredlogs/python-coloredlogs.changes 2019-05-03 22:47:57.331979818 +0200 +++ /work/SRC/openSUSE:Factory/.python-coloredlogs.new.26092/python-coloredlogs.changes 2020-02-15 22:25:49.735322981 +0100 @@ -1,0 +2,12 @@ +Sat Feb 15 08:30:15 CET 2020 - Matej Cepl <mc...@suse.com> + +- Update to 11.0: + - This is a maintenance release that drops Python 2.6 support, + adds Python 3.7 support and merges quite a few minor pull + requests. The major version number was bumped because of the + compatibility changes. + Complete list of (really small) changes is on + https://github.com/xolox/python-coloredlogs/blob/master/CHANGELOG.rst#release-11-0-2020-02-14 + - Update test_cli_conversion_test.patch + +------------------------------------------------------------------- Old: ---- coloredlogs-10.0.tar.gz New: ---- coloredlogs-11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-coloredlogs.spec ++++++ --- /var/tmp/diff_new_pack.ZqpzJ9/_old 2020-02-15 22:25:50.163323213 +0100 +++ /var/tmp/diff_new_pack.ZqpzJ9/_new 2020-02-15 22:25:50.167323214 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-coloredlogs # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2016, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-coloredlogs -Version: 10.0 +Version: 11.0 Release: 0 Summary: Colored terminal output for Python's logging module License: MIT @@ -30,7 +30,7 @@ # With using alternatives, we don't have versionless command in time of %check Patch0: test_cli_conversion_test.patch BuildRequires: %{python_module capturer >= 2.4} -BuildRequires: %{python_module humanfriendly >= 3.2} +BuildRequires: %{python_module humanfriendly >= 6.1} BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module pytest >= 3.0.3} BuildRequires: %{python_module pytest-cov >= 2.3.1} @@ -75,9 +75,8 @@ %check # test_auto_install - requires the install to the system to be actually complete -# test_plain_text_output_format - random hickupy test export PATH=%{buildroot}%{_bindir}:$PATH -%pytest coloredlogs/tests.py -k 'not (test_auto_install or test_plain_text_output_format)' +%pytest coloredlogs/tests.py -k 'not test_auto_install' %files %{python_files} %doc README.rst CHANGELOG.rst ++++++ coloredlogs-10.0.tar.gz -> coloredlogs-11.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/CHANGELOG.rst new/coloredlogs-11.0/CHANGELOG.rst --- old/coloredlogs-10.0/CHANGELOG.rst 2018-05-13 23:01:32.000000000 +0200 +++ new/coloredlogs-11.0/CHANGELOG.rst 2020-02-15 00:18:02.000000000 +0100 @@ -11,6 +11,48 @@ .. _Keep a Changelog: http://keepachangelog.com/ .. _semantic versioning: http://semver.org/ +`Release 11.0`_ (2020-02-14) +---------------------------- + +This is a maintenance release that drops Python 2.6 support, adds Python 3.7 +support and merges quite a few minor pull requests. The major version number +was bumped because of the compatibility changes. + +**Merged pull requests:** + +- `#58`_: Don't import :mod:`coloredlogs` if ``$COLOREDLOGS_AUTO_INSTALL`` is + set but empty. + +- `#60`_: Fix :pypi:`flake8` messages to help stabilize Travis CI builds. + +- `#61`_: Drop support for Python 2.6 to help stabilize Travis CI builds. + +- `#62`_: Use SVG badge in README for consistency. + +- `#69`_: Handle negative-offset timezones in tests. + +- `#70`_: Use :func:`subprocess.check_call()` in the test suite to ensure that + external commands succeed. + +- `#74`_: Fix :exc:`~exceptions.TypeError` on MacOS on Python 3 in the + :mod:`~coloredlogs.converter` module. + +**Other changes:** + +- Start testing on Python 3.7 (and document compatibility). +- Workaround Python 3.7 regression in test suite. +- Update ``Makefile`` to use Python 3 for local development. +- Merge MacOS on Travis CI fixes from :pypi:`humanfriendly`. + +.. _Release 11.0: https://github.com/xolox/python-coloredlogs/compare/10.0...11.0 +.. _#58: https://github.com/xolox/python-coloredlogs/pull/58 +.. _#60: https://github.com/xolox/python-coloredlogs/pull/60 +.. _#61: https://github.com/xolox/python-coloredlogs/pull/61 +.. _#62: https://github.com/xolox/python-coloredlogs/pull/62 +.. _#69: https://github.com/xolox/python-coloredlogs/pull/69 +.. _#70: https://github.com/xolox/python-coloredlogs/pull/70 +.. _#74: https://github.com/xolox/python-coloredlogs/pull/74 + `Release 10.0`_ (2018-05-13) ---------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/LICENSE.txt new/coloredlogs-11.0/LICENSE.txt --- old/coloredlogs-10.0/LICENSE.txt 2018-01-05 03:28:20.000000000 +0100 +++ new/coloredlogs-11.0/LICENSE.txt 2020-02-15 00:18:02.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2018 Peter Odding +Copyright (c) 2020 Peter Odding Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/PKG-INFO new/coloredlogs-11.0/PKG-INFO --- old/coloredlogs-10.0/PKG-INFO 2018-05-13 23:01:44.000000000 +0200 +++ new/coloredlogs-11.0/PKG-INFO 2020-02-15 00:18:35.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: coloredlogs -Version: 10.0 +Version: 11.0 Summary: Colored terminal output for Python's logging module Home-page: https://coloredlogs.readthedocs.io Author: Peter Odding @@ -12,14 +12,14 @@ .. image:: https://travis-ci.org/xolox/python-coloredlogs.svg?branch=master :target: https://travis-ci.org/xolox/python-coloredlogs - .. image:: https://coveralls.io/repos/xolox/python-coloredlogs/badge.png?branch=master - :target: https://coveralls.io/r/xolox/python-coloredlogs?branch=master + .. image:: https://coveralls.io/repos/github/xolox/python-coloredlogs/badge.svg?branch=master + :target: https://coveralls.io/github/xolox/python-coloredlogs?branch=master The `coloredlogs` package enables colored terminal output for Python's logging_ module. The ColoredFormatter_ class inherits from `logging.Formatter`_ and uses `ANSI escape sequences`_ to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal. It's currently tested - on Python 2.6, 2.7, 3.4, 3.5, 3.6 and PyPy. On Windows `coloredlogs` + on Python 2.7, 3.4, 3.5, 3.6, 3.7 and PyPy. On Windows `coloredlogs` automatically pulls in Colorama_ as a dependency and enables ANSI escape sequence translation using Colorama. Here is a screen shot of the demo that is printed when the command ``coloredlogs --demo`` is executed: @@ -48,7 +48,7 @@ user site-packages directory`_, `virtual environments`_ or just installing system wide) and I have no intention of getting into that discussion here, so if this intimidates you then read up on your options before returning to these - instructions ;-). + instructions 😉. Usage ----- @@ -193,7 +193,7 @@ This software is licensed under the `MIT license`_. - © 2018 Peter Odding. + © 2020 Peter Odding. .. External references: @@ -236,12 +236,12 @@ Classifier: Operating System :: Unix Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Communications @@ -257,3 +257,5 @@ Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Terminals Classifier: Topic :: Utilities +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Provides-Extra: cron diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/README.rst new/coloredlogs-11.0/README.rst --- old/coloredlogs-10.0/README.rst 2018-04-29 23:55:05.000000000 +0200 +++ new/coloredlogs-11.0/README.rst 2020-02-15 00:18:02.000000000 +0100 @@ -4,14 +4,14 @@ .. image:: https://travis-ci.org/xolox/python-coloredlogs.svg?branch=master :target: https://travis-ci.org/xolox/python-coloredlogs -.. image:: https://coveralls.io/repos/xolox/python-coloredlogs/badge.png?branch=master - :target: https://coveralls.io/r/xolox/python-coloredlogs?branch=master +.. image:: https://coveralls.io/repos/github/xolox/python-coloredlogs/badge.svg?branch=master + :target: https://coveralls.io/github/xolox/python-coloredlogs?branch=master The `coloredlogs` package enables colored terminal output for Python's logging_ module. The ColoredFormatter_ class inherits from `logging.Formatter`_ and uses `ANSI escape sequences`_ to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal. It's currently tested -on Python 2.6, 2.7, 3.4, 3.5, 3.6 and PyPy. On Windows `coloredlogs` +on Python 2.7, 3.4, 3.5, 3.6, 3.7 and PyPy. On Windows `coloredlogs` automatically pulls in Colorama_ as a dependency and enables ANSI escape sequence translation using Colorama. Here is a screen shot of the demo that is printed when the command ``coloredlogs --demo`` is executed: @@ -40,7 +40,7 @@ user site-packages directory`_, `virtual environments`_ or just installing system wide) and I have no intention of getting into that discussion here, so if this intimidates you then read up on your options before returning to these -instructions ;-). +instructions 😉. Usage ----- @@ -185,7 +185,7 @@ This software is licensed under the `MIT license`_. -© 2018 Peter Odding. +© 2020 Peter Odding. .. External references: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs/__init__.py new/coloredlogs-11.0/coloredlogs/__init__.py --- old/coloredlogs-10.0/coloredlogs/__init__.py 2018-05-13 23:01:32.000000000 +0200 +++ new/coloredlogs-11.0/coloredlogs/__init__.py 2020-02-15 00:18:02.000000000 +0100 @@ -1,7 +1,7 @@ # Colored terminal output for Python's logging module. # # Author: Peter Odding <pe...@peterodding.com> -# Last Change: May 13, 2018 +# Last Change: February 14, 2020 # URL: https://coloredlogs.readthedocs.io """ @@ -213,7 +213,7 @@ NEED_COLORAMA = WINDOWS # Semi-standard module versioning. -__version__ = '10.0' +__version__ = '11.0' DEFAULT_LOG_LEVEL = logging.INFO """The default log level for :mod:`coloredlogs` (:data:`logging.INFO`).""" @@ -483,8 +483,8 @@ # [2] https://github.com/xolox/python-coloredlogs/issues/16 if kw.get('milliseconds'): parser = FormatStringParser(style=style) - if not (parser.contains_field(formatter_options['fmt'], 'msecs') or - '%f' in formatter_options['datefmt']): + if not (parser.contains_field(formatter_options['fmt'], 'msecs') + or '%f' in formatter_options['datefmt']): pattern = parser.get_pattern('asctime') replacements = {'%': '%(msecs)03d', '{': '{msecs:03}', '$': '${msecs}'} formatter_options['fmt'] = pattern.sub( @@ -676,9 +676,7 @@ :param value: A logging level (integer or string). :returns: The number of the log level (an integer). - This function translates log level names into their numeric values. The - :mod:`logging` module does this for us on Python 2.7 and 3.4 but fails to - do so on Python 2.6 which :mod:`coloredlogs` still supports. + This function translates log level names into their numeric values.. """ if is_string(value): try: @@ -802,9 +800,9 @@ 3. The string 'python'. """ # Gotcha: sys.argv[0] is '-c' if Python is started with the -c option. - return ((os.path.basename(sys.argv[0]) if sys.argv and sys.argv[0] != '-c' else '') or - (os.path.basename(sys.executable) if sys.executable else '') or - 'python') + return ((os.path.basename(sys.argv[0]) if sys.argv and sys.argv[0] != '-c' else '') + or (os.path.basename(sys.executable) if sys.executable else '') + or 'python') def replace_handler(logger, match_handler, reconfigure): @@ -881,8 +879,8 @@ This function can be used as a callback for :func:`find_handler()`. """ - return (isinstance(handler, logging.StreamHandler) and - getattr(handler, 'stream') in (streams or (sys.stdout, sys.stderr))) + return (isinstance(handler, logging.StreamHandler) + and getattr(handler, 'stream') in (streams or (sys.stdout, sys.stderr))) def walk_propagation_tree(logger): @@ -1116,15 +1114,8 @@ return logging.Formatter.format(self, record) -if sys.version_info[:2] <= (2, 6): - # On Python 2.6 the logging.LogRecord class is an old-style class - # which means our empty class also needs to be an old-style class. - class Empty: - """An empty class used to copy :class:`~logging.LogRecord` objects without reinitializing them.""" -else: - # On Python 2.7 and up logging.LogRecord is a new-style class. - class Empty(object): - """An empty class used to copy :class:`~logging.LogRecord` objects without reinitializing them.""" +class Empty(object): + """An empty class used to copy :class:`~logging.LogRecord` objects without reinitializing them.""" class HostNameFilter(logging.Filter): @@ -1401,7 +1392,7 @@ def __init__(self): """Initialize a :class:`NameNormalizer` object.""" - self.aliases = dict((k.lower(), v.lower()) for k, v in find_level_aliases().items()) + self.aliases = {k.lower(): v.lower() for k, v in find_level_aliases().items()} def normalize_name(self, name): """ @@ -1440,7 +1431,7 @@ :param value: The dictionary to normalize. :returns: A dictionary with normalized keys. """ - return dict((self.normalize_name(k), v) for k, v in value.items()) + return {self.normalize_name(k): v for k, v in value.items()} def get(self, normalized_dict, name): """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs/converter/__init__.py new/coloredlogs-11.0/coloredlogs/converter/__init__.py --- old/coloredlogs-10.0/coloredlogs/converter/__init__.py 2018-01-17 20:00:52.000000000 +0100 +++ new/coloredlogs-11.0/coloredlogs/converter/__init__.py 2020-02-15 00:18:02.000000000 +0100 @@ -1,7 +1,7 @@ # Program to convert text with ANSI escape sequences to HTML. # # Author: Peter Odding <pe...@peterodding.com> -# Last Change: January 17, 2018 +# Last Change: February 14, 2020 # URL: https://coloredlogs.readthedocs.io """Convert text with ANSI escape sequences to HTML.""" @@ -38,7 +38,7 @@ # Compiled regular expression that matches strings we want to convert. Used to # separate all special strings and literal output in a single pass (this allows # us to properly encode the output without resorting to nasty hacks). -TOKEN_PATTERN = re.compile(''' +TOKEN_PATTERN = re.compile(r''' # Wrap the pattern in a capture group so that re.split() includes the # substrings that match the pattern in the resulting list of strings. ( @@ -92,7 +92,7 @@ try: command_line = ['script', '-q', temporary_file] + list(command) subprocess.Popen(command_line, stdout=dev_null, stderr=dev_null).wait() - with codecs.open(temporary_file, 'r', encoding) as handle: + with codecs.open(temporary_file, 'rb') as handle: output = handle.read() finally: os.unlink(temporary_file) @@ -112,6 +112,7 @@ # [1] https://en.wikipedia.org/wiki/End-of-file if output.startswith(b'^D'): output = output[2:] + output = output.decode(encoding) # Clean up backspace and carriage return characters and the 'erase line' # ANSI escape sequence and return the output as a Unicode string. return u'\n'.join(clean_terminal_output(output)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs/syslog.py new/coloredlogs-11.0/coloredlogs/syslog.py --- old/coloredlogs-10.0/coloredlogs/syslog.py 2017-04-17 22:46:56.000000000 +0200 +++ new/coloredlogs-11.0/coloredlogs/syslog.py 2020-02-15 00:18:02.000000000 +0100 @@ -169,17 +169,12 @@ The process of connecting to the system logging daemon goes as follows: - - If :class:`~logging.handlers.SysLogHandler` supports the `socktype` - option (it does since Python 2.7) the following two socket types are - tried (in decreasing preference): + - The following two socket types are tried (in decreasing preference): 1. :data:`~socket.SOCK_RAW` avoids truncation of log messages but may not be supported. 2. :data:`~socket.SOCK_STREAM` (TCP) supports longer messages than the default (which is UDP). - - - If socket types are not supported Python's (2.6) defaults are used to - connect to the selected `address`. """ if not address: address = find_syslog_address() @@ -193,11 +188,9 @@ kw['socktype'] = socktype try: handler = logging.handlers.SysLogHandler(**kw) - except (IOError, TypeError): - # The socktype argument was added in Python 2.7 and its use will raise a - # TypeError exception on Python 2.6. IOError is a superclass of socket.error - # (since Python 2.6) which can be raised if the system logging daemon is - # unavailable. + except IOError: + # IOError is a superclass of socket.error which can be raised if the system + # logging daemon is unavailable. pass else: handler.setLevel(level_to_number(level)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs/tests.py new/coloredlogs-11.0/coloredlogs/tests.py --- old/coloredlogs-10.0/coloredlogs/tests.py 2018-04-29 23:55:05.000000000 +0200 +++ new/coloredlogs-11.0/coloredlogs/tests.py 2020-02-15 00:18:02.000000000 +0100 @@ -1,7 +1,7 @@ # Automated tests for the `coloredlogs' package. # # Author: Peter Odding <pe...@peterodding.com> -# Last Change: April 29, 2018 +# Last Change: February 14, 2020 # URL: https://coloredlogs.readthedocs.io """Automated tests for the `coloredlogs` package.""" @@ -367,7 +367,7 @@ stream = StringIO() install(reconfigure=True, stream=stream, datefmt='%Y-%m-%dT%H:%M:%S.%f%z') logging.info("This should be timestamped according to #45.") - assert re.match(r'^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}\+\d{4}\s', stream.getvalue()) + assert re.match(r'^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}[+-]\d{4}\s', stream.getvalue()) def test_plain_text_output_format(self): """Inspect the plain text output of coloredlogs.""" @@ -386,6 +386,14 @@ (logger.warning, 'WARNING'), (logger.error, 'ERROR'), (logger.critical, 'CRITICAL')): + # XXX Workaround for a regression in Python 3.7 caused by the + # Logger.isEnabledFor() method using stale cache entries. If we + # don't clear the cache then logger.isEnabledFor(logging.DEBUG) + # returns False and no DEBUG message is emitted. + try: + logger._cache.clear() + except AttributeError: + pass # Prepare the text. text = "This is a message with severity %r." % severity.lower() # Log the message with the given severity. @@ -483,14 +491,14 @@ # Sanity check that log messages aren't enabled by default. with CaptureOutput() as capturer: os.environ['COLOREDLOGS_AUTO_INSTALL'] = 'false' - subprocess.call(command_line) + subprocess.check_call(command_line) output = capturer.get_text() assert needle not in output # Test that the $COLOREDLOGS_AUTO_INSTALL environment variable can be # used to automatically call coloredlogs.install() during initialization. with CaptureOutput() as capturer: os.environ['COLOREDLOGS_AUTO_INSTALL'] = 'true' - subprocess.call(command_line) + subprocess.check_call(command_line) output = capturer.get_text() assert needle in output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs.egg-info/PKG-INFO new/coloredlogs-11.0/coloredlogs.egg-info/PKG-INFO --- old/coloredlogs-10.0/coloredlogs.egg-info/PKG-INFO 2018-05-13 23:01:44.000000000 +0200 +++ new/coloredlogs-11.0/coloredlogs.egg-info/PKG-INFO 2020-02-15 00:18:35.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: coloredlogs -Version: 10.0 +Version: 11.0 Summary: Colored terminal output for Python's logging module Home-page: https://coloredlogs.readthedocs.io Author: Peter Odding @@ -12,14 +12,14 @@ .. image:: https://travis-ci.org/xolox/python-coloredlogs.svg?branch=master :target: https://travis-ci.org/xolox/python-coloredlogs - .. image:: https://coveralls.io/repos/xolox/python-coloredlogs/badge.png?branch=master - :target: https://coveralls.io/r/xolox/python-coloredlogs?branch=master + .. image:: https://coveralls.io/repos/github/xolox/python-coloredlogs/badge.svg?branch=master + :target: https://coveralls.io/github/xolox/python-coloredlogs?branch=master The `coloredlogs` package enables colored terminal output for Python's logging_ module. The ColoredFormatter_ class inherits from `logging.Formatter`_ and uses `ANSI escape sequences`_ to render your logging messages in color. It uses only standard colors so it should work on any UNIX terminal. It's currently tested - on Python 2.6, 2.7, 3.4, 3.5, 3.6 and PyPy. On Windows `coloredlogs` + on Python 2.7, 3.4, 3.5, 3.6, 3.7 and PyPy. On Windows `coloredlogs` automatically pulls in Colorama_ as a dependency and enables ANSI escape sequence translation using Colorama. Here is a screen shot of the demo that is printed when the command ``coloredlogs --demo`` is executed: @@ -48,7 +48,7 @@ user site-packages directory`_, `virtual environments`_ or just installing system wide) and I have no intention of getting into that discussion here, so if this intimidates you then read up on your options before returning to these - instructions ;-). + instructions 😉. Usage ----- @@ -193,7 +193,7 @@ This software is licensed under the `MIT license`_. - © 2018 Peter Odding. + © 2020 Peter Odding. .. External references: @@ -236,12 +236,12 @@ Classifier: Operating System :: Unix Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Communications @@ -257,3 +257,5 @@ Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Terminals Classifier: Topic :: Utilities +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Provides-Extra: cron diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs.egg-info/requires.txt new/coloredlogs-11.0/coloredlogs.egg-info/requires.txt --- old/coloredlogs-10.0/coloredlogs.egg-info/requires.txt 2018-05-13 23:01:44.000000000 +0200 +++ new/coloredlogs-11.0/coloredlogs.egg-info/requires.txt 2020-02-15 00:18:35.000000000 +0100 @@ -1,4 +1,4 @@ -humanfriendly>=4.7 +humanfriendly>=6.1 [:sys_platform == "win32"] colorama diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/coloredlogs.pth new/coloredlogs-11.0/coloredlogs.pth --- old/coloredlogs-10.0/coloredlogs.pth 2017-07-15 15:06:43.000000000 +0200 +++ new/coloredlogs-11.0/coloredlogs.pth 2020-02-15 00:18:02.000000000 +0100 @@ -1 +1 @@ -import os; exec('try: __import__("coloredlogs").auto_install() if "COLOREDLOGS_AUTO_INSTALL" in os.environ else None\nexcept ImportError: pass') +import os; exec('try: __import__("coloredlogs").auto_install() if os.environ.get("COLOREDLOGS_AUTO_INSTALL") else None\nexcept ImportError: pass') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/docs/conf.py new/coloredlogs-11.0/docs/conf.py --- old/coloredlogs-10.0/docs/conf.py 2018-05-13 23:01:32.000000000 +0200 +++ new/coloredlogs-11.0/docs/conf.py 2020-02-15 00:18:02.000000000 +0100 @@ -1,7 +1,7 @@ # Colored terminal output for Python's logging module. # # Author: Peter Odding <pe...@peterodding.com> -# Last Change: May 12, 2018 +# Last Change: February 14, 2020 # URL: https://coloredlogs.readthedocs.io """Sphinx documentation configuration for the `coloredlogs` package.""" @@ -35,8 +35,8 @@ master_doc = 'index' # General information about the project. -project = u'coloredlogs' -copyright = u'2018, Peter Odding' +project = 'coloredlogs' +copyright = '2020, Peter Odding' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/requirements.txt new/coloredlogs-11.0/requirements.txt --- old/coloredlogs-10.0/requirements.txt 2018-01-17 20:00:52.000000000 +0100 +++ new/coloredlogs-11.0/requirements.txt 2020-02-15 00:18:02.000000000 +0100 @@ -1 +1 @@ -humanfriendly >= 4.7 +humanfriendly >= 6.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coloredlogs-10.0/setup.py new/coloredlogs-11.0/setup.py --- old/coloredlogs-10.0/setup.py 2018-04-26 18:43:53.000000000 +0200 +++ new/coloredlogs-11.0/setup.py 2020-02-15 00:18:02.000000000 +0100 @@ -3,7 +3,7 @@ # Setup script for the `coloredlogs' package. # # Author: Peter Odding <pe...@peterodding.com> -# Last Change: April 26, 2018 +# Last Change: February 14, 2020 # URL: https://coloredlogs.readthedocs.io """ @@ -136,6 +136,7 @@ install_requires=get_install_requires(), extras_require=get_extras_require(), tests_require=get_requirements('requirements-tests.txt'), + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', @@ -149,12 +150,12 @@ 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Communications',