You can use `.. deprecated:: 1.7` for that. Also, any deprecation should be added to the deprecation timeline, and the release notes.