Integrate native Windows 10 support for ANSI escape sequences ([#71](https://github.com/xolox/python-coloredlogs/issues/71), [#72](https://github.com/xolox/python-coloredlogs/issues/72)).
Native support for ANSI escape sequences was added to Windows 10 after its
initial release, specifically in release 10.0.14393. I've now updated
:pypi:coloredlogs and :pypi:humanfriendly to detect and enable this "new"
native support.
Windows 10 seems to comprise the majority of Windows installations worldwide so
in the interest of "looking forward" I've decided to drop the :pypi:colorama
requirement, given that it has now become a minority use case.
Hopefully most existing users will not experience any regression because they
previously installed :pypi:colorama already, and when available it will still
be used. However new installations on older Windows systems now require users
to install :pypi:colorama separately. This has been documented in the readme
in an attempt to minimize resulting confusion.
PS. In case anyone is wondering: I decided that giving a major Windows support
update in :pypi:coloredlogs the version 13.0 was asking for trouble, so I
decided not to do that đŸ˜‡.
Two backwards incompatible changes prompted another major version bump:
Merged pull request [#80](https://github.com/xolox/python-coloredlogs/issues/80)_ that drops support for Python 3.4 which
has gone end-of-life and now represents less than 1% of PyPI downloads.
Improved compatibility with the Python standard library by changing
the order of positional arguments received by the initializer of the
:class:~coloredlogs.ColoredFormatter class (as suggested in [#64](https://github.com/xolox/python-coloredlogs/issues/64)_
and [#75](https://github.com/xolox/python-coloredlogs/issues/75)_).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on coloredlogs to permit the latest version.
Changelog
Sourced from coloredlogs's changelog.
Commits
3935774
Release 14.0: Enable native Windows ANSI support (#71, #72)e1e01d5
Update PyPI base URL57eeb65
Remove tests involving Colorama (#71, #72)80e2709
Document now fully optional Colorama dependency (#71, #72)0444025
Integrate native Windows ANSI support (#71, #72)bd059ff
Drop conditional colorama dependency (#71, #72)66a2155
Update humanfriendly to enable native Windows ANSI support (#71, #72)3fedcde
Simplify Travis CI configurationda44a69
Release 12.0: Improve stdlib compat, drop Python 3.4 (#64, #75, #80)bba76ae
Stop using 'imp' module (deprecation warning)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)