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

Deprecate storage blocks with implementations in Prefect integration packages #12299

Merged
merged 2 commits into from Mar 14, 2024

Conversation

desertaxle
Copy link
Member

@desertaxle desertaxle commented Mar 14, 2024

Adds deprecation warnings to the S3, GCS, Azure, and GitHub blocks in the filesystems module. These blocks have implementations in Prefect integration packages that offer more functionality and a better user experience. These blocks will be removed from the core package to prevent confusion around blocks that appear to be duplicates.

Requires PrefectHQ/prefect-azure#139

Example

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • This pull request includes tests or only affects documentation.
  • This pull request includes a label categorizing the change e.g. maintenance, fix, feature, enhancement, docs.

For documentation changes:

  • This pull request includes redirect settings in netlify.toml for files that are removed or renamed.

For new functions or classes in the Python SDK:

  • This pull request includes helpful docstrings.
  • If a new Python file was added, this pull request contains a stub page in the Python SDK docs and an entry in mkdocs.yml navigation.

@desertaxle desertaxle added the deprecation This feature has been marked for removal label Mar 14, 2024
Copy link

netlify bot commented Mar 14, 2024

Deploy Preview for prefect-docs-preview ready!

Name Link
🔨 Latest commit 6430286
🔍 Latest deploy log https://app.netlify.com/sites/prefect-docs-preview/deploys/65f31133b3c03d00098ad993
😎 Deploy Preview https://deploy-preview-12299--prefect-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@desertaxle desertaxle marked this pull request as ready for review March 14, 2024 14:44
@desertaxle desertaxle requested a review from a team as a code owner March 14, 2024 14:44
DEPRECATION WARNING:

This class is deprecated as of March 2024 and will not be available after September 2024.
It has been replaced by `S3Bucket` from the prefect-aws package, which offers enhanced functionality
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
It has been replaced by `S3Bucket` from the prefect-aws package, which offers enhanced functionality
It has been replaced by `S3Bucket` from the `prefect-aws` package, which offers enhanced functionality

maybe?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm sure you're already thinking about this @desertaxle but the other PRs didn't have backticks on package names, so that might be good to be consistent on.

DEPRECATION WARNING:

This class is deprecated as of March 2024 and will not be available after September 2024.
It has been replaced by `AzureBlobStorageContainer` from the prefect-azuer package, which
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
It has been replaced by `AzureBlobStorageContainer` from the prefect-azuer package, which
It has been replaced by `AzureBlobStorageContainer` from the prefect-azure package, which


This class is deprecated as of March 2024 and will not be available after September 2024.
It has been replaced by `S3Bucket` from the prefect-aws package, which offers enhanced functionality
and better a better user experience.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
and better a better user experience.
and a better user experience.


This class is deprecated as of March 2024 and will not be available after September 2024.
It has been replaced by `GcsBucket` from the prefect-gcp package, which offers enhanced functionality
and better a better user experience.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
and better a better user experience.
and a better user experience.


This class is deprecated as of March 2024 and will not be available after September 2024.
It has been replaced by `AzureBlobStorageContainer` from the prefect-azuer package, which
offers enhanced functionality and better a better user experience.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
offers enhanced functionality and better a better user experience.
offers enhanced functionality and a better user experience.


This class is deprecated as of March 2024 and will not be available after September 2024.
It has been replaced by `GitHubRepository` from the prefect-github package, which offers
enhanced functionality and better a better user experience.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
enhanced functionality and better a better user experience.
enhanced functionality and a better user experience.

@desertaxle desertaxle merged commit 59daba4 into main Mar 14, 2024
45 checks passed
@desertaxle desertaxle deleted the deprecate/specific-storage-blocks branch March 14, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation This feature has been marked for removal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants