diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-30 11:10:51 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-01-30 11:10:51 +0100 |
| commit | 1e40733b7caff0a5f84eee6775e851e1d32f95a9 (patch) | |
| tree | 9ed5209256e1a0047da3cf6a7ce2b928a0833e02 | |
| parent | ef627e02c8c3f5423e25e2a53eb61889d610ca60 (diff) | |
Make 2.6.0 releasev2.6.0
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.
| -rw-r--r-- | README.rst | 15 | ||||
| -rw-r--r-- | setup.py | 2 |
2 files changed, 14 insertions, 3 deletions
@@ -105,7 +105,18 @@ Here are some other features: Kconfiglib also works well with the `multiprocessing <https://docs.python.org/3/library/multiprocessing.html>`_ 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 <http://semver.org/>`_ is used. Installation for the Linux kernel @@ -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(), |
