brave-hair-402
08/21/2025, 12:55 PM./pants test
install packages that donโt match the lockfile?
In my case, the test PEX ends up with two attrs
versions (24.2.0
and 25.3.0
). Python imports the older one first, which breaks cattrs 25.x
with ImportError: cannot import name 'NothingType' from 'attrs'
. When I run ./pants export ::
, the exported venv correctly has only attrs==25.3.0
. Iโve cleaned caches, but the duplicate older attrs
returns during pants test
.
Is this a known issue or a misconfig on my end?elegant-florist-94385
08/21/2025, 12:59 PMpython_requirement
targets? maybe the export process can handle the de-duplicating, but the sandboxing for tests has a more difficulr time?elegant-florist-94385
08/21/2025, 12:59 PMbrave-hair-402
08/21/2025, 1:55 PMbrave-hair-402
08/21/2025, 2:31 PMbrief-scientist-13682
08/27/2025, 9:14 PMbrief-scientist-13682
08/27/2025, 9:25 PMbrave-hair-402
08/27/2025, 9:26 PM