8000 [WIP] Deprecate properties in favor of features by andy-sweet · Pull Request #5477 · napari/napari · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[WIP] Deprecate properties in favor of features #5477

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

Draft
wants to merge 120 commits into
base: main
Choose a base branch
from

Conversation

andy-sweet
Copy link
Member
@andy-sweet andy-sweet commented Jan 13, 2023

Fixes / Closes

Closes #3911

Description

This is a joint effort from me and @kevinyamauchi to deprecate the public API around properties state/parameters across all layers and related utilities, in favor of features. We also had to update some implementation details to avoid triggering the deprecation warnings in normal usage of napari.

Many of the code changes are in tests. These are mostly updated to maintain behaviors, but use features instead of properties. We also ensured there are some tests to continue to check that properties are working as expected and also issue deprecation warnings.

References

Part of #2866

@github-actions github-actions bot added the tests Something related to our tests label Jan 13, 2023
@andy-sweet
Copy link
Member Author

@kevinyamauchi : I picked this up and this is a little easier after merging #5646

Will mark this as ready for review when I think this is in a good place.

@andy-sweet andy-sweet added the maintenance PR with maintance changes, label Jul 13, 2023
@jni jni modified the milestones: 0.5.0, 0.5 Jul 2, 2024
@andy-sweet
Copy link
Member Author

I'm planning to split this XXL PR into two or three parts to help review the changes.

@willingc willingc added the needs:out-of-draft Needs transition from draft to ready for review label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes, needs:out-of-draft Needs transition from draft to ready for review qt Relates to qt tests Something related to our tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate all properties related layer state
7 participants
0