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

Document that TraitPrefixMap and TraitPrefixList are deprecated #1702

Merged

Conversation

mdickinson
Copy link
Member

TraitPrefixMap and TraitPrefixList were deprecated in Traits 6.1, and will be removed in Traits 7.0. This PR updates the docs to make that deprecation clearer.

@mdickinson mdickinson added the porting: needs backport to 6.4 This PR needs to be backported to the maint/6.4 branch label Aug 10, 2022
@corranwebster
Copy link
Contributor

Nitpick: the API docs note the deprecation twice:
image

While it is good to have the deprecation noted in the docstring, you might want to remove the note in https://github.com/enthought/traits/blob/main/docs/source/traits_api_reference/trait_handlers.rst

@mdickinson
Copy link
Member Author

you might want to remove the note [...]

Done. Thanks!

@mdickinson mdickinson merged commit 11c6a87 into main Aug 10, 2022
@mdickinson mdickinson deleted the doc/note-deprecation-of-trait-prefix-map-and-trait-prefix-list branch August 10, 2022 13:48
mdickinson added a commit that referenced this pull request Aug 10, 2022
TraitPrefixMap and TraitPrefixList were deprecated in Traits 6.1, and will be removed in Traits 7.0. This PR updates the docs to make that deprecation clearer.

(cherry picked from commit 11c6a87)
@mdickinson mdickinson removed the porting: needs backport to 6.4 This PR needs to be backported to the maint/6.4 branch label Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants