From da06752545e35ea8bffeec07065679dcc4502013 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 22 Jun 2018 06:09:35 +0200 Subject: Make 7.0.0 release New features: - db92bb7 ("Add dependency loop detection") adds long-overdue dependency loop detection. Previously, dependency loops would trigger hard-to-debug Python RecursionError exceptions during evaluation. They now generate a KconfigError instead, with a helpful message that shows the items in the loop. Backwards-incompatible changes (major version bumped to 7): - eb6c21a ("Turn MenuNode/Symbol/Choice.referenced() into a @property") fixes some inconsistency in the recently-added referenced-symbols APIs. Oversight. Other changes: - f6eb4f4 ("Add Symbol/Choice.referenced() convenience methods") makes it easier to get all the symbols/choices referenced by a symbol or choice. Previously, you'd have to loop through all the menu nodes (definition locations) yourself, which might not be obvious. - ca89ca0 ("Rename KconfigSyntaxError to KconfigError") changes to a better exception name, as KconfigSyntaxError was raised for some things that aren't syntax errors. The old name is kept as an alias for now for backwards compatibility. --- README.rst | 9 +++++---- setup.py | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index b4bcd79..3884e7a 100644 --- a/README.rst +++ b/README.rst @@ -62,16 +62,17 @@ available in the Python 2 version of the standard ``curses`` module. that your ``PATH`` includes the directory where the executables end up. You can list the installed files with ``pip(3) show -f kconfiglib``. -All releases have a corresponding tag in the git repository, e.g. ``v6.1.1`` +All releases have a corresponding tag in the git repository, e.g. ``v7.0.0`` (the latest version). `Semantic versioning `_ is used. There's been -four small changes (`1 `_, +five small changes (`1 `_, `2 `_, `3 `_, -`4 `_) +`4 `_, +`5 `_) to the behavior of the API (which shouldn't affect many people), which is why -the major version is at 6 rather than 2. +the major version is at 7 rather than 2. Manual installation ~~~~~~~~~~~~~~~~~~~ diff --git a/setup.py b/setup.py index 25d8cf5..65dbb25 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="6.1.1", + version="7.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