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
fast-nail-55400
07/23/2025, 6:39 PM
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
fast-nail-55400
07/23/2025, 6:40 PM
So question #1: Will existing users using the default tool resolve see their tests break in going from pytest v7.x. to v8.x?
fast-nail-55400
07/23/2025, 6:41 PM
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
busy-ram-14533
07/23/2025, 9:45 PM
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
broad-processor-92400
07/24/2025, 12:41 AM
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