From 44f782723b71e4eb4661e61cc6f887aefe00898e Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 11 Mar 2018 08:11:56 +0100 Subject: Make 4.0.0 release 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. --- README.rst | 9 +++++---- setup.py | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 207b08c..0b78649 100644 --- a/README.rst +++ b/README.rst @@ -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 `_ is used. There's been a -`tiny change `_ +`Semantic versioning `_ is used. There's been +two small changes (`1 _`, +`2 _`) 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/setup.py b/setup.py index a20277a..3a47294 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="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(), -- cgit v1.2.3