-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Revert fspath deprecation #8903
Revert fspath deprecation #8903
Conversation
As per #8821 (comment), decided to go ahead with a PR, we can accept or decline it here. If accepted, I will create a follow up issue to reintroduce the deprecation at a later date. |
It is not clear yet how we should proceed with this deprecation because `pytest.Item.reportinfo` is public API and returns a `py.path` object, and is not clear how plugins and our examples should handle that. Reverting just the deprecation aspect of pytest-dev#8251 so we can get a 7.0.0 release out. We will reintroduce the deprecation later once we have a clear path moving forward with replacing `reportinfo`. Closes pytest-dev#8445 Closes pytest-dev#8821
4a9dad8
to
2c4c57e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for picking this up! Seems reasonable, for context, the original deprecation was in #8251.
I agree with what @bluetech has said in #8251 (comment) - let's release 7.0 without this deprecation, and then try to do a proper cut, probably for 8.0.
I think the docs are good as they are, because the upgrade path is clear.
|
Created follow up issue: #8908 |
* Remove changelog entry for #8251 Reverted in #8903 * Move #9202 changelog to to trivial This won't concern users of pytest * Streamline deprecation changelogs/docs * Remove #8994 changelog This is an impovement for a warning introduced in this release, so including it in a changelog against the last release seems confusing. * Remove #9241 changelog This is an impovement for a doc update introduced in this release, so including it in a changelog against the last release seems confusing. The issue number also seems about something different. * Remove #8897 changelog Empty file... * Various minor changelog fixes
It is not clear yet how we should proceed with this deprecation
because
pytest.Item.reportinfo
is public API and returns apy.path
object,and also how plugins and our examples should handle that.
Reverting just the deprecation aspect of #8251 so we can get a 7.0.0 release out.
We will reintroduce the deprecation later once we have a clear path moving forward with replacing
reportinfo
.Closes #8445
Closes #8821