-
-
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
[YANKED] pytest 8.1.0 removes many deprecations, but not mentioned in changelog #12069
Comments
this is a duplicate of #12068 the removal process itself is as intended, the oversight was that warnings of certain hooks where not displayed as expected leaving this open for now to help people |
@RonnyPfannschmidt @nicoddemus since we botched the deprecation, perhaps we should revert the removal until we can have at least one release with proper deprecation? |
should we yank 8.1 for the deprecation issues? |
lets defer the return of code a bit as i'd like to know first how to trigger the errors |
I think it is fair to postpone the removals if we did not issue the proper warnings, as we vouch to do before any removals took place. Those removals would then have to be postponed to 9.0/9.1 then. Not sure if you folks would like to yank 8.1? Seems reasonable. |
Reverting + releasing 8.1.1 should not be a problem, but if @RonnyPfannschmidt wants to avoid a revert, let's yank as it seems to be causing a lot of failures. |
lets yank and revert then |
I'm yanking it. |
Thanks @nicoddemus! @RonnyPfannschmidt do you want me to revert the removal, or do you want to? |
Opening PR to update the CHANGELOG. |
Related to pytest-dev#12069
Dear maintainers and devs, thank you for all that you do and the quick response! 💖 |
Related-to: businho/pytest-ruff#15 Related-to: pytest-dev/pytest#12069
Apparently, you were overnervous that you withdrew this version ))) |
I still hold the opinion that yanking a release that enacts breakages whose warning where missing is a correct course of action However I wasn't aware of wrongly overzealous compatibility pins, so in future I'll ensure a quick fix in the affected line is available for affected Parties |
Edit: it seems I misunderstood how yanking works. |
@sigma67 No, if you pin the exact version, it should successfully install even if yanked. This is the famous "left-pad" issue. |
@bluetech is correct AIFAK: yanking is not removing, the package is still available if you explicitly ask for it, for example:
Even though |
Yup, I can confirm that poetry-locked yanked dependencies install just fine and merely emit a warning |
Is it expected to The pytest-ruff don't trigger any deprecation warning. I don't know if it is expected or if I have to test it better. |
@iurisilvio No, we still need to work on fixing the deprecation. |
But you can test with the yanked 8.1.0 for now, if it works you're clear 😄 |
Thanks! I'll test with 8.1.0! |
8.1.1 didn't revert all the removals, right? The Edit: I've remembered that that's private API so I guess it gets the well what did you expect? treatment. |
No, we only reverted those two removals:
The rationale being that we were not warning about those deprecations.
Well perhaps not being so harsh 😁, but yes, we reserve the right to break those when we improve the internal code. |
* Fix #478 by whitelisting str for skipping read-only attrs * Add changelog entry for str errors * Move new fix from 3.0.3 to 3.0.4
Related to pytest-dev#12069
#11757 is not mentioned as a breaking change for the Pytest 8.1.0 Release in https://docs.pytest.org/en/stable/changelog.html ; it breaks plugins who were still supporting the older signature.
I'm opening this issue as a hint to others; is it possible to update the changelog after a release?
The text was updated successfully, but these errors were encountered: