==> Building on scovillain ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 1,345 82% 0.00kB/s 0:00:00 1,623 100% 271.48kB/s 0:00:00 (xfr#1, to-chk=5/7) PKGBUILD 2,073 51% 1.98MB/s 0:00:00 3,998 100% 3.81MB/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 700 94% 683.59kB/s 0:00:00 741 100% 723.63kB/s 0:00:00 (xfr#4, to-chk=2/7) python-setuptools-1:69.0.3-4.log 440 100% 429.69kB/s 0:00:00 440 100% 429.69kB/s 0:00:00 (xfr#5, to-chk=1/7) system-validate-pyproject.patch 700 46% 683.59kB/s 0:00:00 1,502 100% 1.43MB/s 0:00:00 (xfr#6, to-chk=0/7) sent 1,714 bytes received 223 bytes 3,874.00 bytes/sec total size is 8,428 speedup is 4.35 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root19 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root19]...done ==> Making package: python-setuptools 1:69.0.3-4 (Sun Feb 25 17:55:12 2024) ==> Retrieving sources...  -> Updating setuptools git repo... From https://github.com/pypa/setuptools - [deleted] (none) -> refs/pull/4099/merge - [deleted] (none) -> refs/pull/4169/merge - [deleted] (none) -> refs/pull/4191/merge remote: Enumerating objects: 829, done. remote: Counting objects: 0% (1/773) remote: Counting objects: 1% (8/773) remote: Counting objects: 2% (16/773) remote: Counting objects: 3% (24/773) remote: Counting objects: 4% (31/773) remote: Counting objects: 5% (39/773) remote: Counting objects: 6% (47/773) remote: Counting objects: 7% (55/773) remote: Counting objects: 8% (62/773) remote: Counting objects: 9% (70/773) remote: Counting objects: 10% (78/773) remote: Counting objects: 11% (86/773) remote: Counting objects: 12% (93/773) remote: Counting objects: 13% (101/773) remote: Counting objects: 14% (109/773) remote: Counting objects: 15% (116/773) remote: Counting objects: 16% (124/773) remote: Counting objects: 17% (132/773) remote: Counting objects: 18% (140/773) remote: Counting objects: 19% (147/773) remote: Counting objects: 20% (155/773) remote: Counting objects: 21% (163/773) remote: Counting objects: 22% (171/773) remote: Counting objects: 23% (178/773) remote: Counting objects: 24% (186/773) remote: Counting objects: 25% (194/773) remote: Counting objects: 26% (201/773) remote: Counting objects: 27% (209/773) remote: Counting objects: 28% (217/773) remote: Counting objects: 29% (225/773) remote: Counting objects: 30% (232/773) remote: Counting objects: 31% (240/773) remote: Counting objects: 32% (248/773) remote: Counting objects: 33% (256/773) remote: Counting objects: 34% (263/773) remote: Counting objects: 35% (271/773) remote: Counting objects: 36% (279/773) remote: Counting objects: 37% (287/773) remote: Counting objects: 38% (294/773) remote: Counting objects: 39% (302/773) remote: Counting objects: 40% (310/773) remote: Counting objects: 41% (317/773) remote: Counting objects: 42% (325/773) remote: Counting objects: 43% (333/773) remote: Counting objects: 44% (341/773) remote: Counting objects: 45% (348/773) remote: Counting objects: 46% (356/773) remote: Counting objects: 47% (364/773) remote: Counting objects: 48% (372/773) remote: Counting objects: 49% (379/773) remote: Counting objects: 50% (387/773) remote: Counting objects: 51% (395/773) remote: Counting objects: 52% (402/773) remote: Counting objects: 53% (410/773) remote: Counting objects: 54% (418/773) remote: Counting objects: 55% (426/773) remote: Counting objects: 56% (433/773) remote: Counting objects: 57% (441/773) remote: Counting objects: 58% (449/773) remote: Counting objects: 59% (457/773) remote: Counting objects: 60% (464/773) remote: Counting objects: 61% (472/773) remote: Counting objects: 62% (480/773) remote: Counting objects: 63% (487/773) remote: Counting objects: 64% (495/773) remote: Counting objects: 65% (503/773) remote: Counting objects: 66% (511/773) remote: Counting objects: 67% (518/773) remote: Counting objects: 68% (526/773) remote: Counting objects: 69% (534/773) remote: Counting objects: 70% (542/773) remote: Counting objects: 71% (549/773) remote: Counting objects: 72% (557/773) remote: Counting objects: 73% (565/773) remote: Counting objects: 74% (573/773) remote: Counting objects: 75% (580/773) remote: Counting objects: 76% (588/773) remote: Counting objects: 77% (596/773) remote: Counting objects: 78% (603/773) remote: Counting objects: 79% (611/773) remote: Counting objects: 80% (619/773) remote: Counting objects: 81% (627/773) remote: Counting objects: 82% (634/773) remote: Counting objects: 83% (642/773) remote: Counting objects: 84% (650/773) remote: Counting objects: 85% (658/773) remote: Counting objects: 86% (665/773) remote: Counting objects: 87% (673/773) remote: Counting objects: 88% (681/773) remote: Counting objects: 89% (688/773) remote: Counting objects: 90% (696/773) remote: Counting objects: 91% (704/773) remote: Counting objects: 92% (712/773) remote: Counting objects: 93% (719/773) remote: Counting objects: 94% (727/773) remote: Counting objects: 95% (735/773) remote: Counting objects: 96% (743/773) remote: Counting objects: 97% (750/773) remote: Counting objects: 98% (758/773) remote: Counting objects: 99% (766/773) remote: Counting objects: 100% (773/773) remote: Counting objects: 100% (773/773), done. remote: Compressing objects: 0% (1/296) remote: Compressing objects: 1% (3/296) remote: Compressing objects: 2% (6/296) remote: Compressing objects: 3% (9/296) remote: Compressing objects: 4% (12/296) remote: Compressing objects: 5% (15/296) remote: Compressing objects: 6% (18/296) remote: Compressing objects: 7% (21/296) remote: Compressing objects: 8% (24/296) remote: Compressing objects: 9% (27/296) remote: Compressing objects: 10% (30/296) remote: Compressing objects: 11% (33/296) remote: Compressing objects: 12% (36/296) remote: Compressing objects: 13% (39/296) remote: Compressing objects: 14% (42/296) remote: Compressing objects: 15% (45/296) remote: Compressing objects: 16% (48/296) remote: Compressing objects: 17% (51/296) remote: Compressing objects: 18% (54/296) remote: Compressing objects: 19% (57/296) remote: Compressing objects: 20% (60/296) remote: Compressing objects: 21% (63/296) remote: Compressing objects: 22% (66/296) remote: Compressing objects: 23% (69/296) remote: Compressing objects: 24% (72/296) remote: Compressing objects: 25% (74/296) remote: Compressing objects: 26% (77/296) remote: Compressing objects: 27% (80/296) remote: Compressing objects: 28% (83/296) remote: Compressing objects: 29% (86/296) remote: Compressing objects: 30% (89/296) remote: Compressing objects: 31% (92/296) remote: Compressing objects: 32% (95/296) remote: Compressing objects: 33% (98/296) remote: Compressing objects: 34% (101/296) remote: Compressing objects: 35% (104/296) remote: Compressing objects: 36% (107/296) remote: Compressing objects: 37% (110/296) remote: Compressing objects: 38% (113/296) remote: Compressing objects: 39% (116/296) remote: Compressing objects: 40% (119/296) remote: Compressing objects: 41% (122/296) remote: Compressing objects: 42% (125/296) remote: Compressing objects: 43% (128/296) remote: Compressing objects: 44% (131/296) remote: Compressing objects: 45% (134/296) remote: Compressing objects: 46% (137/296) remote: Compressing objects: 47% (140/296) remote: Compressing objects: 48% (143/296) remote: Compressing objects: 49% (146/296) remote: Compressing objects: 50% (148/296) remote: Compressing objects: 51% (151/296) remote: Compressing objects: 52% (154/296) remote: Compressing objects: 53% (157/296) remote: Compressing objects: 54% (160/296) remote: Compressing objects: 55% (163/296) remote: Compressing objects: 56% (166/296) remote: Compressing objects: 57% (169/296) remote: Compressing objects: 58% (172/296) remote: Compressing objects: 59% (175/296) remote: Compressing objects: 60% (178/296) remote: Compressing objects: 61% (181/296) remote: Compressing objects: 62% (184/296) remote: Compressing objects: 63% (187/296) remote: Compressing objects: 64% (190/296) remote: Compressing objects: 65% (193/296) remote: Compressing objects: 66% (196/296) remote: Compressing objects: 67% (199/296) remote: Compressing objects: 68% (202/296) remote: Compressing objects: 69% (205/296) remote: Compressing objects: 70% (208/296) remote: Compressing objects: 71% (211/296) remote: Compressing objects: 72% (214/296) remote: Compressing objects: 73% (217/296) remote: Compressing objects: 74% (220/296) remote: Compressing objects: 75% (222/296) remote: Compressing objects: 76% (225/296) remote: Compressing objects: 77% (228/296) remote: Compressing objects: 78% (231/296) remote: Compressing objects: 79% (234/296) remote: Compressing objects: 80% (237/296) remote: Compressing objects: 81% (240/296) remote: Compressing objects: 82% (243/296) remote: Compressing objects: 83% (246/296) remote: Compressing objects: 84% (249/296) remote: Compressing objects: 85% (252/296) remote: Compressing objects: 86% (255/296) remote: Compressing objects: 87% (258/296) remote: Compressing objects: 88% (261/296) remote: Compressing objects: 89% (264/296) remote: Compressing objects: 90% (267/296) remote: Compressing objects: 91% (270/296) remote: Compressing objects: 92% (273/296) remote: Compressing objects: 93% (276/296) remote: Compressing objects: 94% (279/296) remote: Compressing objects: 95% (282/296) remote: Compressing objects: 96% (285/296) remote: Compressing objects: 97% (288/296) remote: Compressing objects: 98% (291/296) remote: Compressing objects: 99% (294/296) remote: Compressing objects: 100% (296/296) remote: Compressing objects: 100% (296/296), done. Receiving objects: 0% (1/829) Receiving objects: 1% (9/829) Receiving objects: 2% (17/829) Receiving objects: 3% (25/829) Receiving objects: 4% (34/829) Receiving objects: 5% (42/829) Receiving objects: 6% (50/829) Receiving objects: 7% (59/829) Receiving objects: 8% (67/829) Receiving objects: 9% (75/829) Receiving objects: 10% (83/829) Receiving objects: 11% (92/829) Receiving objects: 12% (100/829) Receiving objects: 13% (108/829) Receiving objects: 14% (117/829) Receiving objects: 15% (125/829) Receiving objects: 16% (133/829) Receiving objects: 17% (141/829) Receiving objects: 18% (150/829) Receiving objects: 19% (158/829) Receiving objects: 20% (166/829) Receiving objects: 21% (175/829) Receiving objects: 22% (183/829) Receiving objects: 23% (191/829) Receiving objects: 24% (199/829) Receiving objects: 25% (208/829) Receiving objects: 26% (216/829) Receiving objects: 27% (224/829) Receiving objects: 28% (233/829) Receiving objects: 29% (241/829) Receiving objects: 30% (249/829) Receiving objects: 31% (257/829) Receiving objects: 32% (266/829) Receiving objects: 33% (274/829) Receiving objects: 34% (282/829) Receiving objects: 35% (291/829) Receiving objects: 36% (299/829) Receiving objects: 37% (307/829) Receiving objects: 38% (316/829) Receiving objects: 39% (324/829) Receiving objects: 40% (332/829) Receiving objects: 41% (340/829) Receiving objects: 42% (349/829) Receiving objects: 43% (357/829) Receiving objects: 44% (365/829) Receiving objects: 45% (374/829) Receiving objects: 46% (382/829) Receiving objects: 47% (390/829) Receiving objects: 48% (398/829) Receiving objects: 49% (407/829) Receiving objects: 50% (415/829) Receiving objects: 51% (423/829) Receiving objects: 52% (432/829) Receiving objects: 53% (440/829) Receiving objects: 54% (448/829) Receiving objects: 55% (456/829) Receiving objects: 56% (465/829) Receiving objects: 57% (473/829) Receiving objects: 58% (481/829) Receiving objects: 59% (490/829) Receiving objects: 60% (498/829) Receiving objects: 61% (506/829) Receiving objects: 62% (514/829) Receiving objects: 63% (523/829) Receiving objects: 64% (531/829) Receiving objects: 65% (539/829) Receiving objects: 66% (548/829) Receiving objects: 67% (556/829) Receiving objects: 68% (564/829) Receiving objects: 69% (573/829) Receiving objects: 70% (581/829) Receiving objects: 71% (589/829) Receiving objects: 72% (597/829) Receiving objects: 73% (606/829) Receiving objects: 74% (614/829) Receiving objects: 75% (622/829) Receiving objects: 76% (631/829) Receiving objects: 77% (639/829) Receiving objects: 78% (647/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 79% (655/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 80% (664/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 81% (672/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 82% (680/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 83% (689/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 84% (697/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 85% (705/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 86% (713/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 87% (722/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 88% (730/829), 224.00 KiB | 439.00 KiB/s Receiving objects: 88% (737/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 89% (738/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 90% (747/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 91% (755/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 92% (763/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 93% (771/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 94% (780/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 95% (788/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 96% (796/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 97% (805/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 98% (813/829), 444.00 KiB | 433.00 KiB/s remote: Total 829 (delta 537), reused 664 (delta 468), pack-reused 56 Receiving objects: 99% (821/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 100% (829/829), 444.00 KiB | 433.00 KiB/s Receiving objects: 100% (829/829), 542.20 KiB | 440.00 KiB/s, done. Resolving deltas: 0% (0/545) Resolving deltas: 1% (6/545) Resolving deltas: 2% (11/545) Resolving deltas: 3% (17/545) Resolving deltas: 4% (24/545) Resolving deltas: 5% (28/545) Resolving deltas: 6% (33/545) Resolving deltas: 7% (39/545) Resolving deltas: 8% (44/545) Resolving deltas: 9% (50/545) Resolving deltas: 10% (55/545) Resolving deltas: 11% (60/545) Resolving deltas: 12% (67/545) Resolving deltas: 13% (71/545) Resolving deltas: 14% (77/545) Resolving deltas: 15% (82/545) Resolving deltas: 16% (88/545) Resolving deltas: 17% (94/545) Resolving deltas: 18% (99/545) Resolving deltas: 19% (105/545) Resolving deltas: 20% (109/545) Resolving deltas: 21% (115/545) Resolving deltas: 22% (120/545) Resolving deltas: 23% (127/545) Resolving deltas: 24% (131/545) Resolving deltas: 25% (137/545) Resolving deltas: 26% (142/545) Resolving deltas: 27% (149/545) Resolving deltas: 28% (153/545) Resolving deltas: 29% (159/545) Resolving deltas: 30% (164/545) Resolving deltas: 31% (169/545) Resolving deltas: 32% (176/545) Resolving deltas: 33% (180/545) Resolving deltas: 34% (186/545) Resolving deltas: 35% (191/545) Resolving deltas: 36% (197/545) Resolving deltas: 37% (202/545) Resolving deltas: 38% (209/545) Resolving deltas: 39% (215/545) Resolving deltas: 40% (218/545) Resolving deltas: 41% (224/545) Resolving deltas: 42% (229/545) Resolving deltas: 43% (236/545) Resolving deltas: 44% (241/545) Resolving deltas: 45% (250/545) Resolving deltas: 46% (251/545) Resolving deltas: 47% (257/545) Resolving deltas: 48% (262/545) Resolving deltas: 49% (270/545) Resolving deltas: 50% (273/545) Resolving deltas: 51% (278/545) Resolving deltas: 52% (284/545) Resolving deltas: 53% (291/545) Resolving deltas: 54% (297/545) Resolving deltas: 55% (300/545) Resolving deltas: 56% (306/545) Resolving deltas: 57% (313/545) Resolving deltas: 58% (317/545) Resolving deltas: 59% (322/545) Resolving deltas: 60% (331/545) Resolving deltas: 61% (334/545) Resolving deltas: 62% (339/545) Resolving deltas: 63% (344/545) Resolving deltas: 64% (349/545) Resolving deltas: 65% (355/545) Resolving deltas: 66% (360/545) Resolving deltas: 67% (366/545) Resolving deltas: 68% (371/545) Resolving deltas: 69% (377/545) Resolving deltas: 70% (382/545) Resolving deltas: 71% (387/545) Resolving deltas: 72% (393/545) Resolving deltas: 73% (398/545) Resolving deltas: 74% (404/545) Resolving deltas: 75% (409/545) Resolving deltas: 76% (415/545) Resolving deltas: 77% (420/545) Resolving deltas: 78% (426/545) Resolving deltas: 79% (431/545) Resolving deltas: 80% (436/545) Resolving deltas: 81% (442/545) Resolving deltas: 82% (447/545) Resolving deltas: 83% (453/545) Resolving deltas: 84% (458/545) Resolving deltas: 85% (464/545) Resolving deltas: 86% (469/545) Resolving deltas: 87% (475/545) Resolving deltas: 88% (480/545) Resolving deltas: 89% (486/545) Resolving deltas: 90% (491/545) Resolving deltas: 91% (496/545) Resolving deltas: 92% (502/545) Resolving deltas: 93% (507/545) Resolving deltas: 94% (513/545) Resolving deltas: 95% (518/545) Resolving deltas: 96% (524/545) Resolving deltas: 97% (529/545) Resolving deltas: 98% (535/545) Resolving deltas: 99% (540/545) Resolving deltas: 100% (545/545) Resolving deltas: 100% (545/545), completed with 62 local objects. 04a6bfe78..8c45d6e44 main -> main 04a6bfe78..8c45d6e44 refs/pull/3406/head -> refs/pull/3406/head + e2348fa0b...096ff6479 refs/pull/3579/merge -> refs/pull/3579/merge (forced update) f76def799..232bcd4d5 refs/pull/3979/head -> refs/pull/3979/head + cbf019fe1...fcf935bfa refs/pull/3979/merge -> refs/pull/3979/merge (forced update) + 660aa1473...d29a2a26a refs/pull/4060/merge -> refs/pull/4060/merge (forced update) + b9a7b5093...3ff2da244 refs/pull/4086/merge -> refs/pull/4086/merge (forced update) + 04586bc20...55b1b391b refs/pull/4092/merge -> refs/pull/4092/merge (forced update) + 943d58959...38eba02ca refs/pull/4098/merge -> refs/pull/4098/merge (forced update) a66466875..70d50e727 refs/pull/4099/head -> refs/pull/4099/head + 6fed6db98...ac62a62fa refs/pull/4151/head -> refs/pull/4151/head (forced update) + aab6138c0...2cdce6dd2 refs/pull/4151/merge -> refs/pull/4151/merge (forced update) + d9c87fdcd...15c5c6f09 refs/pull/4161/merge -> refs/pull/4161/merge (forced update) + 323dff56a...7ce6f39d7 refs/pull/4169/head -> refs/pull/4169/head (forced update) e7c0804b2..90baf7794 refs/pull/4192/head -> refs/pull/4192/head + 30403c02d...5ec4169f9 refs/pull/4192/merge -> refs/pull/4192/merge (forced update) e4eff3a90..e61adbfd2 refs/pull/4193/head -> refs/pull/4193/head + 66d1f706c...79d70e8b4 refs/pull/4193/merge -> refs/pull/4193/merge (forced update) * [new ref] refs/pull/4201/head -> refs/pull/4201/head * [new ref] refs/pull/4203/head -> refs/pull/4203/head * [new ref] refs/pull/4204/head -> refs/pull/4204/head * [new ref] refs/pull/4205/head -> refs/pull/4205/head * [new ref] refs/pull/4206/head -> refs/pull/4206/head * [new ref] refs/pull/4209/head -> refs/pull/4209/head * [new ref] refs/pull/4210/head -> refs/pull/4210/head * [new ref] refs/pull/4211/head -> refs/pull/4211/head * [new ref] refs/pull/4212/head -> refs/pull/4212/head * [new ref] refs/pull/4215/head -> refs/pull/4215/head * [new ref] refs/pull/4217/head -> refs/pull/4217/head * [new ref] refs/pull/4218/head -> refs/pull/4218/head * [new ref] refs/pull/4227/head -> refs/pull/4227/head * [new ref] refs/pull/4228/head -> refs/pull/4228/head * [new ref] refs/pull/4229/head -> refs/pull/4229/head * [new ref] refs/pull/4230/head -> refs/pull/4230/head * [new ref] refs/pull/4230/merge -> refs/pull/4230/merge * [new ref] refs/pull/4231/head -> refs/pull/4231/head * [new ref] refs/pull/4232/head -> refs/pull/4232/head * [new ref] refs/pull/4232/merge -> refs/pull/4232/merge * [new ref] refs/pull/4233/head -> refs/pull/4233/head * [new ref] refs/pull/4233/merge -> refs/pull/4233/merge * [new ref] refs/pull/4234/head -> refs/pull/4234/head * [new ref] refs/pull/4234/merge -> refs/pull/4234/merge * [new ref] refs/pull/4235/head -> refs/pull/4235/head * [new ref] refs/pull/4235/merge -> refs/pull/4235/merge * [new ref] refs/pull/4236/head -> refs/pull/4236/head * [new ref] refs/pull/4236/merge -> refs/pull/4236/merge * [new tag] v69.1.0 -> v69.1.0 * [new tag] v69.1.1 -> v69.1.1  -> 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:69.0.3-4 (Sun Feb 25 17:55:40 2024) ==> 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.1-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 4.0.0-1 0.07 MiB extra/python-pydantic 2.6.1-1 4.88 MiB extra/python-pydantic-core 1:2.16.3-1 4.82 MiB extra/python-trove-classifiers 2024.1.31-1 0.11 MiB extra/python-typing_extensions 4.9.0-1 0.37 MiB extra/python-jaraco.text 3.12.0-1.1 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.1.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.45 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 (61) New Version Net Change Download Size extra/mypy 1.8.0-1 21.36 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 23.2.0-1 0.57 MiB extra/python-babel 2.12.1-2.1 31.41 MiB extra/python-cachetools 5.3.2-2 0.14 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 extra/python-cryptography 41.0.7-1 57.96 MiB extra/python-distlib 0.3.8-1 1.39 MiB extra/python-docutils 1:0.20.1-1 5.72 MiB extra/python-filelock 3.13.1-1 0.09 MiB extra/python-idna 3.6-1 0.71 MiB extra/python-imagesize 1.4.1-4 0.05 MiB extra/python-importlib_resources 6.1.1-1 0.16 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jinja 1:3.1.3-1 1.82 MiB extra/python-markupsafe 2.1.4-1 0.08 MiB extra/python-mypy_extensions 1.0.0-3 0.03 MiB extra/python-path 16.10.0-1 0.26 MiB 0.05 MiB extra/python-pluggy 1.4.0-1 0.21 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-psutil 5.9.8-1 3.38 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pygments 2.17.2-1 13.94 MiB extra/python-pyproject-api 1.6.1-1 0.13 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-pytest 1:7.4.4-1 4.02 MiB extra/python-pytz 2024.1-1 0.17 MiB extra/python-requests 2.31.0-1 0.61 MiB extra/python-snowballstemmer 2.2.0-5 2.82 MiB extra/python-sphinx-alabaster-theme 0.7.16-1 0.05 MiB extra/python-sphinxcontrib-applehelp 1.0.8-1 0.26 MiB extra/python-sphinxcontrib-devhelp 1.0.6-1 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.0.5-1 0.17 MiB extra/python-sphinxcontrib-jsmath 1.0.1-15 0.02 MiB extra/python-sphinxcontrib-qthelp 1.0.7-1 0.17 MiB extra/python-sphinxcontrib-serializinghtml 1.1.10-1 0.14 MiB extra/python-toml 0.10.2-9 0.20 MiB extra/python-tomlkit 0.12.3-1 0.61 MiB extra/python-tox 4.12.1-1 1.72 MiB 0.32 MiB extra/python-urllib3 1.26.15-1 1.30 MiB extra/python-virtualenv 20.25.0-1 4.69 MiB extra/python-zipp 3.17.0-1 0.06 MiB extra/git 2.44.0-1 25.03 MiB extra/python-build 1.0.3-1 0.68 MiB extra/python-ini2toml 0.13-1 0.50 MiB extra/python-jaraco.envs 2.4.0-4 0.02 MiB extra/python-jaraco.path 3.7.0-1 0.05 MiB extra/python-pip 24.0-1 20.94 MiB extra/python-pytest-enabler 3.0.0-1 0.02 MiB extra/python-pytest-mypy 0.10.3-4 0.05 MiB extra/python-pytest-timeout 2.2.0-1 0.08 MiB extra/python-setuptools 1:69.0.2-1 4.68 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.42.0-1 0.28 MiB Total Download Size: 0.36 MiB Total Installed Size: 235.82 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-tox-4.12.1-1-any downloading... python-path-16.10.0-1-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-iniconfig... installing python-pytest... 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 Hunk #1 succeeded at 83 (offset 1 line). Hunk #2 succeeded at 111 (offset 2 lines). ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/setuptools copying setuptools/depends.py -> build/lib/setuptools copying setuptools/namespaces.py -> build/lib/setuptools copying setuptools/_path.py -> build/lib/setuptools copying setuptools/msvc.py -> build/lib/setuptools copying setuptools/_entry_points.py -> build/lib/setuptools copying setuptools/extension.py -> build/lib/setuptools copying setuptools/wheel.py -> build/lib/setuptools copying setuptools/_reqs.py -> build/lib/setuptools copying setuptools/logging.py -> build/lib/setuptools copying setuptools/_imp.py -> build/lib/setuptools copying setuptools/windows_support.py -> build/lib/setuptools copying setuptools/modified.py -> build/lib/setuptools copying setuptools/errors.py -> build/lib/setuptools copying setuptools/__init__.py -> build/lib/setuptools copying setuptools/dist.py -> build/lib/setuptools copying setuptools/discovery.py -> build/lib/setuptools copying setuptools/package_index.py -> build/lib/setuptools copying setuptools/launch.py -> build/lib/setuptools copying setuptools/dep_util.py -> build/lib/setuptools copying setuptools/glob.py -> build/lib/setuptools copying setuptools/installer.py -> build/lib/setuptools copying setuptools/version.py -> build/lib/setuptools copying setuptools/warnings.py -> build/lib/setuptools copying setuptools/_core_metadata.py -> build/lib/setuptools copying setuptools/py312compat.py -> build/lib/setuptools copying setuptools/_itertools.py -> build/lib/setuptools copying setuptools/_importlib.py -> build/lib/setuptools copying setuptools/sandbox.py -> build/lib/setuptools copying setuptools/monkey.py -> build/lib/setuptools copying setuptools/archive_util.py -> build/lib/setuptools copying setuptools/_normalization.py -> build/lib/setuptools copying setuptools/unicode_utils.py -> build/lib/setuptools copying setuptools/build_meta.py -> build/lib/setuptools creating build/lib/_distutils_hack copying _distutils_hack/override.py -> build/lib/_distutils_hack copying _distutils_hack/__init__.py -> build/lib/_distutils_hack creating build/lib/pkg_resources copying pkg_resources/__init__.py -> build/lib/pkg_resources creating 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/__init__.py -> build/lib/setuptools/config copying setuptools/config/pyprojecttoml.py -> build/lib/setuptools/config copying setuptools/config/setupcfg.py -> build/lib/setuptools/config creating build/lib/setuptools/_distutils copying setuptools/_distutils/spawn.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/debug.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/sysconfig.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dir_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_collections.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/extension.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_modified.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/msvc9compiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_msvccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/errors.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/log.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/__init__.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/dep_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/cygwinccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/text_file.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/cmd.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/config.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/version.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/bcppcompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/filelist.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/fancy_getopt.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/core.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/ccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/msvccompiler.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/versionpredicate.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_functools.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_macos_compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/file_util.py -> build/lib/setuptools/_distutils creating build/lib/setuptools/command copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command copying setuptools/command/install_lib.py -> build/lib/setuptools/command copying setuptools/command/register.py -> build/lib/setuptools/command copying setuptools/command/test.py -> build/lib/setuptools/command copying setuptools/command/alias.py -> build/lib/setuptools/command copying setuptools/command/saveopts.py -> build/lib/setuptools/command copying setuptools/command/editable_wheel.py -> build/lib/setuptools/command copying setuptools/command/build.py -> build/lib/setuptools/command copying setuptools/command/install_scripts.py -> build/lib/setuptools/command copying setuptools/command/build_clib.py -> build/lib/setuptools/command copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command copying setuptools/command/__init__.py -> build/lib/setuptools/command copying setuptools/command/upload.py -> build/lib/setuptools/command copying setuptools/command/sdist.py -> build/lib/setuptools/command copying setuptools/command/develop.py -> build/lib/setuptools/command copying setuptools/command/install.py -> build/lib/setuptools/command copying setuptools/command/easy_install.py -> build/lib/setuptools/command copying setuptools/command/build_ext.py -> build/lib/setuptools/command copying setuptools/command/setopt.py -> build/lib/setuptools/command copying setuptools/command/build_py.py -> build/lib/setuptools/command copying setuptools/command/rotate.py -> build/lib/setuptools/command copying setuptools/command/dist_info.py -> build/lib/setuptools/command copying setuptools/command/_requirestxt.py -> build/lib/setuptools/command copying setuptools/command/egg_info.py -> build/lib/setuptools/command copying setuptools/command/upload_docs.py -> build/lib/setuptools/command creating build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_lib.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/register.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/clean.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_headers.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/check.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_scripts.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_clib.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist_rpm.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_egg_info.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/__init__.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist_dumb.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_scripts.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/config.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/_framework_compat.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/upload.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/sdist.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_ext.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/py37compat.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_py.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_data.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.4, pluggy-1.4.0 rootdir: /build/python-setuptools/src/setuptools configfile: pytest.ini plugins: mypy-0.10.3, enabler-3.0.0, timeout-2.2.0 collected 1195 items / 32 deselected / 1163 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 X [ 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%] ........................................................................ [ 31%] ................E.. [ 33%] setuptools/tests/test_build_py.py ....x............ [ 35%] setuptools/tests/test_config_discovery.py ...........FFFFFFFFF.......... [ 37%] ......................................FFF...FFFFFF... [ 42%] setuptools/tests/test_core_metadata.py ..........x...x............... [ 44%] setuptools/tests/test_depends.py . [ 44%] setuptools/tests/test_develop.py s.... [ 45%] setuptools/tests/test_dist.py ........................... [ 47%] setuptools/tests/test_dist_info.py ..................................... [ 50%] . [ 50%] setuptools/tests/test_distutils_adoption.py EEEE.EEEEEEEE [ 52%] setuptools/tests/test_easy_install.py .................................. [ 54%] .............. [ 56%] setuptools/tests/test_editable_install.py EEEEEEEE.EEEEEEE..........EEEE [ 58%] EEEE.EEEEE.... [ 59%] setuptools/tests/test_egg_info.py ..........................x........... [ 63%] ..................................... [ 66%] setuptools/tests/test_extern.py ... [ 66%] setuptools/tests/test_find_packages.py ................... [ 68%] setuptools/tests/test_find_py_modules.py ......... [ 69%] setuptools/tests/test_glob.py .... [ 69%] setuptools/tests/test_install_scripts.py .s.s [ 69%] setuptools/tests/test_integration.py .X.x. [ 70%] 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 sssssssss [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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 1112ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Downloading platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Downloading jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Downloading more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Downloading ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Downloading validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Downloading jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Downloading jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Downloading autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Downloading inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Downloading fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Downloading pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.0/84.0 kB 77.7 kB/s eta 0:00:00 Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Downloading typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Downloading pydantic_core-2.16.3.tar.gz (368 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 368.9/368.9 kB 238.7 kB/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 ╰─> [66 lines of output] Collecting maturin<2,>=1 Downloading maturin-1.4.0.tar.gz (177 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.0/178.0 kB 122.6 kB/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.9.0-py3-none-any.whl.metadata (3.0 kB) Downloading typing_extensions-4.9.0-py3-none-any.whl (32 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-iwmeki7x/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 538ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-49k8i4w7/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 537ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-n6qho6q3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 540ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-twjtr076/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 533ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-jguplyk1/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 541ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-5zi52drf/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 528ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-0i70zw8i/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 537ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-xig20t_x/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 536ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-_m710xpg/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 537ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-hk6wzx7e/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 530ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-9xvd0i44/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 531ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-xw6t923d/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 533ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-mlzltjb8/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 543ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-mroq42p2/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 545ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-atp81ilk/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 533ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-v0ut01pj/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 524ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-_0115xmb/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 540ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-qk2i34g8/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 536ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-pl9g1kwp/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 531ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-_f7479ox/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 537ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-f2_g8fjl/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip _ ERROR at setup of TestLegacyNamespaces.test_namespace_package_importable[strict-myns.n-pkg_resources] _ 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 532ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-rsk69evw/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip _ ERROR at setup of TestLegacyNamespaces.test_namespace_package_importable[lenient-myns.n-pkg_resources] _ 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 530ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-y6bvd5yu/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 544ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-8el0yx9g/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 528ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-jyo9m2mr/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 532ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-1chw12s7/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 543ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-gv7_68nj/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 530ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-_qpi07sc/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 539ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-vtjo389n/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 538ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-4ui4n9aj/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 535ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-u8ithowp/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 538ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-gwhym_9u/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 521ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-11s58f_i/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 538ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-ro3w1ha3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 721ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-8kvz3tar/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 964ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-2yygv06m/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 538ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-3xzjq5tz/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 536ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-6r0gr6cx/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 529ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-w10xu1o1/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 529ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-njbzn9fo/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade 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-69.0.3-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:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-69.0.3-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.1.1-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-69.0.3-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-69.0.3-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 529ms 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.42.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-69.0.3-py3-none-any.whl Collecting platformdirs (from setuptools==69.0.3) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting jaraco.text (from setuptools==69.0.3) Using cached jaraco.text-3.12.0-py3-none-any.whl.metadata (4.0 kB) Collecting more-itertools (from setuptools==69.0.3) Using cached more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB) Collecting ordered-set (from setuptools==69.0.3) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting packaging (from setuptools==69.0.3) Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting tomli (from setuptools==69.0.3) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Collecting validate-pyproject (from setuptools==69.0.3) Using cached validate_pyproject-0.16-py3-none-any.whl.metadata (9.1 kB) Collecting jaraco.functools (from jaraco.text->setuptools==69.0.3) Using cached jaraco.functools-4.0.0-py3-none-any.whl.metadata (3.1 kB) Collecting jaraco.context>=4.1 (from jaraco.text->setuptools==69.0.3) Using cached jaraco.context-4.3.0-py3-none-any.whl.metadata (3.0 kB) Collecting autocommand (from jaraco.text->setuptools==69.0.3) Using cached autocommand-2.2.2-py3-none-any.whl.metadata (15 kB) Collecting inflect (from jaraco.text->setuptools==69.0.3) Using cached inflect-7.0.0-py3-none-any.whl.metadata (21 kB) Collecting fastjsonschema<=3,>=2.16.2 (from validate-pyproject->setuptools==69.0.3) Using cached fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting pydantic>=1.9.1 (from inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic-2.6.2-py3-none-any.whl.metadata (83 kB) Collecting typing-extensions (from inflect->jaraco.text->setuptools==69.0.3) Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting annotated-types>=0.4.0 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.16.3 (from pydantic>=1.9.1->inflect->jaraco.text->setuptools==69.0.3) Using cached pydantic_core-2.16.3.tar.gz (368 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 ╰─> [65 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.4.0.tar.gz (177 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.9.0-py3-none-any.whl.metadata (3.0 kB) Using cached typing_extensions-4.9.0-py3-none-any.whl (32 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-v13skpuc/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: 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 [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip [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. [notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip =================================== FAILURES =================================== _________ TestDiscoverPackagesAndPyModules.test_project[explicit-src] __________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_explicit_src_0') circumstance = 'explicit-src' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_src_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_src_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ setup.cfg ~~~~~ [options] package_dir = = src packages = pkg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_src_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating src/pkg.egg-info writing src/pkg.egg-info/PKG-INFO writing dependency_links to src/pkg.egg-info/dependency_links.txt writing top-level names to src/pkg.egg-info/top_level.txt writing manifest file 'src/pkg.egg-info/SOURCES.txt' reading manifest file 'src/pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 _________ TestDiscoverPackagesAndPyModules.test_project[variation-lib] _________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_variation_lib_0') circumstance = 'variation-lib' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_variation_lib_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_variation_lib_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ setup.cfg ~~~~~ [options] package_dir = = lib ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_variation_lib_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating lib/pkg.egg-info writing lib/pkg.egg-info/PKG-INFO writing dependency_links to lib/pkg.egg-info/dependency_links.txt writing top-level names to lib/pkg.egg-info/top_level.txt writing manifest file 'lib/pkg.egg-info/SOURCES.txt' reading manifest file 'lib/pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'lib/pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 _________ TestDiscoverPackagesAndPyModules.test_project[explicit-flat] _________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_explicit_flat_0') circumstance = 'explicit-flat' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_flat_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_flat_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ setup.cfg ~~~~~ [options] packages = pkg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_flat_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating pkg.egg-info writing pkg.egg-info/PKG-INFO writing dependency_links to pkg.egg-info/dependency_links.txt writing top-level names to pkg.egg-info/top_level.txt writing manifest file 'pkg.egg-info/SOURCES.txt' reading manifest file 'pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ____ TestDiscoverPackagesAndPyModules.test_project[explicit-single_module] _____ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_explicit_single_m0') circumstance = 'explicit-single_module' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_single_m0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_single_m0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ setup.cfg ~~~~~ [options] py_modules = pkg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_single_m0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating pkg.egg-info writing pkg.egg-info/PKG-INFO writing dependency_links to pkg.egg-info/dependency_links.txt writing top-level names to pkg.egg-info/top_level.txt writing manifest file 'pkg.egg-info/SOURCES.txt' reading manifest file 'pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ______ TestDiscoverPackagesAndPyModules.test_project[explicit-namespace] _______ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_explicit_namespac0') circumstance = 'explicit-namespace' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_namespac0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_namespac0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ setup.cfg ~~~~~ [options] packages = ns, ns.pkg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_explicit_namespac0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating ns.pkg.egg-info writing ns.pkg.egg-info/PKG-INFO writing dependency_links to ns.pkg.egg-info/dependency_links.txt writing top-level names to ns.pkg.egg-info/top_level.txt writing manifest file 'ns.pkg.egg-info/SOURCES.txt' reading manifest file 'ns.pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'ns.pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 _________ TestDiscoverPackagesAndPyModules.test_project[automatic-src] _________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_automatic_src_0') circumstance = 'automatic-src' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_src_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_src_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_src_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating src/pkg.egg-info writing src/pkg.egg-info/PKG-INFO writing dependency_links to src/pkg.egg-info/dependency_links.txt writing top-level names to src/pkg.egg-info/top_level.txt writing manifest file 'src/pkg.egg-info/SOURCES.txt' reading manifest file 'src/pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ________ TestDiscoverPackagesAndPyModules.test_project[automatic-flat] _________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_automatic_flat_0') circumstance = 'automatic-flat' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_flat_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_flat_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_flat_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating pkg.egg-info writing pkg.egg-info/PKG-INFO writing dependency_links to pkg.egg-info/dependency_links.txt writing top-level names to pkg.egg-info/top_level.txt writing manifest file 'pkg.egg-info/SOURCES.txt' reading manifest file 'pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ____ TestDiscoverPackagesAndPyModules.test_project[automatic-single_module] ____ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_automatic_single_0') circumstance = 'automatic-single_module' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_single_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_single_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_single_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating pkg.egg-info writing pkg.egg-info/PKG-INFO writing dependency_links to pkg.egg-info/dependency_links.txt writing top-level names to pkg.egg-info/top_level.txt writing manifest file 'pkg.egg-info/SOURCES.txt' reading manifest file 'pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ______ TestDiscoverPackagesAndPyModules.test_project[automatic-namespace] ______ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_project_automatic_namespa0') circumstance = 'automatic-namespace' @pytest.mark.parametrize("circumstance", OPTIONS.keys()) def test_project(self, tmp_path, circumstance): files, options = self._get_info(circumstance) _populate_project_dir(tmp_path, files, options) # Simulate a pre-existing `build` directory (tmp_path / "build").mkdir() (tmp_path / "build/lib").mkdir() (tmp_path / "build/bdist.linux-x86_64").mkdir() (tmp_path / "build/bdist.linux-x86_64/file.py").touch() (tmp_path / "build/lib/__init__.py").touch() (tmp_path / "build/lib/file.py").touch() (tmp_path / "dist").mkdir() (tmp_path / "dist/file.py").touch() > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_namespa0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_namespa0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_project_automatic_namespa0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating ns.pkg.egg-info writing ns.pkg.egg-info/PKG-INFO writing dependency_links to ns.pkg.egg-info/dependency_links.txt writing top-level names to ns.pkg.egg-info/top_level.txt writing manifest file 'ns.pkg.egg-info/SOURCES.txt' reading manifest file 'ns.pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'ns.pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 _________________ TestNoConfig.test_build_with_discovered_name _________________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_build_with_discovered_nam0') def test_build_with_discovered_name(self, tmp_path): files = ["src/ns/nested/pkg/__init__.py"] _populate_project_dir(tmp_path, files, {}) > _run_build(tmp_path, "--sdist") setuptools/tests/test_config_discovery.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_build_with_discovered_nam0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_build_with_discovered_nam0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_build_with_discovered_nam0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating src/ns.nested.pkg.egg-info writing src/ns.nested.pkg.egg-info/PKG-INFO writing dependency_links to src/ns.nested.pkg.egg-info/dependency_links.txt writing top-level names to src/ns.nested.pkg.egg-info/top_level.txt writing manifest file 'src/ns.nested.pkg.egg-info/SOURCES.txt' reading manifest file 'src/ns.nested.pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/ns.nested.pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ___________ TestWithAttrDirective.test_setupcfg_metadata[src-opts0] ____________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_src_opt0') folder = 'src', opts = {} @pytest.mark.parametrize( "folder, opts", [ ("src", {}), ("lib", {"packages": "find:", "packages.find": {"where": "lib"}}), ], ) def test_setupcfg_metadata(self, tmp_path, folder, opts): files = [f"{folder}/pkg/__init__.py", "setup.cfg"] _populate_project_dir(tmp_path, files, opts) (tmp_path / folder / "pkg/__init__.py").write_text("version = 42") (tmp_path / "setup.cfg").write_text( "[metadata]\nversion = attr: pkg.version\n" + (tmp_path / "setup.cfg").read_text() ) dist = _get_dist(tmp_path, {}) assert dist.get_name() == "pkg" assert dist.get_version() == "42" assert dist.package_dir package_path = find_package_path("pkg", dist.package_dir, tmp_path) assert os.path.exists(package_path) assert folder in _Path(package_path).parts() > _run_build(tmp_path, "--sdist") setuptools/tests/test_config_discovery.py:309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_src_opt0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_src_opt0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_src_opt0'] return code: 1 * Getting build dependencies for sdist... No `name` configuration, performing automatic discovery No `packages` or `py_modules` configuration, performing automatic discovery. `src-layout` detected -- analysing ./src discovered packages -- ['pkg'] discovered py_modules -- [] No `name` configuration, performing automatic discovery Single module/package detected, name: pkg running egg_info creating src/pkg.egg-info writing src/pkg.egg-info/PKG-INFO writing dependency_links to src/pkg.egg-info/dependency_links.txt writing top-level names to src/pkg.egg-info/top_level.txt writing manifest file 'src/pkg.egg-info/SOURCES.txt' reading manifest file 'src/pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ___________ TestWithAttrDirective.test_setupcfg_metadata[lib-opts1] ____________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_lib_opt0') folder = 'lib', opts = {'packages': 'find:', 'packages.find': {'where': 'lib'}} @pytest.mark.parametrize( "folder, opts", [ ("src", {}), ("lib", {"packages": "find:", "packages.find": {"where": "lib"}}), ], ) def test_setupcfg_metadata(self, tmp_path, folder, opts): files = [f"{folder}/pkg/__init__.py", "setup.cfg"] _populate_project_dir(tmp_path, files, opts) (tmp_path / folder / "pkg/__init__.py").write_text("version = 42") (tmp_path / "setup.cfg").write_text( "[metadata]\nversion = attr: pkg.version\n" + (tmp_path / "setup.cfg").read_text() ) dist = _get_dist(tmp_path, {}) assert dist.get_name() == "pkg" assert dist.get_version() == "42" assert dist.package_dir package_path = find_package_path("pkg", dist.package_dir, tmp_path) assert os.path.exists(package_path) assert folder in _Path(package_path).parts() > _run_build(tmp_path, "--sdist") setuptools/tests/test_config_discovery.py:309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_lib_opt0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_lib_opt0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ setup.cfg ~~~~~ [options] packages = find: [options.packages.find] where = lib ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '--sdist', '/tmp/pytest-of-builduser/pytest-0/test_setupcfg_metadata_lib_opt0'] return code: 1 * Getting build dependencies for sdist... No `name` configuration, performing automatic discovery Single module/package detected, name: pkg No `name` configuration, performing automatic discovery Single module/package detected, name: pkg running egg_info creating lib/pkg.egg-info writing lib/pkg.egg-info/PKG-INFO writing dependency_links to lib/pkg.egg-info/dependency_links.txt writing top-level names to lib/pkg.egg-info/top_level.txt writing manifest file 'lib/pkg.egg-info/SOURCES.txt' reading manifest file 'lib/pkg.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'lib/pkg.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ___________ TestWithPackageData.test_include_package_data[.-files0] ____________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi0') src_root = '.' files = {'setup.cfg': '[metadata]\nname = proj\nversion = 42\n\n[options]\ninclude_package_data = True\n'} @pytest.mark.parametrize( "src_root, files", [ (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ( "src", { "setup.cfg": DALS(EXAMPLE_SETUPCFG) + DALS( """ packages = find: package_dir = =src [options.packages.find] where = src """ ) }, ), ( "src", { "pyproject.toml": DALS(EXAMPLE_PYPROJECT) + DALS( """ [tool.setuptools] package-dir = {"" = "src"} """ ) }, ), ], ) def test_include_package_data(self, tmp_path, src_root, files): """ Make sure auto-discovery does not affect package include_package_data. See issue #3196. """ jaraco.path.build(files, prefix=str(tmp_path)) self._simulate_package_with_data_files(tmp_path, src_root) expected = { os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), } > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating proj.egg-info writing proj.egg-info/PKG-INFO writing dependency_links to proj.egg-info/dependency_links.txt writing top-level names to proj.egg-info/top_level.txt writing manifest file 'proj.egg-info/SOURCES.txt' reading manifest file 'proj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'proj.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 ___________ TestWithPackageData.test_include_package_data[.-files1] ____________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi1') src_root = '.' files = {'pyproject.toml': '[project]\nname = "proj"\nversion = "42"\n'} @pytest.mark.parametrize( "src_root, files", [ (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ( "src", { "setup.cfg": DALS(EXAMPLE_SETUPCFG) + DALS( """ packages = find: package_dir = =src [options.packages.find] where = src """ ) }, ), ( "src", { "pyproject.toml": DALS(EXAMPLE_PYPROJECT) + DALS( """ [tool.setuptools] package-dir = {"" = "src"} """ ) }, ), ], ) def test_include_package_data(self, tmp_path, src_root, files): """ Make sure auto-discovery does not affect package include_package_data. See issue #3196. """ jaraco.path.build(files, prefix=str(tmp_path)) self._simulate_package_with_data_files(tmp_path, src_root) expected = { os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), } > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi1'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi1']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data___fi1'] return code: 1 * Getting build dependencies for sdist... validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema running egg_info creating proj.egg-info writing proj.egg-info/PKG-INFO writing dependency_links to proj.egg-info/dependency_links.txt writing top-level names to proj.egg-info/top_level.txt writing manifest file 'proj.egg-info/SOURCES.txt' reading manifest file 'proj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'proj.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 __________ TestWithPackageData.test_include_package_data[src-files2] ___________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_0') src_root = 'src' files = {'setup.cfg': '[metadata]\nname = proj\nversion = 42\n\n[options]\ninclude_package_data = True\n'} @pytest.mark.parametrize( "src_root, files", [ (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ( "src", { "setup.cfg": DALS(EXAMPLE_SETUPCFG) + DALS( """ packages = find: package_dir = =src [options.packages.find] where = src """ ) }, ), ( "src", { "pyproject.toml": DALS(EXAMPLE_PYPROJECT) + DALS( """ [tool.setuptools] package-dir = {"" = "src"} """ ) }, ), ], ) def test_include_package_data(self, tmp_path, src_root, files): """ Make sure auto-discovery does not affect package include_package_data. See issue #3196. """ jaraco.path.build(files, prefix=str(tmp_path)) self._simulate_package_with_data_files(tmp_path, src_root) expected = { os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), } > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_0'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_0']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_0'] return code: 1 * Getting build dependencies for sdist... running egg_info creating src/proj.egg-info writing src/proj.egg-info/PKG-INFO writing dependency_links to src/proj.egg-info/dependency_links.txt writing top-level names to src/proj.egg-info/top_level.txt writing manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/proj.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 __________ TestWithPackageData.test_include_package_data[src-files3] ___________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_1') src_root = 'src' files = {'pyproject.toml': '[project]\nname = "proj"\nversion = "42"\n'} @pytest.mark.parametrize( "src_root, files", [ (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ( "src", { "setup.cfg": DALS(EXAMPLE_SETUPCFG) + DALS( """ packages = find: package_dir = =src [options.packages.find] where = src """ ) }, ), ( "src", { "pyproject.toml": DALS(EXAMPLE_PYPROJECT) + DALS( """ [tool.setuptools] package-dir = {"" = "src"} """ ) }, ), ], ) def test_include_package_data(self, tmp_path, src_root, files): """ Make sure auto-discovery does not affect package include_package_data. See issue #3196. """ jaraco.path.build(files, prefix=str(tmp_path)) self._simulate_package_with_data_files(tmp_path, src_root) expected = { os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), } > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_1'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_1']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_1'] return code: 1 * Getting build dependencies for sdist... validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema running egg_info creating src/proj.egg-info writing src/proj.egg-info/PKG-INFO writing dependency_links to src/proj.egg-info/dependency_links.txt writing top-level names to src/proj.egg-info/top_level.txt writing manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/proj.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 __________ TestWithPackageData.test_include_package_data[src-files4] ___________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_2') src_root = 'src' files = {'setup.cfg': '[metadata]\nname = proj\nversion = 42\n\n[options]\ninclude_package_data = True\npackages = find:\npackage_dir =\n =src\n\n[options.packages.find]\nwhere = src\n'} @pytest.mark.parametrize( "src_root, files", [ (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ( "src", { "setup.cfg": DALS(EXAMPLE_SETUPCFG) + DALS( """ packages = find: package_dir = =src [options.packages.find] where = src """ ) }, ), ( "src", { "pyproject.toml": DALS(EXAMPLE_PYPROJECT) + DALS( """ [tool.setuptools] package-dir = {"" = "src"} """ ) }, ), ], ) def test_include_package_data(self, tmp_path, src_root, files): """ Make sure auto-discovery does not affect package include_package_data. See issue #3196. """ jaraco.path.build(files, prefix=str(tmp_path)) self._simulate_package_with_data_files(tmp_path, src_root) expected = { os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), } > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_2'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_2']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_2'] return code: 1 * Getting build dependencies for sdist... running egg_info creating src/proj.egg-info writing src/proj.egg-info/PKG-INFO writing dependency_links to src/proj.egg-info/dependency_links.txt writing top-level names to src/proj.egg-info/top_level.txt writing manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/proj.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 __________ TestWithPackageData.test_include_package_data[src-files5] ___________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_3') src_root = 'src' files = {'pyproject.toml': '[project]\nname = "proj"\nversion = "42"\n[tool.setuptools]\npackage-dir = {"" = "src"}\n'} @pytest.mark.parametrize( "src_root, files", [ (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), ( "src", { "setup.cfg": DALS(EXAMPLE_SETUPCFG) + DALS( """ packages = find: package_dir = =src [options.packages.find] where = src """ ) }, ), ( "src", { "pyproject.toml": DALS(EXAMPLE_PYPROJECT) + DALS( """ [tool.setuptools] package-dir = {"" = "src"} """ ) }, ), ], ) def test_include_package_data(self, tmp_path, src_root, files): """ Make sure auto-discovery does not affect package include_package_data. See issue #3196. """ jaraco.path.build(files, prefix=str(tmp_path)) self._simulate_package_with_data_files(tmp_path, src_root) expected = { os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), } > _run_build(tmp_path) setuptools/tests/test_config_discovery.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ setuptools/tests/test_config_discovery.py:602: in _run_build return run(cmd, env={'DISTUTILS_DEBUG': ''}) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cmd = ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_3'] env = {'DISTUTILS_DEBUG': ''} def run(cmd, env=None): r = subprocess.run( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env={**os.environ, **(env or {})} # ^-- allow overwriting instead of discarding the current env ) out = r.stdout + "\n" + r.stderr # pytest omits stdout/err by default, if the test fails they help debugging print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") if r.returncode == 0: return out > raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) E subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_3']' returned non-zero exit status 1. setuptools/tests/integration/helpers.py:31: CalledProcessError ----------------------------- Captured stdout call ----------------------------- ~~~~~ **NO** setup.cfg ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Command: ['/usr/bin/python', '-m', 'build', '--no-isolation', '/tmp/pytest-of-builduser/pytest-0/test_include_package_data_src_3'] return code: 1 * Getting build dependencies for sdist... validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema running egg_info creating src/proj.egg-info writing src/proj.egg-info/PKG-INFO writing dependency_links to src/proj.egg-info/dependency_links.txt writing top-level names to src/proj.egg-info/top_level.txt writing manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest file 'src/proj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/proj.egg-info/SOURCES.txt' ERROR Missing dependencies: setuptools>=40.8.0 jaraco.text -> inflect -> pydantic>=1.9.1 -> pydantic-core==2.16.2 =========================== 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:49: Windows only SKIPPED [1] setuptools/tests/test_install_scripts.py:77: Windows only 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 [9] setuptools/tests/integration/test_pip_install_sdist.py:121: 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_core_metadata.py::test_read_metadata[Metadata Version 1.2: Project-Url-attrs5] - Issue #1578: project_urls not read XFAIL setuptools/tests/test_core_metadata.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/test_integration.py::test_python_novaclient 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 XPASS setuptools/tests/test_bdist_deprecations.py::test_bdist_rpm_warning bdist_rpm is long deprecated, should we remove it? #1988 XPASS setuptools/tests/test_integration.py::test_virtualenvwrapper = 18 failed, 1070 passed, 24 skipped, 32 deselected, 7 xfailed, 3 xpassed, 41 errors in 2102.33s (0:35:02) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root19/build [?25h[?25hreceiving incremental file list python-setuptools-1:69.0.3-4-riscv64-build.log python-setuptools-1:69.0.3-4-riscv64-check.log python-setuptools-1:69.0.3-4-riscv64-prepare.log sent 81 bytes received 16,082 bytes 32,326.00 bytes/sec total size is 537,991 speedup is 33.29