Skip to content

another note#1168

Merged
zzstoatzz merged 1 commit into
mainfrom
more-notes
Jun 9, 2025
Merged

another note#1168
zzstoatzz merged 1 commit into
mainfrom
more-notes

Conversation

@zzstoatzz

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 9, 2025 16:53
@zzstoatzz zzstoatzz merged commit 06c2c01 into main Jun 9, 2025
3 checks passed
@zzstoatzz zzstoatzz deleted the more-notes branch June 9, 2025 16:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR strengthens deprecation notices in the Prefect 3.x gotchas list and adds a missing CLI deprecation for prefect deployment build.

  • Changed wording to emphasize that Deployment.build_from_flow() is fully removed.
  • Added a new bullet for the CLI deprecation of prefect deployment build.

Comment on lines +78 to +79
"Deployment.build_from_flow() IS COMPLETELY REMOVED IN 3.x, use some_flow.from_source(...).deploy(...) instead.",
"`prefect deployment build ...` IS COMPLETELY REMOVED IN 3.x, use `prefect deploy ...` instead",

Copilot AI Jun 9, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The all-caps emphasis is inconsistent with the sentence casing used in other bullets. Consider using sentence case for consistency (e.g., "is completely removed in 3.x").

Suggested change
"Deployment.build_from_flow() IS COMPLETELY REMOVED IN 3.x, use some_flow.from_source(...).deploy(...) instead.",
"`prefect deployment build ...` IS COMPLETELY REMOVED IN 3.x, use `prefect deploy ...` instead",
"Deployment.build_from_flow() is completely removed in 3.x, use some_flow.from_source(...).deploy(...) instead.",
"`prefect deployment build ...` is completely removed in 3.x, use `prefect deploy ...` instead",

Copilot uses AI. Check for mistakes.
"prefect 3.x uses pydantic 2 and server data from prefect 2.x is not compatible with 3.x",
"Deployment.build_from_flow() is removed in 3.x, use some_flow.from_source(...).deploy(...) instead.",
"Deployment.build_from_flow() IS COMPLETELY REMOVED IN 3.x, use some_flow.from_source(...).deploy(...) instead.",
"`prefect deployment build ...` IS COMPLETELY REMOVED IN 3.x, use `prefect deploy ...` instead",

Copilot AI Jun 9, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] There are two spaces before IS COMPLETELY REMOVED, and the sentence lacks a trailing period. Use single spacing and add a period to match other entries.

Suggested change
"`prefect deployment build ...` IS COMPLETELY REMOVED IN 3.x, use `prefect deploy ...` instead",
"`prefect deployment build ...` IS COMPLETELY REMOVED IN 3.x, use `prefect deploy ...` instead.",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants