Skip to content

feat(buffered): deprecate ReadableFile.meta and AsyncReadableFile.meta#667

Merged
kylebarron merged 2 commits intodevelopmentseed:mainfrom
fvaleye:refactor/readable-file-deprecate-meta
Apr 15, 2026
Merged

feat(buffered): deprecate ReadableFile.meta and AsyncReadableFile.meta#667
kylebarron merged 2 commits intodevelopmentseed:mainfrom
fvaleye:refactor/readable-file-deprecate-meta

Conversation

@fvaleye
Copy link
Copy Markdown
Contributor

@fvaleye fvaleye commented Apr 15, 2026

Summary

Agreed on in #664 (review comment).
Adds the deprecation warning now, so it can ship in a patch release: the actual removal + struct simplification stays on #664 for the next breaking release.

Follow-up

The actual removal of .meta and the struct simplification to {reader, size, r#async} lives on #664

@ds-release-bot ds-release-bot Bot added the feat label Apr 15, 2026
Comment thread obstore/python/obstore/_buffered.pyi Outdated
Comment thread obstore/python/obstore/_buffered.pyi Outdated
!!! warning "Deprecated"

This attribute is deprecated and will be removed in a future
release. Call [`obstore.head`][obstore.head] directly if you
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But alas here it is nicer to be able to point to a specific method. I was considering refactoring the docs to expose the mixin itself #634

@kylebarron
Copy link
Copy Markdown
Member

I think this is fine to merge and prepare for a patch release. Thanks!

Comment thread obstore/python/obstore/_buffered.pyi Outdated
@fvaleye fvaleye force-pushed the refactor/readable-file-deprecate-meta branch from ccd2b3e to 234c322 Compare April 15, 2026 15:29
@kylebarron kylebarron merged commit 77124fb into developmentseed:main Apr 15, 2026
9 checks passed
@kylebarron
Copy link
Copy Markdown
Member

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.

2 participants