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

fix(greet): update dependency prefect to v2.14.5 #12692

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prefect (source, changelog) 2.14.4 -> 2.14.5 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

PrefectHQ/prefect (prefect)

v2.14.5

Compare Source

Storage block compatibility with flow.from_source

You can now use all your existing storage blocks with flow.from_source! Using storage blocks with from_source is great when you need to synchronize your credentials and configuration for your code storage location with your flow run execution environments. Plus, because block configuration is stored server-side and pulled at execution time, you can update your code storage credentials and configuration without re-deploying your flows!

Here's an example of loading and serving a flow from an S3 bucket:

from prefect import flow
from prefect_aws import AwsCredentials
from prefect_aws.s3 import S3Bucket

if __name__ == "__main__":
    flow.from_source(
        source=S3Bucket(
            bucket_name="my-code-storage-bucket",
            credentials=AwsCredentials(
                aws_access_key_id="my-access-key-id",
                aws_secret_access_key="my-secret-access-key",
            ),
        ),
        entrypoint="flows.py:my_flow",
    ).deploy(name="my-deployment", work_pool_name="above-ground")

Here's an example of loading and deploying a flow from an S3 bucket:

from prefect import flow
from prefect_aws.s3 import S3Bucket

if __name__ == "__main__":
    flow.from_source(
        source=S3Bucket.load("my-code-storage-bucket"), entrypoint="flows.py:my_flow"
    ).deploy(name="my-deployment", work_pool_name="above-ground")

Note that a storage block must be saved before deploying a flow, but not if you're serving a remotely stored flow.

See the following pull request for implementation details:

Enhancements
Fixes
Documentation
Contributors

All changes: PrefectHQ/prefect@2.14.4...2.14.5


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from hongbo-miao as a code owner November 16, 2023 21:54
Copy link

sonarcloud bot commented Nov 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mergify mergify bot merged commit 5f45ef0 into main Nov 16, 2023
80 checks passed
@mergify mergify bot deleted the renovate/greet-prefect-2.x branch November 16, 2023 21:57
Copy link

🎉 This PR is included in version 1.96.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

0 participants