Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump prefect from 2.16.1 to 2.16.3 (#1870)
Bumps [prefect](https://github.com/PrefectHQ/prefect) from 2.16.1 to 2.16.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/PrefectHQ/prefect/releases">prefect's releases</a>.</em></p> <blockquote> <h2>Release 2.16.3</h2> <p>This release includes enhanced deployment parameters in the Prefect UI. We’ve refined the deployment parameters UI to significantly enhance default value handling and list management. 🛠️ This release introduces support for tuple-type parameters and a revamped list UI, freeing users from the constraints of JSON for list inputs. 🔄 You now have the flexibility to utilize JSON or Prefect variables for any parameter value, enhancing the versatility of deployment configurations. 💪 Moreover, we’ve synchronized validation across the UI and deployment schemas, ensuring that user inputs are consistently checked against the defined parameter requirements, which simplifies the deployment process and minimizes configuration errors. ✅ These improvements are aimed at providing a more efficient and user-friendly interface for managing deployment parameters. 🌟</p> <!-- raw HTML omitted --> <p>This release also includes many other enhancements and fixes, including a new <code>on_running</code> state change hook 🎣, two memory leak fixes 🔧, and much more.</p> <p>See the <a href="https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2163">release notes</a> for details! 📜🚀</p> <h2>Release 2.16.2</h2> <h2>⛑️ Fixing a logging bug introduced by <code>2.16.1</code></h2> <p>In <code>2.16.1</code>, a <a href="https://redirect.github.com/PrefectHQ/prefect/issues/12139">regression</a> related to logging non-<code>str</code> objects (when a <code>PREFECT_API_KEY</code> was set) was introduced. The fix is included in <code>2.16.2</code>.</p> <p>See <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12151">PrefectHQ/prefect#12151</a> for implementation details.</p> <h2>🎯 Use a module path entrypoint when using <code>.serve</code> or <code>.deploy</code></h2> <pre lang="python"><code>from prefect_dbt.cloud.jobs import trigger_dbt_cloud_job_run_and_wait_for_completion <p>from prefect.deployments import EntrypointType</p> <p>if <strong>name</strong> == "<strong>main</strong>": trigger_dbt_cloud_job_run_and_wait_for_completion.deploy( name="demo-deploy-from-module", work_pool_name="olympic", entrypoint_type=EntrypointType.MODULE_PATH, job_variables={"env": { "EXTRA_PIP_PACKAGES": "prefect-dbt" } } ) </code></pre></p> <p>See <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12134">PrefectHQ/prefect#12134</a> for implementation details.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/PrefectHQ/prefect/compare/2.16.1...2.16.2">https://github.com/PrefectHQ/prefect/compare/2.16.1...2.16.2</a></p> <!-- raw HTML omitted --> <p>See the<a href="https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2162"> release notes </a>for more!</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md">prefect's changelog</a>.</em></p> <blockquote> <h2>Release 2.16.3</h2> <h3>Enhanced deployment parameters in the Prefect UI</h3> <p>We’ve refined the deployment parameters UI to significantly enhance default value handling and list management. This release introduces support for tuple-type parameters and a revamped list UI, freeing users from the constraints of JSON for list inputs. You now have the flexibility to utilize JSON or Prefect variables for any parameter value, enhancing the versatility of deployment configurations. Moreover, we’ve synchronized validation across the UI and deployment schemas, ensuring that user inputs are consistently checked against the defined parameter requirements, which simplifies the deployment process and minimizes configuration errors.</p> <p>These improvements are aimed at providing a more efficient and user-friendly interface for managing deployment parameters. Check it out for yourself!</p> <!-- raw HTML omitted --> <p>See the following PRs for implementation details:</p> <ul> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/12168">PrefectHQ/prefect#12168</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/12179">PrefectHQ/prefect#12179</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/12186">PrefectHQ/prefect#12186</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/12187">PrefectHQ/prefect#12187</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/12182">PrefectHQ/prefect#12182</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/12219">PrefectHQ/prefect#12219</a></li> </ul> <h3>Enhancements</h3> <ul> <li>Adds <code>on_running</code> state change hook — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12153">PrefectHQ/prefect#12153</a></li> <li>Add flow run state data to flow run graph API — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12130">PrefectHQ/prefect#12130</a></li> <li>Add schedules shorthand support to <code>Deployment.build_from_flow</code> — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12181">PrefectHQ/prefect#12181</a></li> <li>Send flow run and task run retry logs to API — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12211">PrefectHQ/prefect#12211</a></li> <li>Add the flow run graph states layer and handle selection — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12166">PrefectHQ/prefect#12166</a> - asked Brandon</li> <li>Add a paused deployment filter and update <code>is_schedule_active</code> filter — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12202">PrefectHQ/prefect#12202</a></li> <li>Updating client-side schemas for automation triggers to reflect updates in Prefect Cloud — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12205">PrefectHQ/prefect#12205</a></li> </ul> <h3>Fixes</h3> <ul> <li>Address two memory leak in concurrency management — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12141">PrefectHQ/prefect#12141</a></li> </ul> <h3>Experimental</h3> <ul> <li>Add Job Variables tab to the Flow Runs page — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12206">PrefectHQ/prefect#12206</a></li> <li>Add support for calling <code>.map</code> for autonomous task runs — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12171">PrefectHQ/prefect#12171</a></li> <li>Simplify already authenticated logic for <code>prefect cloud login</code> — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12209">PrefectHQ/prefect#12209</a></li> <li>Add better parity with Prefect Cloud for task scheduling protocol - <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12212">PrefectHQ/prefect#12212</a></li> <li>Allow creating autonomous task runs via <code>__call__</code> — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12158">PrefectHQ/prefect#12158</a></li> </ul> <h3>Integrations</h3> <ul> <li>Fix VPC Connector usage in Cloud Run Worker v2 - <a href="https://redirect.github.com/PrefectHQ/prefect-gcp/pull/252">PrefectHQ/prefect-gcp#252</a></li> </ul> <h3>Documentation</h3> <ul> <li>Add advanced example to CI/CD guide — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12188">PrefectHQ/prefect#12188</a></li> <li>Add keyword for search to deployments concept doc — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12178">PrefectHQ/prefect#12178</a></li> <li>Add a <code>prefect-client</code> README — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12172">PrefectHQ/prefect#12172</a></li> <li>Add <code>prefect-soda-cloud</code> integration — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12208">PrefectHQ/prefect#12208</a></li> <li>Update Prefect self-hosted guide to clarify PostgreSQL Docker instructions — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12164">PrefectHQ/prefect#12164</a></li> <li>Update README example — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12167">PrefectHQ/prefect#12167</a></li> <li>Remove outdated sqlite version info from install docs — <a href="https://redirect.github.com/PrefectHQ/prefect/pull/12162">PrefectHQ/prefect#12162</a></li> </ul> <h3>Contributors</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PrefectHQ/prefect/commit/e3f02c00ef7ed5fbcce7058fd6b0aea1c02206fd"><code>e3f02c0</code></a> Release notes 2.16.3 (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12217">#12217</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/5cd3deab35d14d7e70488a12797d04fb854a7f34"><code>5cd3dea</code></a> prioritize validation errors (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12219">#12219</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/fb2d7152b0e3fe1928081b28fec328afac99b1aa"><code>fb2d715</code></a> Better parity between Prefect and Prefect Cloud for task scheduling protocol ...</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/e358d3d1d1250007e773e6f6daa9dbc0c759e229"><code>e358d3d</code></a> Update <code>@prefecthq/prefect-ui-library</code> to version 2.6.29 (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12218">#12218</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/5fb07c007c12e36295f637482bb43eb14334f84b"><code>5fb07c0</code></a> Send flow run and task run retry logs to API (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12211">#12211</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/df0c4184907b49f44c1082df9ca54078026d2a4b"><code>df0c418</code></a> Update <code>@prefecthq/prefect-ui-library</code> to version 2.6.28 (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12216">#12216</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/2e49edf956a20354bae271ebdf852e1780e6ed22"><code>2e49edf</code></a> Simplify already authenticated logic for <code>prefect cloud login</code> (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12209">#12209</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/4d8ca3fbc62f740092cfaa9d59c7190af0432e21"><code>4d8ca3f</code></a> Updating client-side schemas for Triggers to reflect updates in Prefect Cloud...</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/9087b04d7536ad7cfd271e752a0a279688ef691a"><code>9087b04</code></a> Adds an on_running state change hook (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12153">#12153</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/986a2b46043e224a031de4d63499d0621582fe08"><code>986a2b4</code></a> Added prefect-soda-cloud integration (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/12208">#12208</a>)</li> <li>Additional commits viewable in <a href="https://github.com/PrefectHQ/prefect/compare/2.16.1...2.16.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prefect&package-manager=pip&previous-version=2.16.1&new-version=2.16.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information