Skip to content

Conversation

Copy link

Copilot AI commented Oct 25, 2025

The PyPI kconfiglib package is unmaintained. Migrate to the actively maintained sysprog21/Kconfiglib fork which provides enhanced menuconfig/guiconfig UIs, bug fixes, and full Kconfig language compatibility.

Changes

Dependency updates:

  • tools/requirements.txt: kconfiglib>=13.7.1kconfiglib @ git+https://github.com/sysprog21/Kconfiglib
  • .github/workflows/utest_auto_run.yml: Updated pip install command

Documentation:

  • bsp/ultrarisc/ur_dp1000_evb/README.md: Updated installation instructions
  • bsp/k230/README.md: Updated installation instructions

Installation

pip install git+https://github.com/sysprog21/Kconfiglib
# or
pip install -r tools/requirements.txt

Benefits

The fork provides:

  • Enhanced TUI with borders, shadows, and scrollbars
  • Professional GUI with dark/light themes
  • Multiple bug fixes
  • Active maintenance

API-compatible drop-in replacement (v14.1.1a4). No RT-Thread code changes required.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature] Use refined Kconfiglib for improved rendering and configuration processing</issue_title>
<issue_description>### Describe problem solved by the proposed feature

The Kconfiglib package available on PyPI is no longer actively maintained. In contrast, the fork at sysprog21/Kconfiglib enhances the TUI to align more closely with the Linux kernel’s menuconfig, fixes several bugs, and preserves full compatibility with the Kconfig language.

Describe your preferred solution

The screenshot below illustrates the improved TUI, including clearer window borders, drop shadows, and a functional scrollbar.

Image

The screenshots below illustrate the improved user interface of guiconfig.py, bringing it closer to the professional standard of the Linux kernel’s qconf (make xconfig). In addition, it introduces dark/light theme switching for guiconfig, featuring a blue color scheme for consistent cross-platform styling.

Image Image

The configurator can use the sysprog21/Kconfiglib package instead of the unmaintained Kconfiglib, while still processing all existing configurations correctly.

Describe possible alternatives

No response</issue_description>

<agent_instructions>尝试以这样的方式推一个版本,注意做好对应的确认工作,包括ci部分都涵盖到。</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@Rbb666 Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort? @Rbb666 @ComerLater 大佬可以帮忙一起看看这个建议呀~ @Rbb666 > > Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort? > > If the refined [sysprog21/Kconfiglib](https://github.com/sysprog21/Kconfiglib) fits well with RT-Thread, I plan to contribute the corresponding pull request(s) for integration.

Thank you very much. I will contact the maintainer of this module to discuss whether any modifications are needed.</comment_new>


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link

👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread!

为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。
To ensure your code complies with RT-Thread's coding style, please run the code formatting workflow by following the steps below (If the formatting of CI fails to run).


🛠 操作步骤 | Steps

  1. 前往 Actions 页面 | Go to the Actions page
    点击进入工作流 → | Click to open workflow →

  2. 点击 Run workflow | Click Run workflow

  • 设置需排除的文件/目录(目录请以"/"结尾)
    Set files/directories to exclude (directories should end with "/")
  • 将目标分支设置为 \ Set the target branch to:copilot/use-refined-kconfiglib
  • 设置PR number为 \ Set the PR number to:10845
  1. 等待工作流完成 | Wait for the workflow to complete
    格式化后的代码将自动推送至你的分支。
    The formatted code will be automatically pushed to your branch.

完成后,提交将自动更新至 copilot/use-refined-kconfiglib 分支,关联的 Pull Request 也会同步更新。
Once completed, commits will be pushed to the copilot/use-refined-kconfiglib branch automatically, and the related Pull Request will be updated.

如有问题欢迎联系我们,再次感谢您的贡献!💐
If you have any questions, feel free to reach out. Thanks again for your contribution!

Copilot AI changed the title [WIP] Add refined Kconfiglib for improved rendering and configuration processing Migrate to sysprog21/Kconfiglib for improved UI and active maintenance Oct 25, 2025
Copilot AI requested a review from BernardXiong October 25, 2025 01:26
Copilot finished work on behalf of BernardXiong October 25, 2025 01:26
@github-actions
Copy link

github-actions bot commented Oct 25, 2025

📌 Code Review Assignment

🏷️ Tag: bsp_k230

Reviewers: unicornx

Changed Files (Click to expand)
  • bsp/k230/README.md

🏷️ Tag: bsp_ultrarisc

Reviewers: zhangjing0303

Changed Files (Click to expand)
  • bsp/ultrarisc/ur_dp1000_evb/README.md

🏷️ Tag: workflow

Reviewers: Rbb666 kurisaW supperthomas

Changed Files (Click to expand)
  • .github/workflows/utest_auto_run.yml

📊 Current Review Status (Last Updated: 2025-10-25 15:34 CST)

  • Rbb666 Pending Review
  • kurisaW Pending Review
  • supperthomas Pending Review
  • unicornx Pending Review
  • zhangjing0303 Pending Review

📝 Review Instructions

  1. 维护者可以通过单击此处来刷新审查状态: 🔄 刷新状态
    Maintainers can refresh the review status by clicking here: 🔄 Refresh Status

  2. 确认审核通过后评论 LGTM/lgtm
    Comment LGTM/lgtm after confirming approval

  3. PR合并前需至少一位维护者确认
    PR must be confirmed by at least one maintainer before merging

ℹ️ 刷新CI状态操作需要具备仓库写入权限。
ℹ️ Refresh CI status operation requires repository Write permission.

@github-actions github-actions bot added BSP action github action yml imporve tools labels Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action github action yml imporve BSP tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Use refined Kconfiglib for improved rendering and configuration processing

3 participants