Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prefect from 2.13.5 to 2.13.7 #142

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 16, 2023

Bumps prefect from 2.13.5 to 2.13.7.

Release notes

Sourced from prefect's releases.

Release 2.13.7

This release includes:

⚙️ 🥳 Pydantic V2 Support

In #10946 we add support for Pydantic V2. In 2.13.5 we released experimental support for Pydantic V2, which made it technically co-installable via forced install. In this release we're enabling proper co-installation.

Release 2.13.6

This release includes:

📦 Default result storage block The new PREFECT_DEFAULT_RESULT_STORAGE_BLOCK setting allows users to set a default storage block on a work pool or via job variables for a deployment. It's now easier to swap result storage locations by updating the environment in the UI or your prefect.yaml file, eliminating the need to alter your flow source code.

🧪 Experimental enhanced cancellation We're enhancing the reliability of flow run cancellation, which you can try out by enabling the PREFECT_EXPERIMENTAL_ENABLE_ENHANCED_CANCELLATION feature. When enabled, you can cancel flow runs where cancellation can fail, such as when your worker is offline.

See the release notes for details!

Changelog

Sourced from prefect's changelog.

Prefect Release Notes

Release 2.13.6

Specify a default result storage block as a setting

Previously, specifying result storage blocks necessitated changes in the @flow or @task decorator. Now, the PREFECT_DEFAULT_RESULT_STORAGE_BLOCK setting allows users to set a default storage block on a work pool or via job variables for a deployment. For example, to set a default storage block for a deployment via prefect.yaml:

deployments:
- name: my-super-cool-deployment
  entrypoint: some_directory/some_file.py:my_flow
  schedule:
    cron: "0 20 * * 1-5"
  work_pool:
    name: ecs-pool
    job_variables:
      env:
        PREFECT_DEFAULT_RESULT_STORAGE_BLOCK: s3/my-s3-bucket-block-name

This enhancement enables easier swapping of result storages by just updating the environment in the UI or in your prefect.yaml, eliminating the need to alter your flow source code.

See the following pull request for details:

Experimental support for enhanced cancellation

We're introducing a new experimental feature that will enable more consistent and reliable cancellation of flow runs.

To enable enhanced cancellation, set the PREFECT_EXPERIMENTAL_ENABLE_ENHANCED_CANCELLATION setting on your worker or agents to True:

prefect config set PREFECT_EXPERIMENTAL_ENABLE_ENHANCED_CANCELLATION=True

When enabled, you can cancel flow runs where cancellation can fail, such as when your worker is offline. We will continue to develop enhanced cancellation to improve its reliability and performance. If you encounter any issues, please let us know in Slack or with a Github issue.

Note: If you are using the Kubernetes worker, you will need to update your prefect-kubernetes installation to 0.3.1. If you are using the Cloud Run or Vertex AI workers, you will need to update your prefect-gcp installation to 0.5.1.

See the following pull requests for details:

Enhancements

Fixes

  • Avoid prefect deploy prompt for remote storage if a global pull step is already defined - PrefectHQ/prefect#10941

Documentation

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 16, 2023
Bumps [prefect](https://github.com/PrefectHQ/prefect) from 2.13.5 to 2.13.7.
- [Release notes](https://github.com/PrefectHQ/prefect/releases)
- [Changelog](https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md)
- [Commits](PrefectHQ/prefect@2.13.5...2.13.7)

---
updated-dependencies:
- dependency-name: prefect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/develop/prefect-2.13.7 branch from 1464546 to 22a0e14 Compare October 16, 2023 14:58
@simonwoerpel simonwoerpel merged commit 324b069 into develop Oct 17, 2023
3 of 5 checks passed
@simonwoerpel simonwoerpel deleted the dependabot/pip/develop/prefect-2.13.7 branch October 17, 2023 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant