[From nobody Fri Jul 10 08:28:06 2026
Received: (at submit) by bugs.debian.org; 10 Mar 2026 08:52:29 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-19.8 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
 DKIM_VALID_EF,FOURLA,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,
 HAS_PACKAGE,MD5_SHA1_SUM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 104; hammy, 150; neutral, 307; spammy,
 0. spammytokens: hammytokens:0.000-+--autopkgtest,
 0.000-+--sk:taint_o, 
 0.000-+--sk:TAINT_O, 0.000-+--forky, 0.000-+--HTo:N*Debian
Return-path: &lt;vpa1977@gmail.com&gt;
Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:42182)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.96) (envelope-from &lt;vpa1977@gmail.com&gt;) id 1vzspJ-003HW7-04
 for submit@bugs.debian.org; Tue, 10 Mar 2026 08:52:29 +0000
Received: by mail-pl1-x630.google.com with SMTP id
 d9443c01a7336-2ad21f437eeso92942525ad.0
 for &lt;submit@bugs.debian.org&gt;; Tue, 10 Mar 2026 01:52:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1773132745; x=1773737545; darn=bugs.debian.org;
 h=date:message-id:subject:to:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=6YTOjki5xDC6v3mB6ILkM4ImkJCR4pMlCNePNmbtAvg=;
 b=JFaVDzbjFIMJsJIrppx9wXGhmdQRtuHSb/QZE7qPDvDiGSty7ALmI5LYkOLbI6puhS
 c8ClGd7sOXc2LfMwDEI1S7JQjjZ8zVFyMcZnZP/oBUJ8RSYUgi0xVEgBYQMU9kaYHMns
 WKKOP5v2mYQ4iIuXCOI4PujIpx6jWQ/HgthKLx5Hqq7nsssuqXFOHnxlrXrDUoDO0rDr
 JXDR/t4PpipSfqnz7QMpatf5od3jjpgLozFrtJdzSoMAhsekBY0QVl749SrQd2cSFu8P
 TaFsIm9cJMgMKxVmbqtfkURmrhkqHpsc1voOgcJoPS9U21+VNfvyxMLdQvRXA60FFGDU
 SvZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1773132745; x=1773737545;
 h=date:message-id:subject:to:mime-version:from:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=6YTOjki5xDC6v3mB6ILkM4ImkJCR4pMlCNePNmbtAvg=;
 b=BMFkEuzfLASVuE1f3/ry3Nv9zU8V4ahtmO6TYk5+J5i5Ss7cXBu+o+eRgfE58AHFHI
 hUjm5curbnCa7ruybHQAsgslCSmQZzlY6N4hexxhEIy3vOZmr6lCLfNEYUA6AeRFHqGu
 DJzN8lkjFlrx3miYkAOq58Jt9aPcvem16Ok9BlGFxwpWSyalrKRFlZ74p+R8vETXD7O0
 DiAUYYCXgeOZs0cDBK9PGEDQQBEI7X0ajMTD0c/nThVElkoS2X54U+DWX+sgEs9gypUH
 Binj5ylHVv5exsWMUJ2vPdO2njEK8VGk7f0cENVjxGM1Yw1XP6tixXdZEZVdYKpRdM+2
 dwhg==
X-Gm-Message-State: AOJu0YwMAcI1ocZk8rQDoVDsUbQUbAoAIECCASop57Es+Psup7iXhFcB
 SopQpF+Hsdok3OqsZJuVdd1eGhknMyTORvYjnI98iNRpS/YdwnnuM5NTt/BjLAuq
