From 1e40733b7caff0a5f84eee6775e851e1d32f95a9 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 30 Jan 2018 11:10:51 +0100 Subject: Make 2.6.0 release This release tightens up syntax checking and adds all the warnings generated by the C implementation (plus a few extra ones), making Kconfiglib more viable as a replacement for the C tools, rather than just being an auxiliary library. Syntax checking changes: - a84848b ("Tighten up syntax checking") - 8716316 ("Generate a parse error for extra tokens at EOL") - 416083a ("Flag constant symbols where they're not allowed") Warning changes: - 9c309400 ("Add some post-parsing warnings") - da0bfa3a ("Error out for malformed hex/int/string defaults") - 5d2041a9 ("Add more choice type and prompt sanity checks") - 67f825fc ("Warn if there's more than one help text") - 990c780f ("Add some warnings related to selects and implies") - 7432ade8 ("Warn if a symbol is defined with multiple types") - 5eeea863 ("Improve int/hex sanity checking") - ad94bb45 ("Sanity-check range values") - e930c140 ("Warn if a symbol/choice has multiple prompts") - 60d12911 ("Warn if help text is empty") - d43d2e83 ("Warn if menuconfig statement has no prompt") - 3db12f72 ("Warn if a choice symbol has defaults") - 0eadd61c ("Warn if choice symbol has prompt outside choice") Also includes various code nits. --- README.rst | 15 +++++++++++++-- setup.py | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index d69ded1..13385fb 100644 --- a/README.rst +++ b/README.rst @@ -105,7 +105,18 @@ Here are some other features: Kconfiglib also works well with the `multiprocessing `_ module. No global state is kept. - + +- **Warning parity with the C implementation** + + Generates the same warnings as the C implementation, plus a few extra ones. + + This is less important if the input is assumed to be well-formed, but makes + Kconfiglib a viable replacement for the C tools if e.g. a ``menuconfig`` + interface is added. + + All warnings point out the location(s) in the ``Kconfig`` files where a + symbol is defined, where applicable. + - **Windows support** Nothing Linux-specific is used. Universal newlines mode is used for both @@ -157,7 +168,7 @@ installed with e.g. $ pip(3) install kconfiglib --user -All releases have a corresponding tag in the git repository, e.g. ``v2.5.0``. +All releases have a corresponding tag in the git repository, e.g. ``v2.6.0``. `Semantic versioning `_ is used. Installation for the Linux kernel diff --git a/setup.py b/setup.py index cb6847d..47adc2b 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import setuptools setuptools.setup( name="kconfiglib", # MAJOR.MINOR.PATCH, per http://semver.org - version="2.5.0", + version="2.6.0", description="A flexible Python Kconfig parser", long_description= open(os.path.join(os.path.dirname(__file__), "README.rst")).read(), -- cgit v1.2.3