Deprecation of legacy parliament Python functions (removal in 1.26)

未关闭
#4,185 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@gauron99 已经在做这个了。

开始于 2026年11月20日。

评估

这个 Issue 还没有评估数据。

描述

kind/cleanup lifecycle/frozen

Legacy parliament Python functions (the layout from before v1.18: func.py with def main(context), a Procfile running python -m parliament ., and a requirements.txt with parliament-functions) still build with the pack and s2i builders. #3927 added that support as deprecated: since v1.23, every build of such a function prints a deprecation warning, and the docs say it will be removed.

  • Name v1.26 in the build warning and the docs, so that v1.25 ships it
  • Remove it in v1.26: the legacy_parliament.go files, the lines marked LEGACY PYTHON, the e2e test data and the docs section

Users should move to the current Python layout, described in the docs above. Those who cannot yet can stay on v1.25, which is supported until 2027-08-03.

主要语言
Go
星标
366
派生
231
平均合并
2 天 23 小时
30 天内合并 PR
50

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

knative/func 的其他 Issue

查看 knative/func 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。