X-Gm-Gg: ATEYQzwbiqN/jvgzAKxPzlm8GnCs7u0YTy+TV0FcmEZrORPcIY6MMu5nw8mJQcBkhY/
 aX2OQtWeZq4+QRAkJv4fbYo7QEA+Lxw4DwEx4PAnvIBJz+Gk6QAzdvTpgWBTVpWoRN5l8sXuv14
 OJxfJ5GMh2OCMr1zxGXdYn5LRQ9ANATwjADGnQOyS8S3t6/gBZhjJaBwwIm1Wn7cTXFchMx8UMY
 Fi5I3/0PUv77Dmnl5g08Mcw+4kWfmzQjZokQtCwwTclucN4wDHEcu3NcST330ZZ3LjGQXOpv96g
 0GgurdXdwxqqGOiSzKZ1Kt2X1dcvphK5vS+hITLJT3+Rf6IBAH7uVn2SzgXv4hFNxv8Oya8JLEm
 AfXs6K/l/5HIVT6DeGPaClnvA+ZzCwVJh5CR4j5x/6lq0+TYvcr14H5hyUsqlj7ygy6ggFHcZsw
 1Eaj6XHZ9RwP0QssyE6el1X/TmYeQp5sq5wZSBUpqcTMGOXWdMwvwS7/0O4WhsCg9+Bb+IWoRHk
 3ICqVJpdDXOpY4zKmgB02jUeQ==
X-Received: by 2002:a17:903:37cc:b0:2ae:7f85:33d1 with SMTP id
 d9443c01a7336-2aea15b918dmr26667225ad.0.1773132745267; 
 Tue, 10 Mar 2026 01:52:25 -0700 (PDT)
Received: from [127.0.1.1] ([203.211.105.175])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-2ae83f8cfb0sm196031755ad.67.2026.03.10.01.52.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 10 Mar 2026 01:52:24 -0700 (PDT)
From: Vladimir Petko &lt;vpa1977@gmail.com&gt;
X-Google-Original-From: Vladimir Petko &lt;vladimir.petko@canonical.com&gt;
Content-Type: multipart/mixed; boundary=&quot;===============3151275045600672167==&quot;
MIME-Version: 1.0
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: python-pyvista: pyvista fails autopkgtests due to failing garbage
 collector checks with python 3.14
Message-ID: &lt;177313273313.2356984.9954581142886619094.reportbug@vladimirp&gt;
X-Mailer: reportbug 13.2.0+ubuntu1
Date: Tue, 10 Mar 2026 21:52:13 +1300
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============3151275045600672167==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: python-pyvista
Version: 0.46.5-8
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu resolute ubuntu-patch

Dear Maintainer,

Pyvista fails autopkgtests with Python 3.14:

