-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
config: deprecate config.inicfg
#13955
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
Conversation
274237d to
f408697
Compare
f408697 to
adb3436
Compare
nicoddemus
left a comment
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.
I don't recall if it is OK to introduce deprecations in patch releases, or if it should be done only in minor releases.
Usually not, but in this case we broke it in pytest 9.0.0 and this restores it but makes it deprecated. |
adb3436 to
cdafcf1
Compare
If it was the case, we could split this PR in two: one restoring But if we are OK with adding deprecations in patch releases, then this is fine. I didn't find in our backward compatibility policy when deprecations could be introduced, only when they are removed. |
Good idea, let's do that. |
|
as far as im concerned its valid to add that deprecation right there - its a "bugfix" in a sense |
But we can do that in two parts: the bugfix does not necessarily needs to include the deprecation, it might come later. But whatever you folks decide works for me. |
As a private attribute, we broke it in pytest 9.0.0, but since it's not using a `_` prefix and has some external usage, let's keep it working until pytest 10 and deprecate it instead. Fix pytest-dev#13946.
cdafcf1 to
78e1bd7
Compare
|
This PR now has two commits, one restores and one deprecates. I will cherry-pick only the first to 9.0.x. |
Backport to 9.0.x: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 90b9389 on top of patchback/backports/9.0.x/90b9389af0e009bc021990919c54a3aaf3a217ca/pr-13955 Backporting merged PR #13955 into main
🤖 @patchback |
Fix pytest-dev#13955. (cherry picked from commit 1738920)
As a private attribute, we broke it in pytest 9.0.0, but since it's not using a
_prefix and has some external usage, let's keep it working until pytest 10 and deprecate it instead.Fix #13946.