==> Building on ledyba ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-setuptools ./ .SRCINFO 1,709 100% 0.00kB/s 0:00:00 1,709 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=5/7) PKGBUILD 4,042 100% 3.85MB/s 0:00:00 4,042 100% 3.85MB/s 0:00:00 (xfr#2, to-chk=4/7) add-dependency.patch 367 100% 358.40kB/s 0:00:00 367 100% 358.40kB/s 0:00:00 (xfr#3, to-chk=3/7) build-no-isolation.patch 741 100% 723.63kB/s 0:00:00 741 100% 723.63kB/s 0:00:00 (xfr#4, to-chk=2/7) python-setuptools-1:68.1.0-1.log 638 100% 623.05kB/s 0:00:00 638 100% 623.05kB/s 0:00:00 (xfr#5, to-chk=1/7) system-validate-pyproject.patch 1,502 100% 1.43MB/s 0:00:00 1,502 100% 1.43MB/s 0:00:00 (xfr#6, to-chk=0/7) sent 4,480 bytes received 182 bytes 3,108.00 bytes/sec total size is 8,554 speedup is 1.83 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root2 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change Download Size core/sqlite 3.44.0-1 3.44.1-1 0.00 MiB 1.67 MiB Total Download Size: 1.67 MiB Total Installed Size: 6.59 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... sqlite-3.44.1-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading sqlite... [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root2]...done ==> Making package: python-setuptools 1:68.1.0-1 (Fri Nov 24 16:35:56 2023) ==> Retrieving sources...  -> Cloning setuptools git repo... Cloning into bare repository '/home/felix/packages/python-setuptools/setuptools'... remote: Enumerating objects: 71438, done. remote: Counting objects: 0% (1/4690) remote: Counting objects: 1% (47/4690) remote: Counting objects: 2% (94/4690) remote: Counting objects: 3% (141/4690) remote: Counting objects: 4% (188/4690) remote: Counting objects: 5% (235/4690) remote: Counting objects: 6% (282/4690) remote: Counting objects: 7% (329/4690) remote: Counting objects: 8% (376/4690) remote: Counting objects: 9% (423/4690) remote: Counting objects: 10% (469/4690) remote: Counting objects: 11% (516/4690) remote: Counting objects: 12% (563/4690) remote: Counting objects: 13% (610/4690) remote: Counting objects: 14% (657/4690) remote: Counting objects: 15% (704/4690) remote: Counting objects: 16% (751/4690) remote: Counting objects: 17% (798/4690) remote: Counting objects: 18% (845/4690) remote: Counting objects: 19% (892/4690) remote: Counting objects: 20% (938/4690) remote: Counting objects: 21% (985/4690) remote: Counting objects: 22% (1032/4690) remote: Counting objects: 23% (1079/4690) remote: Counting objects: 24% (1126/4690) remote: Counting objects: 25% (1173/4690) remote: Counting objects: 26% (1220/4690) remote: Counting objects: 27% (1267/4690) remote: Counting objects: 28% (1314/4690) remote: Counting objects: 29% (1361/4690) remote: Counting objects: 30% (1407/4690) remote: Counting objects: 31% (1454/4690) remote: Counting objects: 32% (1501/4690) remote: Counting objects: 33% (1548/4690) remote: Counting objects: 34% (1595/4690) remote: Counting objects: 35% (1642/4690) remote: Counting objects: 36% (1689/4690) remote: Counting objects: 37% (1736/4690) remote: Counting objects: 38% (1783/4690) remote: Counting objects: 39% (1830/4690) remote: Counting objects: 40% (1876/4690) remote: Counting objects: 41% (1923/4690) remote: Counting objects: 42% (1970/4690) remote: Counting objects: 43% (2017/4690) remote: Counting objects: 44% (2064/4690) remote: Counting objects: 45% (2111/4690) remote: Counting objects: 46% (2158/4690) remote: Counting objects: 47% (2205/4690) remote: Counting objects: 48% (2252/4690) remote: Counting objects: 49% (2299/4690) remote: Counting objects: 50% (2345/4690) remote: Counting objects: 51% (2392/4690) remote: Counting objects: 52% (2439/4690) remote: Counting objects: 53% (2486/4690) remote: Counting objects: 54% (2533/4690) remote: Counting objects: 55% (2580/4690) remote: Counting objects: 56% (2627/4690) remote: Counting objects: 57% (2674/4690) remote: Counting objects: 58% (2721/4690) remote: Counting objects: 59% (2768/4690) remote: Counting objects: 60% (2814/4690) remote: Counting objects: 61% (2861/4690) remote: Counting objects: 62% (2908/4690) remote: Counting objects: 63% (2955/4690) remote: Counting objects: 64% (3002/4690) remote: Counting objects: 65% (3049/4690) remote: Counting objects: 66% (3096/4690) remote: Counting objects: 67% (3143/4690) remote: Counting objects: 68% (3190/4690) remote: Counting objects: 69% (3237/4690) remote: Counting objects: 70% (3283/4690) remote: Counting objects: 71% (3330/4690) remote: Counting objects: 72% (3377/4690) remote: Counting objects: 73% (3424/4690) remote: Counting objects: 74% (3471/4690) remote: Counting objects: 75% (3518/4690) remote: Counting objects: 76% (3565/4690) remote: Counting objects: 77% (3612/4690) remote: Counting objects: 78% (3659/4690) remote: Counting objects: 79% (3706/4690) remote: Counting objects: 80% (3752/4690) remote: Counting objects: 81% (3799/4690) remote: Counting objects: 82% (3846/4690) remote: Counting objects: 83% (3893/4690) remote: Counting objects: 84% (3940/4690) remote: Counting objects: 85% (3987/4690) remote: Counting objects: 86% (4034/4690) remote: Counting objects: 87% (4081/4690) remote: Counting objects: 88% (4128/4690) remote: Counting objects: 89% (4175/4690) remote: Counting objects: 90% (4221/4690) remote: Counting objects: 91% (4268/4690) remote: Counting objects: 92% (4315/4690) remote: Counting objects: 93% (4362/4690) remote: Counting objects: 94% (4409/4690) remote: Counting objects: 95% (4456/4690) remote: Counting objects: 96% (4503/4690) remote: Counting objects: 97% (4550/4690) remote: Counting objects: 98% (4597/4690) remote: Counting objects: 99% (4644/4690) remote: Counting objects: 100% (4690/4690) remote: Counting objects: 100% (4690/4690), done. remote: Compressing objects: 0% (1/1667) remote: Compressing objects: 1% (17/1667) remote: Compressing objects: 2% (34/1667) remote: Compressing objects: 3% (51/1667) remote: Compressing objects: 4% (67/1667) remote: Compressing objects: 5% (84/1667) remote: Compressing objects: 6% (101/1667) remote: Compressing objects: 7% (117/1667) remote: Compressing objects: 8% (134/1667) remote: Compressing objects: 9% (151/1667) remote: Compressing objects: 10% (167/1667) remote: Compressing objects: 11% (184/1667) remote: Compressing objects: 12% (201/1667) remote: Compressing objects: 13% (217/1667) remote: Compressing objects: 14% (234/1667) remote: Compressing objects: 15% (251/1667) remote: Compressing objects: 16% (267/1667) remote: Compressing objects: 17% (284/1667) remote: Compressing objects: 18% (301/1667) remote: Compressing objects: 19% (317/1667) remote: Compressing objects: 20% (334/1667) remote: Compressing objects: 21% (351/1667) remote: Compressing objects: 22% (367/1667) remote: Compressing objects: 23% (384/1667) remote: Compressing objects: 24% (401/1667) remote: Compressing objects: 25% (417/1667) remote: Compressing objects: 26% (434/1667) remote: Compressing objects: 27% (451/1667) remote: Compressing objects: 28% (467/1667) remote: Compressing objects: 29% (484/1667) remote: Compressing objects: 30% (501/1667) remote: Compressing objects: 31% (517/1667) remote: Compressing objects: 32% (534/1667) remote: Compressing objects: 33% (551/1667) remote: Compressing objects: 34% (567/1667) remote: Compressing objects: 35% (584/1667) remote: Compressing objects: 36% (601/1667) remote: Compressing objects: 37% (617/1667) remote: Compressing objects: 38% (634/1667) remote: Compressing objects: 39% (651/1667) remote: Compressing objects: 40% (667/1667) remote: Compressing objects: 41% (684/1667) remote: Compressing objects: 42% (701/1667) remote: Compressing objects: 43% (717/1667) remote: Compressing objects: 44% (734/1667) remote: Compressing objects: 45% (751/1667) remote: Compressing objects: 46% (767/1667) remote: Compressing objects: 47% (784/1667) remote: Compressing objects: 48% (801/1667) remote: Compressing objects: 49% (817/1667) remote: Compressing objects: 50% (834/1667) remote: Compressing objects: 51% (851/1667) remote: Compressing objects: 52% (867/1667) remote: Compressing objects: 53% (884/1667) remote: Compressing objects: 54% (901/1667) remote: Compressing objects: 55% (917/1667) remote: Compressing objects: 56% (934/1667) remote: Compressing objects: 57% (951/1667) remote: Compressing objects: 58% (967/1667) remote: Compressing objects: 59% (984/1667) remote: Compressing objects: 60% (1001/1667) remote: Compressing objects: 61% (1017/1667) remote: Compressing objects: 62% (1034/1667) remote: Compressing objects: 63% (1051/1667) remote: Compressing objects: 64% (1067/1667) remote: Compressing objects: 65% (1084/1667) remote: Compressing objects: 66% (1101/1667) remote: Compressing objects: 67% (1117/1667) remote: Compressing objects: 68% (1134/1667) remote: Compressing objects: 69% (1151/1667) remote: Compressing objects: 70% (1167/1667) remote: Compressing objects: 71% (1184/1667) remote: Compressing objects: 72% (1201/1667) remote: Compressing objects: 73% (1217/1667) remote: Compressing objects: 74% (1234/1667) remote: Compressing objects: 75% (1251/1667) remote: Compressing objects: 76% (1267/1667) remote: Compressing objects: 77% (1284/1667) remote: Compressing objects: 78% (1301/1667) remote: Compressing objects: 79% (1317/1667) remote: Compressing objects: 80% (1334/1667) remote: Compressing objects: 81% (1351/1667) remote: Compressing objects: 82% (1367/1667) remote: Compressing objects: 83% (1384/1667) remote: Compressing objects: 84% (1401/1667) remote: Compressing objects: 85% (1417/1667) remote: Compressing objects: 86% (1434/1667) remote: Compressing objects: 87% (1451/1667) remote: Compressing objects: 88% (1467/1667) remote: Compressing objects: 89% (1484/1667) remote: Compressing objects: 90% (1501/1667) remote: Compressing objects: 91% (1517/1667) remote: Compressing objects: 92% (1534/1667) remote: Compressing objects: 93% (1551/1667) remote: Compressing objects: 94% (1567/1667) remote: Compressing objects: 95% (1584/1667) remote: Compressing objects: 96% (1601/1667) remote: Compressing objects: 97% (1617/1667) remote: Compressing objects: 98% (1634/1667) remote: Compressing objects: 99% (1651/1667) remote: Compressing objects: 100% (1667/1667) remote: Compressing objects: 100% (1667/1667), done. Receiving objects: 0% (1/71438) Receiving objects: 1% (715/71438) Receiving objects: 2% (1429/71438) Receiving objects: 3% (2144/71438) Receiving objects: 4% (2858/71438) Receiving objects: 5% (3572/71438) Receiving objects: 6% (4287/71438) Receiving objects: 7% (5001/71438) Receiving objects: 8% (5716/71438) Receiving objects: 9% (6430/71438) Receiving objects: 10% (7144/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 11% (7859/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 12% (8573/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 13% (9287/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 14% (10002/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 15% (10716/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 16% (11431/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 17% (12145/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 18% (12859/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 19% (13574/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 20% (14288/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 21% (15002/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 22% (15717/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 23% (16431/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 23% (16984/71438), 2.13 MiB | 4.24 MiB/s Receiving objects: 24% (17146/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 25% (17860/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 26% (18574/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 27% (19289/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 28% (20003/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 29% (20718/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 30% (21432/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 31% (22146/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 32% (22861/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 33% (23575/71438), 8.26 MiB | 8.25 MiB/s Receiving objects: 34% (24289/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 35% (25004/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 36% (25718/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 37% (26433/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 38% (27147/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 39% (27861/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 40% (28576/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 41% (29290/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 42% (30004/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 43% (30719/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 44% (31433/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 45% (32148/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 46% (32862/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 47% (33576/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 48% (34291/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 49% (35005/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 50% (35719/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 51% (36434/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 52% (37148/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 53% (37863/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 54% (38577/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 55% (39291/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 56% (40006/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 57% (40720/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 58% (41435/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 59% (42149/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 60% (42863/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 61% (43578/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 62% (44292/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 63% (45006/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 64% (45721/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 65% (46435/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 66% (47150/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 67% (47864/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 68% (48578/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 69% (49293/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 70% (50007/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 71% (50721/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 72% (51436/71438), 15.80 MiB | 10.53 MiB/s Receiving objects: 72% (51926/71438), 22.89 MiB | 11.10 MiB/s Receiving objects: 73% (52150/71438), 22.89 MiB | 11.10 MiB/s Receiving objects: 74% (52865/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 75% (53579/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 76% (54293/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 76% (54976/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 77% (55008/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 78% (55722/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 79% (56437/71438), 23.46 MiB | 8.90 MiB/s Receiving objects: 80% (57151/71438), 31.55 MiB | 10.06 MiB/s Receiving objects: 81% (57865/71438), 31.55 MiB | 10.06 MiB/s Receiving objects: 82% (58580/71438), 31.55 MiB | 10.06 MiB/s Receiving objects: 83% (59294/71438), 31.55 MiB | 10.06 MiB/s Receiving objects: 83% (59729/71438), 36.68 MiB | 8.40 MiB/s Receiving objects: 84% (60008/71438), 36.68 MiB | 8.40 MiB/s Receiving objects: 84% (60205/71438), 37.32 MiB | 7.67 MiB/s Receiving objects: 85% (60723/71438), 37.32 MiB | 7.67 MiB/s Receiving objects: 86% (61437/71438), 39.24 MiB | 7.63 MiB/s Receiving objects: 87% (62152/71438), 39.24 MiB | 7.63 MiB/s Receiving objects: 88% (62866/71438), 39.24 MiB | 7.63 MiB/s Receiving objects: 89% (63580/71438), 39.24 MiB | 7.63 MiB/s Receiving objects: 90% (64295/71438), 39.24 MiB | 7.63 MiB/s Receiving objects: 91% (65009/71438), 39.24 MiB | 7.63 MiB/s Receiving objects: 92% (65723/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 93% (66438/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 94% (67152/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 94% (67285/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 95% (67867/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 96% (68581/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 97% (69295/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 98% (70010/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 99% (70724/71438), 43.01 MiB | 7.14 MiB/s remote: Total 71438 (delta 3111), reused 4253 (delta 2965), pack-reused 66748 Receiving objects: 100% (71438/71438), 43.01 MiB | 7.14 MiB/s Receiving objects: 100% (71438/71438), 46.17 MiB | 7.54 MiB/s, done. Resolving deltas: 0% (0/41141) Resolving deltas: 1% (412/41141) Resolving deltas: 2% (823/41141) Resolving deltas: 3% (1235/41141) Resolving deltas: 4% (1646/41141) Resolving deltas: 5% (2058/41141) Resolving deltas: 6% (2470/41141) Resolving deltas: 7% (2880/41141) Resolving deltas: 8% (3293/41141) Resolving deltas: 9% (3703/41141) Resolving deltas: 10% (4115/41141) Resolving deltas: 11% (4526/41141) Resolving deltas: 12% (4937/41141) Resolving deltas: 13% (5349/41141) Resolving deltas: 14% (5760/41141) Resolving deltas: 15% (6172/41141) Resolving deltas: 16% (6583/41141) Resolving deltas: 17% (6994/41141) Resolving deltas: 18% (7406/41141) Resolving deltas: 19% (7817/41141) Resolving deltas: 20% (8229/41141) Resolving deltas: 21% (8640/41141) Resolving deltas: 22% (9052/41141) Resolving deltas: 23% (9463/41141) Resolving deltas: 24% (9874/41141) Resolving deltas: 25% (10286/41141) Resolving deltas: 26% (10697/41141) Resolving deltas: 27% (11109/41141) Resolving deltas: 28% (11521/41141) Resolving deltas: 29% (11931/41141) Resolving deltas: 30% (12343/41141) Resolving deltas: 31% (12754/41141) Resolving deltas: 32% (13166/41141) Resolving deltas: 33% (13577/41141) Resolving deltas: 34% (13988/41141) Resolving deltas: 35% (14400/41141) Resolving deltas: 36% (14811/41141) Resolving deltas: 37% (15223/41141) Resolving deltas: 38% (15634/41141) Resolving deltas: 39% (16045/41141) Resolving deltas: 40% (16457/41141) Resolving deltas: 41% (16868/41141) Resolving deltas: 42% (17280/41141) Resolving deltas: 43% (17691/41141) Resolving deltas: 44% (18103/41141) Resolving deltas: 45% (18514/41141) Resolving deltas: 46% (18925/41141) Resolving deltas: 47% (19337/41141) Resolving deltas: 48% (19748/41141) Resolving deltas: 49% (20160/41141) Resolving deltas: 50% (20571/41141) Resolving deltas: 51% (20982/41141) Resolving deltas: 52% (21394/41141) Resolving deltas: 53% (21805/41141) Resolving deltas: 54% (22217/41141) Resolving deltas: 55% (22628/41141) Resolving deltas: 56% (23039/41141) Resolving deltas: 57% (23451/41141) Resolving deltas: 58% (23862/41141) Resolving deltas: 59% (24274/41141) Resolving deltas: 60% (24685/41141) Resolving deltas: 61% (25097/41141) Resolving deltas: 62% (25508/41141) Resolving deltas: 63% (25919/41141) Resolving deltas: 64% (26331/41141) Resolving deltas: 65% (26744/41141) Resolving deltas: 66% (27154/41141) Resolving deltas: 67% (27565/41141) Resolving deltas: 68% (27976/41141) Resolving deltas: 69% (28389/41141) Resolving deltas: 70% (28799/41141) Resolving deltas: 71% (29212/41141) Resolving deltas: 72% (29622/41141) Resolving deltas: 73% (30033/41141) Resolving deltas: 74% (30445/41141) Resolving deltas: 75% (30856/41141) Resolving deltas: 76% (31268/41141) Resolving deltas: 77% (31679/41141) Resolving deltas: 78% (32090/41141) Resolving deltas: 79% (32502/41141) Resolving deltas: 80% (32913/41141) Resolving deltas: 81% (33325/41141) Resolving deltas: 82% (33737/41141) Resolving deltas: 83% (34148/41141) Resolving deltas: 84% (34559/41141) Resolving deltas: 85% (34970/41141) Resolving deltas: 86% (35382/41141) Resolving deltas: 87% (35793/41141) Resolving deltas: 88% (36205/41141) Resolving deltas: 89% (36616/41141) Resolving deltas: 90% (37027/41141) Resolving deltas: 91% (37439/41141) Resolving deltas: 92% (37850/41141) Resolving deltas: 93% (38262/41141) Resolving deltas: 94% (38673/41141) Resolving deltas: 95% (39084/41141) Resolving deltas: 96% (39496/41141) Resolving deltas: 97% (39907/41141) Resolving deltas: 98% (40319/41141) Resolving deltas: 99% (40730/41141) Resolving deltas: 100% (41141/41141) Resolving deltas: 100% (41141/41141), done.  -> Found system-validate-pyproject.patch  -> Found add-dependency.patch  -> Found build-no-isolation.patch ==> Validating source files with sha512sums... setuptools ... Skipped system-validate-pyproject.patch ... Passed add-dependency.patch ... Passed build-no-isolation.patch ... Passed ==> Making package: python-setuptools 1:68.1.0-1 (Fri Nov 24 16:36:20 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (19) New Version Net Change core/libnsl 2.0.1-1 0.07 MiB core/python 3.11.6-1 107.27 MiB extra/python-annotated-types 0.6.0-1 0.11 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.19.0-1 0.30 MiB extra/python-inflect 7.0.0-2 0.39 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.9.0-1 0.07 MiB extra/python-pydantic 2.4.2-1 4.75 MiB extra/python-pydantic-core 1:2.10.1-1 4.79 MiB extra/python-trove-classifiers 2023.11.22-1 0.11 MiB extra/python-typing_extensions 4.8.0-1 0.35 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-more-itertools 10.1.0-1 0.63 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-platformdirs 4.0.0-1 0.23 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB Total Installed Size: 120.27 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-annotated-types... installing python-typing_extensions... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (70) New Version Net Change Download Size extra/mypy 1.3.0-1 20.11 MiB 3.04 MiB extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/python-attrs 22.2.0-3 0.55 MiB extra/python-babel 2.12.1-1 31.41 MiB extra/python-cachetools 5.3.2-1 0.14 MiB 0.03 MiB extra/python-cffi 1.16.0-1 1.41 MiB extra/python-chardet 5.2.0-1 3.02 MiB extra/python-charset-normalizer 3.3.2-1 0.47 MiB extra/python-colorama 0.4.6-2 0.27 MiB extra/python-configupdater 3.1.1-3 0.32 MiB 0.06 MiB extra/python-cryptography 41.0.5-1 55.32 MiB extra/python-distlib 0.3.7-1 1.39 MiB extra/python-docutils 1:0.20.1-1 5.72 MiB extra/python-execnet 2.0.2-1 0.45 MiB extra/python-filelock 3.12.4-1 0.08 MiB extra/python-idna 3.4-3 0.71 MiB extra/python-imagesize 1.4.1-4 0.05 MiB extra/python-importlib_resources 6.1.1-1 0.16 MiB 0.03 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jinja 1:3.1.2-4 1.82 MiB extra/python-markupsafe 2.1.3-1 0.08 MiB extra/python-mock 3.0.5-11 0.29 MiB 0.06 MiB extra/python-mypy_extensions 1.0.0-3 0.03 MiB extra/python-path 16.7.1-1 0.25 MiB 0.05 MiB extra/python-pbr 6.0.0-1 0.95 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-psutil 5.9.6-1 3.36 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pygments 2.16.1-1 13.80 MiB extra/python-pyproject-api 1.6.1-1 0.13 MiB 0.03 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-pytest 7.4.3-1 4.02 MiB extra/python-pytest-shutil 1.7.0-9 0.11 MiB 0.03 MiB extra/python-pytz 2023.3.post1-1 0.17 MiB extra/python-requests 2.31.0-1 0.61 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-snowballstemmer 2.2.0-5 2.82 MiB extra/python-sphinx-alabaster-theme 0.7.13-4 0.05 MiB extra/python-sphinxcontrib-applehelp 1.0.7-1 0.26 MiB extra/python-sphinxcontrib-devhelp 1.0.5-1 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.0.4-1 0.17 MiB extra/python-sphinxcontrib-jsmath 1.0.1-15 0.02 MiB extra/python-sphinxcontrib-qthelp 1.0.6-1 0.17 MiB extra/python-sphinxcontrib-serializinghtml 1.1.9-1 0.14 MiB extra/python-termcolor 2.3.0-1 0.03 MiB 0.01 MiB extra/python-toml 0.10.2-9 0.20 MiB extra/python-tomlkit 0.12.2-1 0.61 MiB extra/python-tox 4.11.1-1 1.72 MiB 0.32 MiB extra/python-urllib3 1.26.15-1 1.30 MiB extra/python-virtualenv 20.24.6-1 4.68 MiB extra/python-zipp 3.17.0-1 0.06 MiB extra/git 2.43.0-1 24.90 MiB extra/python-build 1.0.3-1 0.68 MiB extra/python-ini2toml 0.13-1 0.50 MiB 0.10 MiB extra/python-jaraco.envs 2.4.0-4 0.02 MiB 0.01 MiB extra/python-jaraco.path 3.7.0-1 0.05 MiB 0.02 MiB extra/python-pip 23.3.1-1 20.92 MiB 3.18 MiB extra/python-pip-run 9.2.1-3 0.09 MiB 0.03 MiB extra/python-pytest-enabler 2.3.1-1 0.02 MiB 0.01 MiB extra/python-pytest-fixture-config 1.7.0-9 0.01 MiB 0.01 MiB extra/python-pytest-mypy 0.10.3-4 0.05 MiB 0.02 MiB extra/python-pytest-timeout 2.2.0-1 0.08 MiB 0.02 MiB extra/python-pytest-virtualenv 1.7.0-9 0.03 MiB 0.01 MiB extra/python-setuptools 1:68.0.0-1 4.64 MiB extra/python-sphinx 7.2.6-1 18.91 MiB extra/python-tomli-w 1.0.0-6 0.04 MiB extra/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 7.04 MiB Total Installed Size: 233.62 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pip-23.3.1-1-any downloading... mypy-1.3.0-1-any downloading... python-tox-4.11.1-1-any downloading... python-ini2toml-0.13-1-any downloading... python-configupdater-3.1.1-3-any downloading... python-mock-3.0.5-11-any downloading... python-path-16.7.1-1-any downloading... python-importlib_resources-6.1.1-1-any downloading... python-pytest-shutil-1.7.0-9-any downloading... python-pyproject-api-1.6.1-1-any downloading... python-cachetools-5.3.2-1-any downloading... python-pip-run-9.2.1-3-any downloading... python-pytest-timeout-2.2.0-1-any downloading... python-pytest-mypy-0.10.3-4-any downloading... python-jaraco.path-3.7.0-1-any downloading... python-pytest-virtualenv-1.7.0-9-any downloading... python-termcolor-2.3.0-1-any downloading... python-pytest-enabler-2.3.1-1-any downloading... python-pytest-fixture-config-1.7.0-9-any downloading... python-jaraco.envs-2.4.0-4-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python-setuptools... installing python-path... installing python-distlib... installing python-filelock... installing python-virtualenv... installing python-cachetools... installing python-chardet... installing python-colorama... installing python-pluggy... installing python-pyproject-api... installing python-tox... Optional dependencies for python-tox python-pytest: for pytest plugin to test tox and its plugins [pending] python-pytest-mock: for pytest plugin to test tox and its plugins python-re-assert: for pytest plugin to test tox and its plugins installing python-jaraco.envs... installing python-jaraco.path... installing python-attrs... installing python-ply... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed] installing python-cryptography... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-pip... installing python-pip-run... installing python-iniconfig... installing python-pytest... installing python-pytest-fixture-config... installing python-execnet... installing python-six... installing python-pbr... installing python-mock... installing python-termcolor... installing python-pytest-shutil... installing python-pytest-virtualenv... installing python-toml... installing python-zipp... installing python-importlib_resources... installing python-pytest-enabler... installing python-psutil... installing python-mypy_extensions... installing mypy... Optional dependencies for mypy python-lxml: for reports python-pip: for installing missing types [installed] installing python-pytest-mypy... installing python-pytest-timeout... installing python-pytz... installing python-babel... installing python-docutils... installing python-imagesize... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support [installed] installing python-pygments... installing python-charset-normalizer... installing python-idna... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support [installed] python-idna: security support [installed] python-pyopenssl: security support python-pysocks: SOCKS support installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library [installed] python-pysocks: SOCKS proxy support installing python-snowballstemmer... Optional dependencies for python-snowballstemmer python-pystemmer: for improved performance installing python-sphinx-alabaster-theme... installing python-sphinxcontrib-applehelp... installing python-sphinxcontrib-devhelp... installing python-sphinxcontrib-htmlhelp... installing python-sphinxcontrib-jsmath... installing python-sphinxcontrib-qthelp... installing python-sphinxcontrib-serializinghtml... installing python-sphinx... Optional dependencies for python-sphinx imagemagick: for ext.imgconverter texlive-latexextra: for generation of PDF documentation installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation [installed] installing python-configupdater... installing python-tomlkit... installing python-ini2toml... installing python-tomli-w... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found system-validate-pyproject.patch  -> Found add-dependency.patch  -> Found build-no-isolation.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of setuptools git repo... Cloning into 'setuptools'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... patching file setuptools/config/pyprojecttoml.py Hunk #1 succeeded at 35 (offset 8 lines). patching file setup.cfg Hunk #1 succeeded at 27 with fuzz 2 (offset 1 line). patching file setuptools/tests/fixtures.py ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/setuptools copying setuptools/sandbox.py -> build/lib/setuptools copying setuptools/windows_support.py -> build/lib/setuptools copying setuptools/dep_util.py -> build/lib/setuptools copying setuptools/__init__.py -> build/lib/setuptools copying setuptools/logging.py -> build/lib/setuptools copying setuptools/_reqs.py -> build/lib/setuptools copying setuptools/archive_util.py -> build/lib/setuptools copying setuptools/dist.py -> build/lib/setuptools copying setuptools/installer.py -> build/lib/setuptools copying setuptools/_normalization.py -> build/lib/setuptools copying setuptools/depends.py -> build/lib/setuptools copying setuptools/namespaces.py -> build/lib/setuptools copying setuptools/errors.py -> build/lib/setuptools copying setuptools/_importlib.py -> build/lib/setuptools copying setuptools/launch.py -> build/lib/setuptools copying setuptools/monkey.py -> build/lib/setuptools copying setuptools/_itertools.py -> build/lib/setuptools copying setuptools/glob.py -> build/lib/setuptools copying setuptools/msvc.py -> build/lib/setuptools copying setuptools/version.py -> build/lib/setuptools copying setuptools/discovery.py -> build/lib/setuptools copying setuptools/extension.py -> build/lib/setuptools copying setuptools/build_meta.py -> build/lib/setuptools copying setuptools/warnings.py -> build/lib/setuptools copying setuptools/unicode_utils.py -> build/lib/setuptools copying setuptools/_path.py -> build/lib/setuptools copying setuptools/package_index.py -> build/lib/setuptools copying setuptools/_entry_points.py -> build/lib/setuptools copying setuptools/_imp.py -> build/lib/setuptools copying setuptools/py312compat.py -> build/lib/setuptools copying setuptools/wheel.py -> build/lib/setuptools creating build/lib/_distutils_hack copying _distutils_hack/__init__.py -> build/lib/_distutils_hack copying _distutils_hack/override.py -> build/lib/_distutils_hack creating build/lib/pkg_resources copying pkg_resources/__init__.py -> build/lib/pkg_resources creating build/lib/setuptools/command copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command copying setuptools/command/build.py -> build/lib/setuptools/command copying setuptools/command/install.py -> build/lib/setuptools/command copying setuptools/command/develop.py -> build/lib/setuptools/command copying setuptools/command/setopt.py -> build/lib/setuptools/command copying setuptools/command/__init__.py -> build/lib/setuptools/command copying setuptools/command/alias.py -> build/lib/setuptools/command copying setuptools/command/build_clib.py -> build/lib/setuptools/command copying setuptools/command/install_lib.py -> build/lib/setuptools/command copying setuptools/command/easy_install.py -> build/lib/setuptools/command copying setuptools/command/build_py.py -> build/lib/setuptools/command copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command copying setuptools/command/dist_info.py -> build/lib/setuptools/command copying setuptools/command/test.py -> build/lib/setuptools/command copying setuptools/command/editable_wheel.py -> build/lib/setuptools/command copying setuptools/command/upload_docs.py -> build/lib/setuptools/command copying setuptools/command/register.py -> build/lib/setuptools/command copying setuptools/command/upload.py -> build/lib/setuptools/command copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command copying setuptools/command/build_ext.py -> build/lib/setuptools/command copying setuptools/command/rotate.py -> build/lib/setuptools/command copying setuptools/command/install_scripts.py -> build/lib/setuptools/command copying setuptools/command/saveopts.py -> build/lib/setuptools/command copying setuptools/command/sdist.py -> build/lib/setuptools/command copying setuptools/command/egg_info.py -> build/lib/setuptools/command creating build/lib/setuptools/config copying setuptools/config/__init__.py -> build/lib/setuptools/config copying setuptools/config/pyprojecttoml.py -> build/lib/setuptools/config copying setuptools/config/_apply_pyprojecttoml.py -> build/lib/setuptools/config copying setuptools/config/expand.py -> build/lib/setuptools/config copying setuptools/config/setupcfg.py -> build/lib/setuptools/config creating build/lib/setuptools/_distutils copying setuptools/_distutils/cmd.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/spawn.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dep_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/__init__.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/log.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/py38compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/archive_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dist.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/unixccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dir_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/errors.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/ccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/config.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_msvccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/msvccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/file_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_functools.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/filelist.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/debug.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/version.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/sysconfig.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/extension.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/text_file.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/core.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/msvc9compiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/bcppcompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_collections.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_macos_compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/cygwinccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/fancy_getopt.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/py39compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_log.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/versionpredicate.py -> build/lib/setuptools/_distutils creating build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_egg_info.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_headers.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/__init__.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_clib.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_lib.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/_framework_compat.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/config.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist_dumb.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_py.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/check.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist_rpm.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_data.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/py37compat.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/clean.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_scripts.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/register.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/upload.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_ext.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_scripts.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/sdist.py -> build/lib/setuptools/_distutils/command copying setuptools/script (dev).tmpl -> build/lib/setuptools copying setuptools/script.tmpl -> build/lib/setuptools ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 rootdir: /build/python-setuptools/src/setuptools configfile: pytest.ini plugins: enabler-2.3.1, timeout-2.2.0, mypy-0.10.3, shutil-1.7.0, virtualenv-1.7.0 collected 1185 items / 32 deselected / 1153 selected pkg_resources/__init__.py ... [ 0%] pkg_resources/api_tests.txt . [ 0%] pkg_resources/tests/test_find_distributions.py .... [ 0%] pkg_resources/tests/test_markers.py . [ 0%] pkg_resources/tests/test_pkg_resources.py ................ssss [ 2%] pkg_resources/tests/test_resources.py .................................. [ 5%] ................................................ [ 9%] pkg_resources/tests/test_working_set.py ................................ [ 12%] .... [ 12%] setuptools/_entry_points.py . [ 12%] setuptools/_itertools.py . [ 12%] setuptools/_normalization.py .... [ 13%] setuptools/_path.py . [ 13%] setuptools/build_meta.py ..... [ 13%] setuptools/discovery.py ... [ 14%] setuptools/dist.py . [ 14%] setuptools/namespaces.py . [ 14%] setuptools/package_index.py .. [ 14%] setuptools/sandbox.py . [ 14%] setuptools/command/develop.py . [ 14%] setuptools/command/editable_wheel.py ... [ 14%] setuptools/command/install_lib.py . [ 14%] setuptools/config/_apply_pyprojecttoml.py .. [ 15%] setuptools/config/expand.py . [ 15%] setuptools/tests/test_archive_util.py X [ 15%] setuptools/tests/test_bdist_deprecations.py . [ 15%] setuptools/tests/test_bdist_egg.py .x [ 15%] setuptools/tests/test_build.py .. [ 15%] setuptools/tests/test_build_clib.py .. [ 15%] setuptools/tests/test_build_ext.py ........ [ 16%] setuptools/tests/test_build_meta.py .................................... [ 19%] ........................................................................ [ 25%] ........................................................................ [ 32%] ....................E.. [ 34%] setuptools/tests/test_build_py.py ....x.. [ 34%] setuptools/tests/test_config_discovery.py .............................. [ 37%] ..................................................... [ 41%] setuptools/tests/test_dep_util.py . [ 42%] setuptools/tests/test_depends.py . [ 42%] setuptools/tests/test_develop.py s.... [ 42%] setuptools/tests/test_dist.py ......x...x............................... [ 46%] .............. [ 47%] setuptools/tests/test_dist_info.py ..................................... [ 50%] . [ 50%] setuptools/tests/test_distutils_adoption.py EEEE.EEEEEEEE [ 51%] setuptools/tests/test_easy_install.py .................................. [ 54%] .............. [ 56%] setuptools/tests/test_editable_install.py EEEEEEEEEEEEEEE.........EEEEEE [ 58%] EE.EEEEE.... [ 59%] setuptools/tests/test_egg_info.py ..........................x........... [ 62%] ..................................... [ 66%] setuptools/tests/test_extern.py ... [ 66%] setuptools/tests/test_find_packages.py ................... [ 68%] setuptools/tests/test_find_py_modules.py ......... [ 68%] setuptools/tests/test_glob.py .... [ 69%] setuptools/tests/test_install_scripts.py .s.s [ 69%] setuptools/tests/test_integration.py sssss [ 69%] setuptools/tests/test_logging.py ... [ 70%] setuptools/tests/test_manifest.py ...................................... [ 73%] ............................. [ 76%] setuptools/tests/test_msvc14.py ssss [ 76%] setuptools/tests/test_namespaces.py .... [ 76%] setuptools/tests/test_packageindex.py ..................... [ 78%] setuptools/tests/test_register.py . [ 78%] setuptools/tests/test_sandbox.py .......... [ 79%] setuptools/tests/test_sdist.py ................................ [ 82%] setuptools/tests/test_setopt.py .. [ 82%] setuptools/tests/test_setuptools.py ....................... [ 84%] setuptools/tests/test_test.py . [ 84%] setuptools/tests/test_unicode_utils.py . [ 84%] setuptools/tests/test_upload.py . [ 84%] setuptools/tests/test_warnings.py .... [ 85%] setuptools/tests/test_wheel.py ........................ [ 87%] setuptools/tests/test_windows_wrappers.py ssss [ 87%] setuptools/tests/config/test_apply_pyprojecttoml.py .......x............ [ 89%] ..... [ 89%] setuptools/tests/config/test_expand.py ....................... [ 91%] setuptools/tests/config/test_pyprojecttoml.py ................. [ 93%] setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py ... [ 93%] setuptools/tests/config/test_setupcfg.py ............................... [ 96%] ..................................... [ 99%] setuptools/tests/integration/test_pip_install_sdist.py ssssssss [100%] ==================================== ERRORS ==================================== ________________ ERROR at setup of test_legacy_editable_install ________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- * Getting build dependencies for wheel... running egg_info creating setuptools.egg-info writing setuptools.egg-info/PKG-INFO writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt writing requirements to setuptools.egg-info/requires.txt writing manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'setuptools.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/sandbox.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/windows_support.py -> build/bdist.linux-riscv64/wheel/setuptools creating build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/develop.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/setopt.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/alias.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build_clib.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install_lib.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/easy_install.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build_py.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/dist_info.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/test.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/editable_wheel.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/upload_docs.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/register.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/upload.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build_ext.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/rotate.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install_scripts.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/saveopts.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/sdist.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/egg_info.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/dep_util.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/logging.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_reqs.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/archive_util.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/dist.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/installer.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_normalization.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/depends.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/namespaces.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/errors.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_importlib.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/launch.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/script (dev).tmpl -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/monkey.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_itertools.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/glob.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/msvc.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/version.py -> build/bdist.linux-riscv64/wheel/setuptools creating build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/pyprojecttoml.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/_apply_pyprojecttoml.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/expand.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/setupcfg.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/discovery.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/extension.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/build_meta.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/warnings.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/script.tmpl -> build/bdist.linux-riscv64/wheel/setuptools creating build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/cmd.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils creating build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_egg_info.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_headers.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_clib.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_lib.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/_framework_compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/config.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/bdist_dumb.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/bdist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_py.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/check.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/bdist_rpm.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_data.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/py37compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/clean.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_scripts.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/register.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/upload.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_ext.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_scripts.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/sdist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/spawn.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/dep_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/log.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/py38compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/archive_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/dist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/unixccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/dir_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/errors.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/ccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/config.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_msvccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/msvccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/file_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_functools.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/filelist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/debug.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/version.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/sysconfig.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/extension.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/text_file.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/core.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/msvc9compiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/bcppcompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_collections.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_macos_compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/cygwinccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/fancy_getopt.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/py39compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_log.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/versionpredicate.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/unicode_utils.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_path.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/package_index.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_entry_points.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_imp.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/py312compat.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/wheel.py -> build/bdist.linux-riscv64/wheel/setuptools creating build/bdist.linux-riscv64/wheel/_distutils_hack copying build/lib/_distutils_hack/__init__.py -> build/bdist.linux-riscv64/wheel/_distutils_hack copying build/lib/_distutils_hack/override.py -> build/bdist.linux-riscv64/wheel/_distutils_hack creating build/bdist.linux-riscv64/wheel/pkg_resources copying build/lib/pkg_resources/__init__.py -> build/bdist.linux-riscv64/wheel/pkg_resources running install_egg_info running egg_info writing setuptools.egg-info/PKG-INFO writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt writing requirements to setuptools.egg-info/requires.txt writing top-level names to setuptools.egg-info/top_level.txt writing setuptools.egg-info/PKG-INFO writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt writing requirements to setuptools.egg-info/requires.txt reading manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'setuptools.egg-info/SOURCES.txt' Copying setuptools.egg-info to build/bdist.linux-riscv64/wheel/setuptools-68.1.0-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/distutils-precedence.pth creating build/bdist.linux-riscv64/wheel/setuptools-68.1.0.dist-info/WHEEL creating '/tmp/pytest-of-builduser/pytest-0/wheel_build/.tmp-zl15lfyl/setuptools-68.1.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'distutils-precedence.pth' adding '_distutils_hack/__init__.py' adding '_distutils_hack/override.py' adding 'pkg_resources/__init__.py' adding 'setuptools/__init__.py' adding 'setuptools/_entry_points.py' adding 'setuptools/_imp.py' adding 'setuptools/_importlib.py' adding 'setuptools/_itertools.py' adding 'setuptools/_normalization.py' adding 'setuptools/_path.py' adding 'setuptools/_reqs.py' adding 'setuptools/archive_util.py' adding 'setuptools/build_meta.py' adding 'setuptools/dep_util.py' adding 'setuptools/depends.py' adding 'setuptools/discovery.py' adding 'setuptools/dist.py' adding 'setuptools/errors.py' adding 'setuptools/extension.py' adding 'setuptools/glob.py' adding 'setuptools/installer.py' adding 'setuptools/launch.py' adding 'setuptools/logging.py' adding 'setuptools/monkey.py' adding 'setuptools/msvc.py' adding 'setuptools/namespaces.py' adding 'setuptools/package_index.py' adding 'setuptools/py312compat.py' adding 'setuptools/sandbox.py' adding 'setuptools/script (dev).tmpl' adding 'setuptools/script.tmpl' adding 'setuptools/unicode_utils.py' adding 'setuptools/version.py' adding 'setuptools/warnings.py' adding 'setuptools/wheel.py' adding 'setuptools/windows_support.py' adding 'setuptools/_distutils/__init__.py' adding 'setuptools/_distutils/_collections.py' adding 'setuptools/_distutils/_functools.py' adding 'setuptools/_distutils/_log.py' adding 'setuptools/_distutils/_macos_compat.py' adding 'setuptools/_distutils/_msvccompiler.py' adding 'setuptools/_distutils/archive_util.py' adding 'setuptools/_distutils/bcppcompiler.py' adding 'setuptools/_distutils/ccompiler.py' adding 'setuptools/_distutils/cmd.py' adding 'setuptools/_distutils/config.py' adding 'setuptools/_distutils/core.py' adding 'setuptools/_distutils/cygwinccompiler.py' adding 'setuptools/_distutils/debug.py' adding 'setuptools/_distutils/dep_util.py' adding 'setuptools/_distutils/dir_util.py' adding 'setuptools/_distutils/dist.py' adding 'setuptools/_distutils/errors.py' adding 'setuptools/_distutils/extension.py' adding 'setuptools/_distutils/fancy_getopt.py' adding 'setuptools/_distutils/file_util.py' adding 'setuptools/_distutils/filelist.py' adding 'setuptools/_distutils/log.py' adding 'setuptools/_distutils/msvc9compiler.py' adding 'setuptools/_distutils/msvccompiler.py' adding 'setuptools/_distutils/py38compat.py' adding 'setuptools/_distutils/py39compat.py' adding 'setuptools/_distutils/spawn.py' adding 'setuptools/_distutils/sysconfig.py' adding 'setuptools/_distutils/text_file.py' adding 'setuptools/_distutils/unixccompiler.py' adding 'setuptools/_distutils/util.py' adding 'setuptools/_distutils/version.py' adding 'setuptools/_distutils/versionpredicate.py' adding 'setuptools/_distutils/command/__init__.py' adding 'setuptools/_distutils/command/_framework_compat.py' adding 'setuptools/_distutils/command/bdist.py' adding 'setuptools/_distutils/command/bdist_dumb.py' adding 'setuptools/_distutils/command/bdist_rpm.py' adding 'setuptools/_distutils/command/build.py' adding 'setuptools/_distutils/command/build_clib.py' adding 'setuptools/_distutils/command/build_ext.py' adding 'setuptools/_distutils/command/build_py.py' adding 'setuptools/_distutils/command/build_scripts.py' adding 'setuptools/_distutils/command/check.py' adding 'setuptools/_distutils/command/clean.py' adding 'setuptools/_distutils/command/config.py' adding 'setuptools/_distutils/command/install.py' adding 'setuptools/_distutils/command/install_data.py' adding 'setuptools/_distutils/command/install_egg_info.py' adding 'setuptools/_distutils/command/install_headers.py' adding 'setuptools/_distutils/command/install_lib.py' adding 'setuptools/_distutils/command/install_scripts.py' adding 'setuptools/_distutils/command/py37compat.py' adding 'setuptools/_distutils/command/register.py' adding 'setuptools/_distutils/command/sdist.py' adding 'setuptools/_distutils/command/upload.py' adding 'setuptools/command/__init__.py' adding 'setuptools/command/alias.py' adding 'setuptools/command/bdist_egg.py' adding 'setuptools/command/bdist_rpm.py' adding 'setuptools/command/build.py' adding 'setuptools/command/build_clib.py' adding 'setuptools/command/build_ext.py' adding 'setuptools/command/build_py.py' adding 'setuptools/command/develop.py' adding 'setuptools/command/dist_info.py' adding 'setuptools/command/easy_install.py' adding 'setuptools/command/editable_wheel.py' adding 'setuptools/command/egg_info.py' adding 'setuptools/command/install.py' adding 'setuptools/command/install_egg_info.py' adding 'setuptools/command/install_lib.py' adding 'setuptools/command/install_scripts.py' adding 'setuptools/command/register.py' adding 'setuptools/command/rotate.py' adding 'setuptools/command/saveopts.py' adding 'setuptools/command/sdist.py' adding 'setuptools/command/setopt.py' adding 'setuptools/command/test.py' adding 'setuptools/command/upload.py' adding 'setuptools/command/upload_docs.py' adding 'setuptools/config/__init__.py' adding 'setuptools/config/_apply_pyprojecttoml.py' adding 'setuptools/config/expand.py' adding 'setuptools/config/pyprojecttoml.py' adding 'setuptools/config/setupcfg.py' adding 'setuptools-68.1.0.dist-info/LICENSE' adding 'setuptools-68.1.0.dist-info/METADATA' adding 'setuptools-68.1.0.dist-info/WHEEL' adding 'setuptools-68.1.0.dist-info/entry_points.txt' adding 'setuptools-68.1.0.dist-info/top_level.txt' adding 'setuptools-68.1.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built setuptools-68.1.0-py3-none-any.whl created virtual environment CPython3.11.6.final.0-64 in 1535ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Downloading platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Downloading jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Downloading more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Downloading validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Downloading jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Downloading jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Downloading autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Downloading inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Downloading fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Downloading pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.2/65.2 kB 3.8 MB/s eta 0:00:00 Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Downloading pydantic_core-2.14.5.tar.gz (360 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 360.1/360.1 kB 9.9 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- warning: no files found matching '*.py' under directory 'tests' warning: no files found matching '*.txt' under directory 'docs' warning: no files found matching '*.conf' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.css_t' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' warning: no files found matching '*.py' under directory 'setuptools/_vendor' warning: no files found matching '*.txt' under directory 'setuptools/_vendor' warning: no files found matching 'msvc-build-launcher.cmd' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: build_py: byte-compiling is disabled, skipping. Distribution option extra_path is deprecated. See issue27919 for details. warning: install_lib: byte-compiling is disabled, skipping. warning: no files found matching '*.py' under directory 'tests' warning: no files found matching '*.txt' under directory 'docs' warning: no files found matching '*.conf' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.css_t' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' warning: no files found matching '*.py' under directory 'setuptools/_vendor' warning: no files found matching '*.txt' under directory 'setuptools/_vendor' warning: no files found matching 'msvc-build-launcher.cmd' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [63 lines of output] Collecting maturin<2,>=1 Downloading maturin-1.3.2.tar.gz (176 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 176.1/176.1 kB 1.7 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-xzkwooa2/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ___________________ ERROR at setup of test_distutils_stdlib ____________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 840ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-yzfmr7fx/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ____________ ERROR at setup of test_distutils_local_with_setuptools ____________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 842ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-wa_7wid3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ____________________ ERROR at setup of test_distutils_local ____________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 846ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-7xim62_n/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ______________________ ERROR at setup of test_pip_import _______________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pip_import0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 846ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-w0eufe1u/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of test_modules_are_not_duplicated_on_import[stdlib-dir_util] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 844ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-k4fy5mhs/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of test_modules_are_not_duplicated_on_import[stdlib-file_util] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 833ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-ywjidjyx/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of test_modules_are_not_duplicated_on_import[stdlib-archive_util] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 848ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-txurg56d/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of test_modules_are_not_duplicated_on_import[local-dir_util] __ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 836ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-tjc5560a/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of test_modules_are_not_duplicated_on_import[local-file_util] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 849ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-xbl9cz25/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of test_modules_are_not_duplicated_on_import[local-archive_util] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 835ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-zun3zu1i/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _____ ERROR at setup of test_log_module_is_not_duplicated_on_import[local] _____ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 835ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-7swyfasq/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ____ ERROR at setup of test_log_module_is_not_duplicated_on_import[stdlib] _____ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 839ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-cwzl5lid/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ________ ERROR at setup of test_editable_with_pyproject[strict-files0] _________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 858ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-esns0ki6/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ________ ERROR at setup of test_editable_with_pyproject[strict-files1] _________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 850ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-63zr8bjp/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ________ ERROR at setup of test_editable_with_pyproject[lenient-files0] ________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 839ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-3kt8svuu/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ________ ERROR at setup of test_editable_with_pyproject[lenient-files1] ________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 842ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-bfrx6cvj/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ___________ ERROR at setup of test_editable_with_flat_layout[strict] ___________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 854ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-94uxi07r/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. __________ ERROR at setup of test_editable_with_flat_layout[lenient] ___________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 850ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-g23j7rw6/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. __________ ERROR at setup of test_editable_with_single_module[strict] __________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 853ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-boy4u82d/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _________ ERROR at setup of test_editable_with_single_module[lenient] __________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 859ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-9jkkucrq/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestLegacyNamespaces.test_namespace_package_importable[strict] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 842ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-jn_gqq_7/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestLegacyNamespaces.test_namespace_package_importable[lenient] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 853ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-0owqrtt4/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestPep420Namespaces.test_namespace_package_importable[strict] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 838ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-jw4y5g1f/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestPep420Namespaces.test_namespace_package_importable[lenient] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 846ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-p5fexs_1/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestPep420Namespaces.test_namespace_created_via_package_dir[strict] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 849ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-v1qb7uxm/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestPep420Namespaces.test_namespace_created_via_package_dir[lenient] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 843ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-hpqm75l1/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestPep420Namespaces.test_namespace_accidental_config_in_lenient_mode _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 839ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-p45esnj1/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[strict-flat-layout] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 852ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-1czdhpu5/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[strict-src-layout] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 847ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-tuy0hrsj/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[strict-custom-layout] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 837ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-5w2hptqn/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[strict-namespace] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 849ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-cc4opis8/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[lenient-flat-layout] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 848ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-fbz_bfoe/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[lenient-src-layout] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 841ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-99l05665/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[lenient-custom-layout] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 844ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-5q9ju05a/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _ ERROR at setup of TestOverallBehaviour.test_editable_install[lenient-namespace] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 846ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-f3tbken8/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ______________ ERROR at setup of TestLinkTree.test_strict_install ______________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_strict_install0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 840ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-onq_825r/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ____________________ ERROR at setup of test_compat_install _____________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_compat_install0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 842ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-ply0x550/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ________________ ERROR at setup of test_pbr_integration[strict] ________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 844ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-q2a9000y/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _______________ ERROR at setup of test_pbr_integration[lenient] ________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 857ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-t6ip71f8/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. _______ ERROR at setup of TestCustomBuildPy.test_safeguarded_from_errors _______ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.4-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.6.final.0-64 in 846ms creator CPython3Posix(dest=/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==23.3.1, wheel==0.41.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.1.0-py3-none-any.whl Collecting platformdirs (from setuptools==68.1.0) Using cached platformdirs-4.0.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==68.1.0) Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools (from setuptools==68.1.0) Using cached more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting ordered-set (from setuptools==68.1.0) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging (from setuptools==68.1.0) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==68.1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject (from setuptools==68.1.0) Using cached validate_pyproject-0.15-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==68.1.0) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==68.1.0) Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand (from jaraco.text->setuptools==68.1.0) Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect (from jaraco.text->setuptools==68.1.0) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==68.1.0) Using cached fastjsonschema-2.19.0-py3-none-any.whl.metadata (2.0 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic-2.5.2-py3-none-any.whl.metadata (65 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==68.1.0) Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.14.5 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==68.1.0) Using cached pydantic_core-2.14.5.tar.gz (360 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.3.2.tar.gz (176 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [37 lines of output] /tmp/pip-build-env-naj11br0/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/maturin copying maturin/import_hook.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__main__.py -> build/lib.linux-riscv64-cpython-311/maturin copying maturin/__init__.py -> build/lib.linux-riscv64-cpython-311/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. =========================== short test summary info ============================ SKIPPED [1] pkg_resources/tests/test_pkg_resources.py:386: Testing case-insensitive filesystems. SKIPPED [3] pkg_resources/tests/test_pkg_resources.py:402: Testing systems using backslashes as path separators. SKIPPED [1] setuptools/tests/test_develop.py:64: TODO: needs a fixture to cause 'develop' to be invoked without mutating environment. SKIPPED [1] setuptools/tests/test_install_scripts.py:50: Windows only SKIPPED [1] setuptools/tests/test_install_scripts.py:78: Windows only SKIPPED [5] setuptools/tests/test_integration.py:30: Integration tests cannot run when pbr is installed SKIPPED [1] setuptools/tests/test_msvc14.py:15: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:36: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:54: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:68: These tests are only for win32 SKIPPED [1] setuptools/tests/test_windows_wrappers.py:82: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:126: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:159: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:227: Windows only SKIPPED [8] setuptools/tests/integration/test_pip_install_sdist.py:110: skipping integration tests XFAIL setuptools/tests/test_bdist_egg.py::Test::test_exclude_source_files - Byte code disabled XFAIL setuptools/tests/test_build_py.py::test_excluded_subpackages - reason: #3260 XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 1.2: Project-Url-attrs5] - Issue #1578: project_urls not read XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 2.1: Provides Extra-attrs9] - provides_extras not read XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[extras_require_with_marker_in_setup_cfg] XFAIL setuptools/tests/config/test_apply_pyprojecttoml.py::test_utf8_maintainer_in_metadata[international-email] - CPython's `email.headerregistry.Address` only supports RFC 5322, as of Nov 10, 2022 and latest Python 3.11.0 XPASS setuptools/tests/test_archive_util.py::test_unicode_files #710 and #712 = 1077 passed, 28 skipped, 32 deselected, 6 xfailed, 1 xpassed, 41 errors in 3623.88s (1:00:23) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root2/build receiving incremental file list python-setuptools-1:68.1.0-1-riscv64-build.log python-setuptools-1:68.1.0-1-riscv64-check.log python-setuptools-1:68.1.0-1-riscv64-prepare.log sent 81 bytes received 15,115 bytes 30,392.00 bytes/sec total size is 477,373 speedup is 31.41