Skip to content

Conversation

twoGiants
Copy link
Contributor

The latest func cli generates a different Python function template than shown in the tutorial. There is no setup.py anymore and the project uses a toml file for configuration. The entire section was updated and code was corrected. Now the function example can be build and invoked again using func v0.46.0.

Fixes #6417.

Proposed Changes

Update 2 Create Sentiment Service.

  • Add corrected function template.
  • Fix paths.
  • Fix sample code.
  • Fix configuration step.
  • Remove Step 4: Configure the pre-build environment.
  • Change numbering.
  • Remove references to setup.py.

Copy link

knative-prow bot commented Oct 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: twoGiants
Once this PR has been reviewed and has the lgtm label, please assign arsenetar for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for knative ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6178c95
🔍 Latest deploy log https://app.netlify.com/projects/knative/deploys/68dfe1d7829bd100082e382d
😎 Deploy Preview https://deploy-preview-6419--knative.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 3, 2025
@knative-prow knative-prow bot requested review from Leo6Leo and nainaz October 3, 2025 14:42
@knative-prow knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 3, 2025
The latest func cli generates a different Python function template than
shown in the tutorial. There is no `setup.py` anymore and the project
uses a toml file for configuration. The entire section was updated and
code was corrected.

Issue knative#6417.

Signed-off-by: Stanislav Jakuschevskij <sjakusch@redhat.com>
@twoGiants twoGiants force-pushed the issue-6417-fix-step-2-sentiment-service-listings branch from 61cd97e to 6178c95 Compare October 3, 2025 14:46
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

e2e tutorial "Step 2 - Create Sentiment Service" fails with latest func cli version.
2 participants