-
Notifications
You must be signed in to change notification settings - Fork 230
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
Remove deprecated "slave" aliases #541
Conversation
And it looks like we'll need to start with some upstream fixes, and then bump the minimum version of For future reference, if we're deprecating an attribute we should really turn it into a property which emits deprecation warnings so that people know they need to migrate - in this case even the pytest team seems to have missed it! |
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.
Lovely, thanks
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.
Needs to be a major release 👍
Some other pytest-dev repos that'll need updating: https://github.com/search?l=Python&q=sort%3Aupdated-desc+slave+org%3Apytest-dev+xdist&type=Code |
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 @Zac-HD!
As you commented, we will need to update the requirements in setup.py
to pytest>=6.0
, and we will need
to release this only after pytest 6.0 is released. 👍
Just marking this as "requested changes" so it is clear this is not yet ready for merging.
I've posted an issue to all repositories from @hugovk's search warning about the upcoming changes. 👍 |
for those looking for messaging, the minimum version necessary appears to be pytest-xdist 1.22.3 |
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.
84920de
to
a70a6a6
Compare
I've bumped the dependency to @nicoddemus @RonnyPfannschmidt @asottile - the plan was to wait for 6.0.0 final, but I guess we could also do a |
@nicoddemus (et al ❤️), pytest 6 is out 🎉 and I think we're finally ready to merge this! Then merge #557 into master, and do the release magic... |
was waiting for pytest 6.0, which is now out!
All the issues/PRs referencing this one are now closed/merged 👍 |
Hey everyone, sorry for the delay here; I did not forget this, it is on my radar, I will get to it sometime this week. 👍 |
I want to take a pass at the opening PRs before releasing 2.0, will try to do it by the end of the week. 👍 |
We started this process in 2017 with #234, and it's time to complete it. Xref pytest-dev/pytest#7344
Implementation note: after is in a released version of pytest, I'll bump the
pytest
required version forpytest-xdist
and then merge this 🙂pytest
supportpytest >= 6.0.0
(after that release)pytest-xdist
2.0 🎉