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.18.3 to 2.19.0 (#2143)
Bumps [prefect](https://github.com/PrefectHQ/prefect) from 2.18.3 to 2.19.0. <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.19.0</h2> <p>✨ This release includes a number of enhancements and fixes!</p> <h3>Support for major infrastructure and distributed task integrations</h3> <p>As <code>prefect-dask</code> and other integrations have been added to the prefect codebase, this release adds these integrations as extra requirements of the prefect package, making it easier to install support for everything in your Prefect stack:</p> <pre lang="bash"><code>pip install 'prefect[dask]' </code></pre> <p>We loved this community contribution so much, we did it for all our first-party integrations:</p> <pre lang="bash"><code>pip install 'prefect[aws,kubernetes,dask,dbt,sqlalchemy,slack]' </code></pre> <p>You can see the full list of Prefect's extra requirements in <a href="https://github.com/PrefectHQ/prefect/blob/main/setup.py#L43">our setup.py</a>.</p> <h3>Support for timeout seconds in global concurrency context manager</h3> <p>You may want to fail immediately if a global concurrency slot is unavailable. Rather than block and wait, you can now specify a <code>timeout_seconds</code> argument in the global concurrency context manager and catch a <code>TimeoutError</code> if a slot is not available within the specified time.</p> <pre lang="python"><code>@flow def fail_immediately_flow(): try: with concurrency("there-can-be-only-one", occupy=1, timeout_seconds=0.1): do_something_resource_intensive() except TimeoutError: return Cancelled(message="Another flow run is already running") </code></pre> <h3>Manage global concurrency limits via the CLI</h3> <p>Global concurrency limits let you control how many operations can run simultaneously-- now you can create, read, edit, and delete global concurrency limits via the Prefect CLI!</p> <p>To create a new concurrency limit, use the <code>prefect gcl create</code> command. You must specify a <code>--limit</code> argument, and can optionally specify a <code>--slot-decay-per-second</code> and <code>--disable</code> argument.</p> <pre lang="bash"><code>prefect gcl create my-concurrency-limit --limit 5 --slot-decay-per-second 1.0 </code></pre> <p>You can inspect the details of a concurrency limit using the <code>prefect gcl inspect</code> command:</p> <pre lang="bash"><code>prefect gcl inspect my-concurrency-limit </code></pre> <p>To update a concurrency limit, use the <code>prefect gcl update</code> command. You can update the <code>--limit</code>, <code>--slot-decay-per-second</code>, <code>--enable</code>, and <code>--disable</code> arguments:</p> <pre lang="bash"><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </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.19.0</h2> <h3>Support for major infrastructure and distributed task integrations</h3> <p>As <code>prefect-dask</code> and other integrations have been added to the <code>prefect</code> codebase, this release adds these integrations as <code>extra</code> requirements of the <code>prefect</code> package, making it easier to install support for everything in your Prefect stack.</p> <pre lang="bash"><code>pip install prefect[dask] </code></pre> <p>We loved this community contribution so much, we did it for all our first-party integrations.</p> <pre lang="bash"><code>pip install prefect[aws,kubernetes,dask,dbt,sqlalchemy,slack] </code></pre> <p>You can see the full list of Prefect's <code>extra</code> requirements in <a href="https://github.com/PrefectHQ/prefect/blob/main/setup.py#L43">our <code>setup.py</code></a>.</p> <p>See the following pull requests for implementation details:</p> <ul> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/13289">PrefectHQ/prefect#13289</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/13310">PrefectHQ/prefect#13310</a></li> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/13320">PrefectHQ/prefect#13320</a></li> </ul> <h3>Support for timeout seconds in global concurrency context manager</h3> <p>You may want to fail immediately if a global concurrency slot is unavailable. Rather than block and wait, you can now specify a <code>timeout_seconds</code> argument in the global concurrency context manager and catch a <code>TimeoutError</code> if a slot is not available within the specified time.</p> <pre lang="python"><code>@flow def fail_immediately_flow(): try: with concurrency("there-can-be-only-one", occupy=1, timeout_seconds=0.1): do_something_resource_intensive() except TimeoutError: return Cancelled(message="Another flow run is already running") </code></pre> <p>See the following pull request for implementation details:</p> <ul> <li><a href="https://redirect.github.com/PrefectHQ/prefect/pull/13262">PrefectHQ/prefect#13262</a></li> </ul> <h3>Manage global concurrency limits via the CLI</h3> <p>Global concurrency limits let you control how many operations can run simultaneously-- now you can create, read, edit, and delete global concurrency limits via the Prefect CLI!</p> <p>To create a new concurrency limit, use the <code>prefect gcl create</code> command. You must specify a <code>--limit</code> argument, and can optionally specify a <code>--slot-decay-per-second</code> and <code>--disable</code> argument.</p> <pre lang="bash"><code>prefect gcl create my-concurrency-limit --limit 5 --slot-decay-per-second 1.0 </code></pre> <p>You can inspect the details of a concurrency limit using the <code>prefect gcl inspect</code> command:</p> <pre lang="bash"><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PrefectHQ/prefect/commit/92a982fe05e1d9f6062764216af4f8dcd58e3486"><code>92a982f</code></a> Release notes 2.19.0 (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13319">#13319</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/29989f2d6eceff14cfe0f7e71f4bcb6531a86cd3"><code>29989f2</code></a> Adds the remaining integrations as <code>extra</code>s (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13320">#13320</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/0401b481ee748be59bfe7543ea4d0dc3ef5bfa9b"><code>0401b48</code></a> Move <code>serve</code> to <code>flows</code> submodule (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13284">#13284</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/c9e22de61316c50d5ea1c91a8b47050d33f0ab97"><code>c9e22de</code></a> Update integration libraries (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13277">#13277</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/21593571997bf301d8ed99fc2e9925607084ee1c"><code>2159357</code></a> Fix <code>apprise 1.8.0</code> imports (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13311">#13311</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/7a139dfe4745bc5e3b2be8078eba74ad0100a048"><code>7a139df</code></a> Update <code>@prefecthq/prefect-ui-library</code> to version 2.9.18 (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13312">#13312</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/d8c140301c933066a6b39ace8ee8ede5d85a67fc"><code>d8c1403</code></a> Adding extras for our major infrastructure and distributed task integrations ...</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/1e1368aa89c9aa4eb37e64abe5f7ed7981aa5a4c"><code>1e1368a</code></a> Add support for <code>pip install prefect[dask]</code> (<a href="https://redirect.github.com/PrefectHQ/prefect/issues/13289">#13289</a>)</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/2e2b3436dae8f9fbf37825590c2377554f52dde1"><code>2e2b343</code></a> Add <code>Resuming</code> flow runs to <code>BypassCancellingFlowRunsWithNoInfra</code> orchestrati...</li> <li><a href="https://github.com/PrefectHQ/prefect/commit/b4e811da5f0594bcc3dfcf7807d1060e24e838fc"><code>b4e811d</code></a> Fix selecting correct files when using ignore file in <code>GcsBucket</code>'s `put_dire...</li> <li>Additional commits viewable in <a href="https://github.com/PrefectHQ/prefect/compare/2.18.3...2.19.0">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.18.3&new-version=2.19.0)](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