Skip to content

Update deprecation/removal docs to point to labels/milestones instead #3087

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

Merged
merged 1 commit into from
Jan 11, 2018

Conversation

nicoddemus
Copy link
Member

Using milestones and proper issues are a much saner way to handle these topics
than keeping them in sync in a separate document.

I was worried how to keep them in sync until this solution occurred to me. I already created the labels and related issues.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.565% when pulling 5ee235e on nicoddemus:deprecation-roadmap into e8c0ca4 on pytest-dev:master.

@@ -15,91 +15,6 @@ We will only remove deprecated functionality in major releases (e.g. if we depre
Deprecation Roadmap
-------------------

This page lists deprecated features and when we plan to remove them. It is important to list the feature, the version where it got deprecated and the version we plan to remove it.
We track deprecation and removal of features using milestones and the `deprecation <https://github.com/pytest-dev/pytest/labels/type%3A%20deprecation>`_ and `removal <https://github.com/pytest-dev/pytest/labels/type%3A%20removal>`_ labels on GitHub.
Copy link
Member

Choose a reason for hiding this comment

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

should we perhaps link to the label page which shows both open and closed? (for example https://github.com/pytest-dev/pytest/issues?q=label%3A%22type%3A+deprecation%22)

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea, done!

Using milestones and proper issues are a much saner way to handle these topics
than keeping them in sync in a separate document
@nicoddemus nicoddemus force-pushed the deprecation-roadmap branch from 5ee235e to cb6b851 Compare January 6, 2018 15:48
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.565% when pulling cb6b851 on nicoddemus:deprecation-roadmap into 06a1823 on pytest-dev:master.

@nicoddemus nicoddemus merged commit 3181718 into pytest-dev:master Jan 11, 2018
@nicoddemus nicoddemus deleted the deprecation-roadmap branch January 11, 2018 13:14
@hugovk
Copy link
Member

hugovk commented Jan 20, 2019

The label for deprecation says:

feature that will be deprecated in the future

I think the feature is being deprecated now, would it make more sense to say this?

feature that will be removed in the future

@nicoddemus
Copy link
Member Author

@hugovk good point, fixed. Thanks!

@hugovk
Copy link
Member

hugovk commented Jan 21, 2019

By the way, I found your deprecations and removals docs really clear and useful, and started a similar one for Pillow. Thanks!

https://pillow.readthedocs.io/en/stable/deprecations.html

@nicoddemus
Copy link
Member Author

Awesome, thanks for the feedback, we appreciate it!

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.

6 participants