From 068bc48cb60bac7b7c241e313b60e7f7707c07f3 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 5 Oct 2019 21:41:28 +0200 Subject: [PATCH] Make 13.0.0 release (with Windows packaging change) Adds commit 21b4c1e ("Do not automatically install windows-curses on Windows"), which fixes installation on MSYS2. See that commit for an explanation, and this issue: https://github.com/ulfalizer/Kconfiglib/issues/77 Also adds commit 72e3d20 ("menuconfig: Give hint when 'curses' can't be imported on Windows"), to make it easy for users to know what to do if stuff breaks. Sorry if this change caused problems! --- README.rst | 43 +++++++++++++++++++++++++++++++------------ kconfiglib.py | 2 +- setup.py | 2 +- 3 files changed, 33 insertions(+), 14 deletions(-) diff --git a/README.rst b/README.rst index 4ae4e46a..26381a4a 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,29 @@ .. contents:: Table of contents :backlinks: none +News +---- + Dependency loop with recent linux-next kernels ----------------------------------------------- - +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + To fix issues with dependency loops on recent linux-next kernels, apply `this patch `_. Hopefully, -it will be merged soon. +it will be in ``linux-next`` soon. + +``windows-curses`` is no longer automatically installed on Windows +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Starting with Kconfiglib 13.0.0, the `windows-curses +`__ package is no longer +automatically installed on Windows, and needs to be installed manually for the +terminal ``menuconfig`` to work. + +This fixes installation of Kconfiglib on MSYS2, which is not compatible with +``windows-curses``. See `this issue +`__. + +Sorry if this change caused problems! Overview -------- @@ -40,8 +57,8 @@ stay compatible with older Linux kernels. The major version will be increased if support is ever dropped. Using the old syntax with an undefined environment variable keeps the string as is. -Note: See `this issue `_ if you run into -a "macro expanded to blank string" error with kernel 4.18+. +Note: See `this issue `__ if +you run into a "macro expanded to blank string" error with kernel 4.18+. See `this page `__ for some @@ -104,11 +121,12 @@ Python 2 and Python 3. Previously, ``menuconfig.py`` only ran under Python 3 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. ``v12.14.1`` +All releases have a corresponding tag in the git repository, e.g. ``v13.0.0`` (the latest version). `Semantic versioning `_ is used. There's been -ten small changes (`1 `_, +ten small changes to the behavior of the API and a Windows packaging change +(`1 `_, `2 `_, `3 `_, `4 `_, @@ -117,10 +135,11 @@ ten small changes (`1 `_, `8 `_, `9 `_, -`10 `_) -to the behavior of the API, which is why the major version is at 12 rather than -2. I do major version bumps for all behavior changes, even tiny ones, and most of these were -fixes for baby issues in the early days of the Kconfiglib 2 API. +`10 `_, +`packaging change `_), +which is why the major version is at 13 rather than 2. I do major version bumps +for all behavior changes, even tiny ones, and most of these were fixes for baby +issues in the early days of the Kconfiglib 2 API. Manual installation ~~~~~~~~~~~~~~~~~~~ @@ -128,7 +147,7 @@ Manual installation Just drop ``kconfiglib.py`` and the scripts you want somewhere. There are no third-party dependencies, but the terminal ``menuconfig`` won't work on Windows unless a package like `windows-curses -`_ is installed. +`__ is installed. Installation for the Linux kernel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kconfiglib.py b/kconfiglib.py index 54d35e51..dacf5eb8 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -554,7 +554,7 @@ def my_other_fn(kconf, name, arg_1, arg_2, ...): from os.path import dirname, exists, expandvars, islink, join, realpath -VERSION = (12, 14, 1) +VERSION = (13, 0, 0) # File layout: diff --git a/setup.py b/setup.py index e5dbbb9d..9a358505 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setuptools.setup( name="kconfiglib", # MAJOR.MINOR.PATCH, per http://semver.org - version="12.14.1", + version="13.0.0", description="A flexible Python Kconfig implementation", # Make sure that README.rst decodes on Python 3 in environments that use