Hey folks. One of my teammates wrote up <https://g...
# development
b
Hey folks. One of my teammates wrote up #22534 Update default pytest subsystem version to 8.x, and I'm wondering in general how you think about upgrading a tool like pytest. I know we could install from a resolve, but we thought it would be nice if pants delivered a fairly modern version. Plus the pytest version delivered by pants by default (
7.0.1
) is pretty old.
f
At least from my POV, I do not think you will see any maintainer objections. Indeed, we welcome such contributions to upgrade tool versions. The main issue in my mind is making sure that existing users are not surprised by the change when they upgrade and that they have a clear migration path.
☝️ 1
So question #1: Will existing users using the default tool resolve see their tests break in going from pytest v7.x. to v8.x?
Documentation will be essential to teach users how to setup a pytest v7.x resolve if they do not want to migrate to pytest v8 immediately.
b
Okay awesome! And everything you're saying makes sense. I think the existing docs about setting a pytest resolve will work well and we could include some specifics in the release blog
b
Yeah, I think in the past we’ve made sure it’s highlighted in release notes with a reminder of how to set up a manual resolve