Deprecation of legacy parliament Python functions (removal in 1.26)

Open
#4,185 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@gauron99 is already working on this.

Since Nov 20, 2026.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Go
Stars
366
Forks
231
Avg merge
2d 23h
Merged PRs (30d)
50

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from knative/func

All issues in knative/func

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.