Migrate to sysprog21/Kconfiglib for improved UI and active maintenance
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.1→kconfiglib @ 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 instructionsbsp/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.
![]()
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.![]()
![]()
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>
- Fixes RT-Thread/rt-thread#10766
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
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.
👋 感谢您对 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
-
前往 Actions 页面 | Go to the Actions page 点击进入工作流 → | Click to open workflow →
-
点击
Run workflow| ClickRun 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
- 等待工作流完成 | 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!
📌 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
-
维护者可以通过单击此处来刷新审查状态: 🔄 刷新状态 Maintainers can refresh the review status by clicking here: 🔄 Refresh Status
-
确认审核通过后评论
LGTM/lgtmCommentLGTM/lgtmafter confirming approval -
PR合并前需至少一位维护者确认 PR must be confirmed by at least one maintainer before merging
ℹ️ 刷新CI状态操作需要具备仓库写入权限。 ℹ️ Refresh CI status operation requires repository Write permission.