XFAIL tests/core/test_dataset_filters.py::test_extract_values_preference[False-
point] - Will not match expected output since adjacent is True by default for
point data
ERROR tests/plotting/test_plotting.py::test_plotter_volume_lookup_table -
AssertionError: Not all objects GCed:
  vtkTypeUInt8Array at 0x7f79ff7efc40: ['&lt;generator object check_gc at
0x7f79ff9128e0&gt;', '&lt;managedbuffer object at 0x7f7a483fe4c0&gt;']

assert 1 == 0
 + where 1 = len([&lt;vtkmodules.vtkCommonCore.vtkTypeUInt8Array(0x3b56ff50) at
0x7f79ff7efc40&gt;])
ERROR tests/plotting/test_plotting.py::test_volume_rendering_rectilinear -
AssertionError: Not all objects GCed:
  vtkWeakReference at 0x7f79ff7edc60: ['&lt;generator object check_gc at
0x7f79ff1522a0&gt;', 'pyvista_ndarray([ 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0.,
0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0.,
0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0.,
0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0.,
0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0.,
0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0.,
0., 0., 0.,\n 0., 0., 0., 1., 2., 3., 4., 5., 6.,\n 7., 8., 9., 0., 2., 4., 6.,
8., 10.,\n 12., 14., 16., 18., 0., 3., 6., 9., 12.,\n 15., 18., 21., 24., 27.,
0., 4., 8., 12.,\n 16., 20., 24., 28., 32., 36., 0., 5., 10.,\n 15., 20., 25.,
30., 35., 40., 45., 0., 6.,\n 12., 18., 24., 30., 36., 42., 48., 54., 0.,\n 7.,
14., 21., 28., 35., 42., 49., 56., 63.,\n 0., 8., 16., 24., 32., 40., 48., 56.,
64.,\n 72., 0., 9., 18., 27., 36., 45., 54., 63.,\n 72., 81., 0., 0., 0., 0.,
0., 0., 0.,\n 0., 0., 0., 0., 2., 4., 6., 8., 10.,\n 12., 14., 16., 18., 0.,
4., 8., 12., 16.,\n 20., 24., 28., 32., 36., 0., 6., 12., 18.,\n 24., 30., 36.,
42., 48., 54., 0., 8., 16.,\n 24., 32., 40., 48., 56., 64., 72., 0., 10.,\n
20., 30., 40., 50., 60., 70., 80., 90., 0.,\n 12., 24., 36., 48., 60., 72.,
84., 96., 108.,\n 0., 14., 28., 42., 56., 70., 84., 98., 112.,\n 126., 0., 16.,
32., 48., 64., 80., 96., 112.,\n 128., 144., 0., 18., 36., 54., 72., 90.,
108.,\n 126., 144., 162., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 3., 6.,
9., 12.,\n 15., 18., 21., 24., 27., 0., 6., 12., 18.,\n 24., 30., 36., 42.,
48., 54., 0., 9., 18.,\n 27., 36., 45., 54., 63., 72., 81., 0., 12.,\n 24.,
36., 48., 60., 72., 84., 96., 108., 0.,\n 15., 30., 45., 60., 75., 90., 105.,
120., 135.,\n 0., 18., 36., 54., 72., 90., 108., 126., 144.,\n 162., 0., 21.,
42., 63., 84., 105., 126., 147.,\n 168., 189., 0., 24., 48., 72., 96., 120.,
144.,\n 168., 192., 216., 0., 27., 54., 81., 108., 135.,\n 162., 189., 216.,
243., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 4., 8., 12.,\n 16., 20.,
24., 28., 32., 36., 0., 8., 16.,\n 24., 32., 40., 48., 56., 64., 72., 0.,
12.,\n 24., 36., 48., 60., 72., 84., 96., 108., 0.,\n 16., 32., 48., 64., 80.,
96., 112., 128., 144.,\n 0., 20., 40., 60., 80., 100., 120., 140., 160.,\n
180., 0., 24., 48., 72., 96., 120., 144., 168.,\n 192., 216., 0., 28., 56.,
84., 112., 140., 168.,\n 196., 224., 252., 0., 32., 64., 96., 128., 160.,\n
192., 224., 256., 288., 0., 36., 72., 108., 144.,\n 180., 216., 252., 288.,
324., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 5., 10.,\n 15., 20., 25.,
30., 35., 40., 45., 0., 10.,\n 20., 30., 40., 50., 60., 70., 80., 90., 0.,\n
15., 30., 45., 60., 75., 90., 105., 120., 135.,\n 0., 20., 40., 60., 80., 100.,
120., 140., 160.,\n 180., 0., 25., 50., 75., 100., 125., 150., 175.,\n 200.,
225., 0., 30., 60., 90., 120., 150., 180.,\n 210., 240., 270., 0., 35., 70.,
105., 140., 175.,\n 210., 245., 280., 315., 0., 40., 80., 120., 160.,\n 200.,
240., 280., 320., 360., 0., 45., 90., 135.,\n 180., 225., 270., 315., 360.,
405., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 6.,\n 12., 18., 24., 30.,
36., 42., 48., 54., 0.,\n 12., 24., 36., 48., 60., 72., 84., 96., 108.,\n 0.,
18., 36., 54., 72., 90., 108., 126., 144.,\n 162., 0., 24., 48., 72., 96.,
120., 144., 168.,\n 192., 216., 0., 30., 60., 90., 120., 150., 180.,\n 210.,
240., 270., 0., 36., 72., 108., 144., 180.,\n 216., 252., 288., 324., 0., 42.,
84., 126., 168.,\n 210., 252., 294., 336., 378., 0., 48., 96., 144.,\n 192.,
240., 288., 336., 384., 432., 0., 54., 108.,\n 162., 216., 270., 324., 378.,
432., 486., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 7., 14., 21., 28.,
35., 42., 49., 56., 63.,\n 0., 14., 28., 42., 56., 70., 84., 98., 112.,\n 126.,
0., 21., 42., 63., 84., 105., 126., 147.,\n 168., 189., 0., 28., 56., 84.,
112., 140., 168.,\n 196., 224., 252., 0., 35., 70., 105., 140., 175.,\n 210.,
245., 280., 315., 0., 42., 84., 126., 168.,\n 210., 252., 294., 336., 378., 0.,
49., 98., 147.,\n 196., 245., 294., 343., 392., 441., 0., 56., 112.,\n 168.,
224., 280., 336., 392., 448., 504., 0., 63.,\n 126., 189., 252., 315., 378.,
441., 504., 567., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 8., 16., 24.,
32., 40., 48., 56., 64.,\n 72., 0., 16., 32., 48., 64., 80., 96., 112.,\n 128.,
144., 0., 24., 48., 72., 96., 120., 144.,\n 168., 192., 216., 0., 32., 64.,
96., 128., 160.,\n 192., 224., 256., 288., 0., 40., 80., 120., 160.,\n 200.,
240., 280., 320., 360., 0., 48., 96., 144.,\n 192., 240., 288., 336., 384.,
432., 0., 56., 112.,\n 168., 224., 280., 336., 392., 448., 504., 0., 64.,\n
128., 192., 256., 320., 384., 448., 512., 576., 0.,\n 72., 144., 216., 288.,
360., 432., 504., 576., 648.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0.,
9., 18., 27., 36., 45., 54., 63.,\n 72., 81., 0., 18., 36., 54., 72., 90.,
108.,\n 126., 144., 162., 0., 27., 54., 81., 108., 135.,\n 162., 189., 216.,
243., 0., 36., 72., 108., 144.,\n 180., 216., 252., 288., 324., 0., 45., 90.,
135.,\n 180., 225., 270., 315., 360., 405., 0., 54., 108.,\n 162., 216., 270.,
324., 378., 432., 486., 0., 63.,\n 126., 189., 252., 315., 378., 441., 504.,
567., 0.,\n 72., 144., 216., 288., 360., 432., 504., 576., 648.,\n 0., 81.,
162., 243., 324., 405., 486., 567., 648.,\n 729.])']
  vtkWeakReference at 0x7f79ff7eece0: ['&lt;generator object check_gc at
0x7f79ff1522a0&gt;', 'pyvista_ndarray([ 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0.,
0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0.,
0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0.,
0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0.,
0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 0., 0., 0., 0.,
0., 0., 0., 0.,\n 0., 1., 2., 3., 4., 5., 6., 7., 8.,\n 0., 2., 4., 6., 8.,
10., 12., 14., 16.,\n 0., 3., 6., 9., 12., 15., 18., 21., 24.,\n 0., 4., 8.,
12., 16., 20., 24., 28., 32.,\n 0., 5., 10., 15., 20., 25., 30., 35., 40.,\n
0., 6., 12., 18., 24., 30., 36., 42., 48.,\n 0., 7., 14., 21., 28., 35., 42.,
49., 56.,\n 0., 8., 16., 24., 32., 40., 48., 56., 64.,\n 0., 0., 0., 0., 0.,
0., 0., 0., 0.,\n 0., 2., 4., 6., 8., 10., 12., 14., 16.,\n 0., 4., 8., 12.,
16., 20., 24., 28., 32.,\n 0., 6., 12., 18., 24., 30., 36., 42., 48.,\n 0., 8.,
16., 24., 32., 40., 48., 56., 64.,\n 0., 10., 20., 30., 40., 50., 60., 70.,
80.,\n 0., 12., 24., 36., 48., 60., 72., 84., 96.,\n 0., 14., 28., 42., 56.,
70., 84., 98., 112.,\n 0., 16., 32., 48., 64., 80., 96., 112., 128.,\n 0., 0.,
0., 0., 0., 0., 0., 0., 0.,\n 0., 3., 6., 9., 12., 15., 18., 21., 24.,\n 0.,
6., 12., 18., 24., 30., 36., 42., 48.,\n 0., 9., 18., 27., 36., 45., 54., 63.,
72.,\n 0., 12., 24., 36., 48., 60., 72., 84., 96.,\n 0., 15., 30., 45., 60.,
75., 90., 105., 120.,\n 0., 18., 36., 54., 72., 90., 108., 126., 144.,\n 0.,
21., 42., 63., 84., 105., 126., 147., 168.,\n 0., 24., 48., 72., 96., 120.,
144., 168., 192.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 4., 8., 12., 16.,
20., 24., 28., 32.,\n 0., 8., 16., 24., 32., 40., 48., 56., 64.,\n 0., 12.,
24., 36., 48., 60., 72., 84., 96.,\n 0., 16., 32., 48., 64., 80., 96., 112.,
128.,\n 0., 20., 40., 60., 80., 100., 120., 140., 160.,\n 0., 24., 48., 72.,
96., 120., 144., 168., 192.,\n 0., 28., 56., 84., 112., 140., 168., 196.,
224.,\n 0., 32., 64., 96., 128., 160., 192., 224., 256.,\n 0., 0., 0., 0., 0.,
0., 0., 0., 0.,\n 0., 5., 10., 15., 20., 25., 30., 35., 40.,\n 0., 10., 20.,
30., 40., 50., 60., 70., 80.,\n 0., 15., 30., 45., 60., 75., 90., 105., 120.,\n
0., 20., 40., 60., 80., 100., 120., 140., 160.,\n 0., 25., 50., 75., 100.,
125., 150., 175., 200.,\n 0., 30., 60., 90., 120., 150., 180., 210., 240.,\n
0., 35., 70., 105., 140., 175., 210., 245., 280.,\n 0., 40., 80., 120., 160.,
200., 240., 280., 320.,\n 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n 0., 6., 12.,
18., 24., 30., 36., 42., 48.,\n 0., 12., 24., 36., 48., 60., 72., 84., 96.,\n
0., 18., 36., 54., 72., 90., 108., 126., 144.,\n 0., 24., 48., 72., 96., 120.,
144., 168., 192.,\n 0., 30., 60., 90., 120., 150., 180., 210., 240.,\n 0., 36.,
72., 108., 144., 180., 216., 252., 288.,\n 0., 42., 84., 126., 168., 210.,
252., 294., 336.,\n 0., 48., 96., 144., 192., 240., 288., 336., 384.,\n 0., 0.,
0., 0., 0., 0., 0., 0., 0.,\n 0., 7., 14., 21., 28., 35., 42., 49., 56.,\n 0.,
14., 28., 42., 56., 70., 84., 98., 112.,\n 0., 21., 42., 63., 84., 105., 126.,
147., 168.,\n 0., 28., 56., 84., 112., 140., 168., 196., 224.,\n 0., 35., 70.,
105., 140., 175., 210., 245., 280.,\n 0., 42., 84., 126., 168., 210., 252.,
294., 336.,\n 0., 49., 98., 147., 196., 245., 294., 343., 392.,\n 0., 56.,
112., 168., 224., 280., 336., 392., 448.,\n 0., 0., 0., 0., 0., 0., 0., 0.,
0.,\n 0., 8., 16., 24., 32., 40., 48., 56., 64.,\n 0., 16., 32., 48., 64., 80.,
96., 112., 128.,\n 0., 24., 48., 72., 96., 120., 144., 168., 192.,\n 0., 32.,
64., 96., 128., 160., 192., 224., 256.,\n 0., 40., 80., 120., 160., 200., 240.,
280., 320.,\n 0., 48., 96., 144., 192., 240., 288., 336., 384.,\n 0., 56.,
112., 168., 224., 280., 336., 392., 448.,\n 0., 64., 128., 192., 256., 320.,
384., 448., 512.])']

assert 2 == 0
 + where 2 = len([&lt;vtkmodules.vtkCommonCore.vtkWeakReference(0x39858c50) at
0x7f79ff7edc60&gt;, &lt;vtkmodules.vtkCommonCore.vtkWeakReference(0x3d6994e0) at
0x7f79ff7eece0&gt;])
ERROR tests/plotting/test_picking.py::test_element_picking[point] -
AssertionError: Not all objects GCed:
  vtkDataArray at 0x7f79fe2c01c0: ['&lt;generator object check_gc at
0x7f79fe129940&gt;', '&lt;managedbuffer object at 0x7f7a23b9adc0&gt;']

assert 1 == 0
 + where 1 = len([&lt;vtkmodules.vtkCommonCore.vtkDataArray(0x40ca3f20) at
0x7f79fe2c01c0&gt;])
= 8702 passed, 147 skipped, 1149 deselected, 9 xfailed, 3 errors in 851.97s
(0:14:11) =
autopkgtest [20:46:02]: test run-unit-tests: -----------------------]
autopkgtest [20:46:02]: test run-unit-tests: - - - - - - - - - - results - - -
- - - - - - -
run-unit-tests FAIL non-zero exit status 1
autopkgtest [20:46:02]: test run-unit-tests-network: preparing testbed

The issue was fixed upstream https://github.com/pyvista/pyvista/pull/8096

The attached patch can be applied to achieve the following:
  * d/p/python3.14_compat.patch: cherry-pick upstream patch to resolve
    Python 3.14 test failure (LP: #2143703).


Thanks for considering the patch.


-- System Information:
Debian Release: forky/sid
  APT prefers questing-updates
  APT policy: (500, 'questing-updates'), (500, 'questing-security'), (500, 'questing'), (100, 'questing-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.0-14-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--===============3151275045600672167==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=&quot;python-pyvista_0.46.5-8ubuntu1.debdiff&quot;

diff -Nru python-pyvista-0.46.5/debian/patches/python3.14_compat.patch python-pyvista-0.46.5/debian/patches/python3.14_compat.patch
--- python-pyvista-0.46.5/debian/patches/python3.14_compat.patch	1970-01-01 12:00:00.000000000 +1200
+++ python-pyvista-0.46.5/debian/patches/python3.14_compat.patch	2026-03-09 21:47:17.000000000 +1300
@@ -0,0 +1,37 @@
+Description: [PATCH] Test vtk dev with python 3.14 (#8096)
+ Some of the tests fails with Python 3.14 because vtk9 does
+ not collect all the objects. Skip failing tests.
+Author: user27182 &lt;89109579+user27182@users.noreply.github.com&gt;
+Origin: backport, https://github.com/pyvista/pyvista/commit/f15877cba4fa9090ef21789ec6047923f57c42f8
+Bug: https://github.com/pyvista/pyvista/pull/8096
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-pyvista/+bug/2143703
+Last-Update: 2026-03-10
+
+--- a/tests/plotting/test_picking.py
++++ b/tests/plotting/test_picking.py
+@@ -508,6 +508,7 @@
+
+
+ @pytest.mark.parametrize('mode', ['mesh', 'cell', 'face', 'edge', 'point'])
++@pytest.mark.skip_check_gc
+ def test_element_picking(mode):
+     class Tracker:
+         def __init__(self):
+--- a/tests/plotting/test_plotting.py
++++ b/tests/plotting/test_plotting.py
+@@ -2025,6 +2025,7 @@
+ 
+ @skip_windows_mesa  # due to opacity
+ @skip_9_0_X
++@pytest.mark.skip_check_gc
+ def test_volume_rendering_rectilinear(uniform):
+     grid = uniform.cast_to_rectilinear_grid()
+ 
+@@ -3743,6 +3744,7 @@
+ 
+ 
+ @skip_windows_mesa  # due to opacity
++@pytest.mark.skip_check_gc
+ def test_plotter_volume_lookup_table(uniform):
+     uniform.set_active_scalars('Spatial Point Data')
+ 
diff -Nru python-pyvista-0.46.5/debian/patches/series python-pyvista-0.46.5/debian/patches/series
--- python-pyvista-0.46.5/debian/patches/series	2026-02-09 23:24:56.000000000 +1300
+++ python-pyvista-0.46.5/debian/patches/series	2026-03-09 21:47:17.000000000 +1300
@@ -8,3 +8,4 @@
 fix_test_regex_32bit_PR8154.patch
 warnings_stacklevel_PR8093.diff
 catch_VTK_warnings_PR7863.patch
+python3.14_compat.patch

--===============3151275045600672167==--
]