diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-11 08:11:56 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-11 08:11:56 +0100 |
| commit | 44f782723b71e4eb4661e61cc6f887aefe00898e (patch) | |
| tree | 6fd5333b64b6be8c8f2ab1cda697db5d5e866cd8 | |
| parent | 652f11b60f7b738440fe0e919d4de0c188e80395 (diff) | |
Make 4.0.0 releasev4.0.0
Includes a small API behavior change, hence the major version bump:
- db63301 ("Return "" for unwritten symbols in Symbol.config_string")
New features:
- Support for incremental builds using the same scheme as the
include/config/ directory in the C tools. See the new
Kconfig.sync_deps() function and commit 378dedc ("Add support for
incremental builds").
- Minimal configuration (defconfig) writing, generating identical files
to the C implementation. See commit 652f11b ("Add minimal
configuration file generation support").
The C 'make savedefconfig' implementation is currently broken in
obscure cases involving tristate choices (due to broken invalidation
code), so the tests are disabled for now. I have a patch for the C
implementation that I will submit.
Fixes:
- user_value wasn't set for choice symbols set to y via load_config()
with replace=True. Fixed by commit 0bd841d ("Properly remember y user
values for choice symbols"). Didn't affect correctness, only the API.
Other changes:
- 778ec47 ("Only write '# CONFIG_FOO is not set' for visible symbols")
mirrors a change I made to the C tools.
- bbe3ae9 ("Do not write the defconfig_list symbol to .config") mirrors
another change made to the C tools.
- Misc. refactoring and cleanup.
| -rw-r--r-- | README.rst | 9 | ||||
| -rw-r--r-- | setup.py | 2 |
2 files changed, 6 insertions, 5 deletions
@@ -178,13 +178,14 @@ installed with e.g. $ pip(3) install kconfiglib --user -All releases have a corresponding tag in the git repository, e.g. ``v3.2.0`` +All releases have a corresponding tag in the git repository, e.g. ``v4.0.0`` (the latest version). -`Semantic versioning <http://semver.org/>`_ is used. There's been a -`tiny change <https://github.com/ulfalizer/Kconfiglib/commit/e8b4ecb6ff6ccc1c7be0818314fbccda2ef2b2ee>`_ +`Semantic versioning <http://semver.org/>`_ is used. There's been +two small changes (`1 <https://github.com/ulfalizer/Kconfiglib/commit/e8b4ecb6ff6ccc1c7be0818314fbccda2ef2b2ee>_`, +`2 <https://github.com/ulfalizer/Kconfiglib/commit/db633015a4d7b0ba1e882f665e191f350932b2af>_`) to the behavior of the API (which I don't think will affect anyone), which is -why the major version is at 3 rather than 2. +why the major version is at 4 rather than 2. Installation for the Linux kernel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4,7 +4,7 @@ import setuptools setuptools.setup( name="kconfiglib", # MAJOR.MINOR.PATCH, per http://semver.org - version="3.2.0", + version="4.0.0", description="A flexible Python Kconfig parser", long_description= open(os.path.join(os.path.dirname(__file__), "README.rst")).read(), |
