==> Building on shinx ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,400 35% 0.00kB/s 0:00:00 3,958 100% 2.44MB/s 0:00:00 (xfr#1, to-chk=3/5) add-dependency.patch 367 100% 358.40kB/s 0:00:00 367 100% 358.40kB/s 0:00:00 (xfr#2, to-chk=2/5) python-setuptools-1:68.0.0-1.log 447 100% 436.52kB/s 0:00:00 447 100% 436.52kB/s 0:00:00 (xfr#3, to-chk=1/5) system-validate-pyproject.patch 700 46% 683.59kB/s 0:00:00 1,502 100% 1.43MB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,550 bytes received 155 bytes 1,136.67 bytes/sec total size is 6,019 speedup is 3.53 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root31 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)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root31]...done ==> Making package: python-setuptools 1:68.0.0-1 (Thu Jul 13 08:41:39 2023) ==> Retrieving sources...  -> Updating setuptools git repo... From https://github.com/pypa/setuptools - [deleted] (none) -> bugfix/3525-error - [deleted] (none) -> refs/pull/3128/merge - [deleted] (none) -> refs/pull/3161/merge - [deleted] (none) -> refs/pull/3405/merge - [deleted] (none) -> refs/pull/3531/merge - [deleted] (none) -> refs/pull/3760/merge - [deleted] (none) -> refs/pull/3833/merge - [deleted] (none) -> refs/pull/3849/merge - [deleted] (none) -> refs/pull/3859/merge - [deleted] (none) -> refs/pull/3861/merge - [deleted] (none) -> refs/pull/3865/merge remote: Enumerating objects: 1508, done. remote: Counting objects: 0% (1/1426) remote: Counting objects: 1% (15/1426) remote: Counting objects: 2% (29/1426) remote: Counting objects: 3% (43/1426) remote: Counting objects: 4% (58/1426) remote: Counting objects: 5% (72/1426) remote: Counting objects: 6% (86/1426) remote: Counting objects: 7% (100/1426) remote: Counting objects: 8% (115/1426) remote: Counting objects: 9% (129/1426) remote: Counting objects: 10% (143/1426) remote: Counting objects: 11% (157/1426) remote: Counting objects: 12% (172/1426) remote: Counting objects: 13% (186/1426) remote: Counting objects: 14% (200/1426) remote: Counting objects: 15% (214/1426) remote: Counting objects: 16% (229/1426) remote: Counting objects: 17% (243/1426) remote: Counting objects: 18% (257/1426) remote: Counting objects: 19% (271/1426) remote: Counting objects: 20% (286/1426) remote: Counting objects: 21% (300/1426) remote: Counting objects: 22% (314/1426) remote: Counting objects: 23% (328/1426) remote: Counting objects: 24% (343/1426) remote: Counting objects: 25% (357/1426) remote: Counting objects: 26% (371/1426) remote: Counting objects: 27% (386/1426) remote: Counting objects: 28% (400/1426) remote: Counting objects: 29% (414/1426) remote: Counting objects: 30% (428/1426) remote: Counting objects: 31% (443/1426) remote: Counting objects: 32% (457/1426) remote: Counting objects: 33% (471/1426) remote: Counting objects: 34% (485/1426) remote: Counting objects: 35% (500/1426) remote: Counting objects: 36% (514/1426) remote: Counting objects: 37% (528/1426) remote: Counting objects: 38% (542/1426) remote: Counting objects: 39% (557/1426) remote: Counting objects: 40% (571/1426) remote: Counting objects: 41% (585/1426) remote: Counting objects: 42% (599/1426) remote: Counting objects: 43% (614/1426) remote: Counting objects: 44% (628/1426) remote: Counting objects: 45% (642/1426) remote: Counting objects: 46% (656/1426) remote: Counting objects: 47% (671/1426) remote: Counting objects: 48% (685/1426) remote: Counting objects: 49% (699/1426) remote: Counting objects: 50% (713/1426) remote: Counting objects: 51% (728/1426) remote: Counting objects: 52% (742/1426) remote: Counting objects: 53% (756/1426) remote: Counting objects: 54% (771/1426) remote: Counting objects: 55% (785/1426) remote: Counting objects: 56% (799/1426) remote: Counting objects: 57% (813/1426) remote: Counting objects: 58% (828/1426) remote: Counting objects: 59% (842/1426) remote: Counting objects: 60% (856/1426) remote: Counting objects: 61% (870/1426) remote: Counting objects: 62% (885/1426) remote: Counting objects: 63% (899/1426) remote: Counting objects: 64% (913/1426) remote: Counting objects: 65% (927/1426) remote: Counting objects: 66% (942/1426) remote: Counting objects: 67% (956/1426) remote: Counting objects: 68% (970/1426) remote: Counting objects: 69% (984/1426) remote: Counting objects: 70% (999/1426) remote: Counting objects: 71% (1013/1426) remote: Counting objects: 72% (1027/1426) remote: Counting objects: 73% (1041/1426) remote: Counting objects: 74% (1056/1426) remote: Counting objects: 75% (1070/1426) remote: Counting objects: 76% (1084/1426) remote: Counting objects: 77% (1099/1426) remote: Counting objects: 78% (1113/1426) remote: Counting objects: 79% (1127/1426) remote: Counting objects: 80% (1141/1426) remote: Counting objects: 81% (1156/1426) remote: Counting objects: 82% (1170/1426) remote: Counting objects: 83% (1184/1426) remote: Counting objects: 84% (1198/1426) remote: Counting objects: 85% (1213/1426) remote: Counting objects: 86% (1227/1426) remote: Counting objects: 87% (1241/1426) remote: Counting objects: 88% (1255/1426) remote: Counting objects: 89% (1270/1426) remote: Counting objects: 90% (1284/1426) remote: Counting objects: 91% (1298/1426) remote: Counting objects: 92% (1312/1426) remote: Counting objects: 93% (1327/1426) remote: Counting objects: 94% (1341/1426) remote: Counting objects: 95% (1355/1426) remote: Counting objects: 96% (1369/1426) remote: Counting objects: 97% (1384/1426) remote: Counting objects: 98% (1398/1426) remote: Counting objects: 99% (1412/1426) remote: Counting objects: 100% (1426/1426) remote: Counting objects: 100% (1426/1426), done. remote: Compressing objects: 0% (1/529) remote: Compressing objects: 1% (6/529) remote: Compressing objects: 2% (11/529) remote: Compressing objects: 3% (16/529) remote: Compressing objects: 4% (22/529) remote: Compressing objects: 5% (27/529) remote: Compressing objects: 6% (32/529) remote: Compressing objects: 7% (38/529) remote: Compressing objects: 8% (43/529) remote: Compressing objects: 9% (48/529) remote: Compressing objects: 10% (53/529) remote: Compressing objects: 11% (59/529) remote: Compressing objects: 12% (64/529) remote: Compressing objects: 13% (69/529) remote: Compressing objects: 14% (75/529) remote: Compressing objects: 15% (80/529) remote: Compressing objects: 16% (85/529) remote: Compressing objects: 17% (90/529) remote: Compressing objects: 18% (96/529) remote: Compressing objects: 19% (101/529) remote: Compressing objects: 20% (106/529) remote: Compressing objects: 21% (112/529) remote: Compressing objects: 22% (117/529) remote: Compressing objects: 23% (122/529) remote: Compressing objects: 24% (127/529) remote: Compressing objects: 25% (133/529) remote: Compressing objects: 26% (138/529) remote: Compressing objects: 27% (143/529) remote: Compressing objects: 28% (149/529) remote: Compressing objects: 29% (154/529) remote: Compressing objects: 30% (159/529) remote: Compressing objects: 31% (164/529) remote: Compressing objects: 32% (170/529) remote: Compressing objects: 33% (175/529) remote: Compressing objects: 34% (180/529) remote: Compressing objects: 35% (186/529) remote: Compressing objects: 36% (191/529) remote: Compressing objects: 37% (196/529) remote: Compressing objects: 38% (202/529) remote: Compressing objects: 39% (207/529) remote: Compressing objects: 40% (212/529) remote: Compressing objects: 41% (217/529) remote: Compressing objects: 42% (223/529) remote: Compressing objects: 43% (228/529) remote: Compressing objects: 44% (233/529) remote: Compressing objects: 45% (239/529) remote: Compressing objects: 46% (244/529) remote: Compressing objects: 47% (249/529) remote: Compressing objects: 48% (254/529) remote: Compressing objects: 49% (260/529) remote: Compressing objects: 50% (265/529) remote: Compressing objects: 51% (270/529) remote: Compressing objects: 52% (276/529) remote: Compressing objects: 53% (281/529) remote: Compressing objects: 54% (286/529) remote: Compressing objects: 55% (291/529) remote: Compressing objects: 56% (297/529) remote: Compressing objects: 57% (302/529) remote: Compressing objects: 58% (307/529) remote: Compressing objects: 59% (313/529) remote: Compressing objects: 60% (318/529) remote: Compressing objects: 61% (323/529) remote: Compressing objects: 62% (328/529) remote: Compressing objects: 63% (334/529) remote: Compressing objects: 64% (339/529) remote: Compressing objects: 65% (344/529) remote: Compressing objects: 66% (350/529) remote: Compressing objects: 67% (355/529) remote: Compressing objects: 68% (360/529) remote: Compressing objects: 69% (366/529) remote: Compressing objects: 70% (371/529) remote: Compressing objects: 71% (376/529) remote: Compressing objects: 72% (381/529) remote: Compressing objects: 73% (387/529) remote: Compressing objects: 74% (392/529) remote: Compressing objects: 75% (397/529) remote: Compressing objects: 76% (403/529) remote: Compressing objects: 77% (408/529) remote: Compressing objects: 78% (413/529) remote: Compressing objects: 79% (418/529) remote: Compressing objects: 80% (424/529) remote: Compressing objects: 81% (429/529) remote: Compressing objects: 82% (434/529) remote: Compressing objects: 83% (440/529) remote: Compressing objects: 84% (445/529) remote: Compressing objects: 85% (450/529) remote: Compressing objects: 86% (455/529) remote: Compressing objects: 87% (461/529) remote: Compressing objects: 88% (466/529) remote: Compressing objects: 89% (471/529) remote: Compressing objects: 90% (477/529) remote: Compressing objects: 91% (482/529) remote: Compressing objects: 92% (487/529) remote: Compressing objects: 93% (492/529) remote: Compressing objects: 94% (498/529) remote: Compressing objects: 95% (503/529) remote: Compressing objects: 96% (508/529) remote: Compressing objects: 97% (514/529) remote: Compressing objects: 98% (519/529) remote: Compressing objects: 99% (524/529) remote: Compressing objects: 100% (529/529) remote: Compressing objects: 100% (529/529), done. Receiving objects: 0% (1/1508) Receiving objects: 1% (16/1508) Receiving objects: 2% (31/1508) Receiving objects: 3% (46/1508) Receiving objects: 4% (61/1508) Receiving objects: 5% (76/1508) Receiving objects: 6% (91/1508) Receiving objects: 7% (106/1508) Receiving objects: 8% (121/1508) Receiving objects: 9% (136/1508) Receiving objects: 10% (151/1508) Receiving objects: 11% (166/1508) Receiving objects: 12% (181/1508) Receiving objects: 13% (197/1508) Receiving objects: 14% (212/1508) Receiving objects: 15% (227/1508) Receiving objects: 16% (242/1508) Receiving objects: 17% (257/1508) Receiving objects: 18% (272/1508) Receiving objects: 19% (287/1508) Receiving objects: 20% (302/1508) Receiving objects: 21% (317/1508) Receiving objects: 22% (332/1508) Receiving objects: 23% (347/1508) Receiving objects: 24% (362/1508) Receiving objects: 25% (377/1508) Receiving objects: 26% (393/1508) Receiving objects: 27% (408/1508) Receiving objects: 28% (423/1508) Receiving objects: 29% (438/1508) Receiving objects: 30% (453/1508) Receiving objects: 31% (468/1508) Receiving objects: 32% (483/1508) Receiving objects: 33% (498/1508) Receiving objects: 34% (513/1508) Receiving objects: 35% (528/1508) Receiving objects: 36% (543/1508) Receiving objects: 37% (558/1508) Receiving objects: 38% (574/1508) Receiving objects: 39% (589/1508) Receiving objects: 40% (604/1508) Receiving objects: 41% (619/1508) Receiving objects: 42% (634/1508) Receiving objects: 43% (649/1508) Receiving objects: 44% (664/1508) Receiving objects: 45% (679/1508) Receiving objects: 46% (694/1508) Receiving objects: 47% (709/1508) Receiving objects: 48% (724/1508) Receiving objects: 49% (739/1508) Receiving objects: 50% (754/1508) Receiving objects: 51% (770/1508) Receiving objects: 52% (785/1508) Receiving objects: 53% (800/1508) Receiving objects: 54% (815/1508) Receiving objects: 55% (830/1508) Receiving objects: 56% (845/1508) Receiving objects: 57% (860/1508) Receiving objects: 58% (875/1508) Receiving objects: 59% (890/1508) Receiving objects: 60% (905/1508) Receiving objects: 61% (920/1508) Receiving objects: 62% (935/1508) Receiving objects: 63% (951/1508) Receiving objects: 64% (966/1508) Receiving objects: 65% (981/1508) Receiving objects: 66% (996/1508) Receiving objects: 67% (1011/1508) Receiving objects: 68% (1026/1508) Receiving objects: 69% (1041/1508) Receiving objects: 70% (1056/1508) Receiving objects: 71% (1071/1508) Receiving objects: 72% (1086/1508) Receiving objects: 73% (1101/1508) Receiving objects: 74% (1116/1508) Receiving objects: 75% (1131/1508) Receiving objects: 76% (1147/1508) Receiving objects: 77% (1162/1508) Receiving objects: 78% (1177/1508) Receiving objects: 79% (1192/1508) Receiving objects: 80% (1207/1508) Receiving objects: 81% (1222/1508) Receiving objects: 82% (1237/1508) Receiving objects: 83% (1252/1508) Receiving objects: 84% (1267/1508) Receiving objects: 85% (1282/1508) Receiving objects: 86% (1297/1508) Receiving objects: 87% (1312/1508) Receiving objects: 88% (1328/1508) Receiving objects: 89% (1343/1508) remote: Total 1508 (delta 904), reused 1297 (delta 870), pack-reused 82 Receiving objects: 90% (1358/1508) Receiving objects: 91% (1373/1508) Receiving objects: 92% (1388/1508) Receiving objects: 93% (1403/1508) Receiving objects: 94% (1418/1508) Receiving objects: 95% (1433/1508) Receiving objects: 96% (1448/1508) Receiving objects: 97% (1463/1508) Receiving objects: 98% (1478/1508) Receiving objects: 99% (1493/1508) Receiving objects: 100% (1508/1508) Receiving objects: 100% (1508/1508), 805.51 KiB | 12.99 MiB/s, done. Resolving deltas: 0% (0/945) Resolving deltas: 1% (10/945) Resolving deltas: 2% (19/945) Resolving deltas: 3% (31/945) Resolving deltas: 4% (39/945) Resolving deltas: 5% (48/945) Resolving deltas: 6% (58/945) Resolving deltas: 7% (67/945) Resolving deltas: 8% (76/945) Resolving deltas: 9% (87/945) Resolving deltas: 10% (98/945) Resolving deltas: 11% (106/945) Resolving deltas: 12% (114/945) Resolving deltas: 13% (123/945) Resolving deltas: 14% (133/945) Resolving deltas: 15% (142/945) Resolving deltas: 16% (152/945) Resolving deltas: 17% (161/945) Resolving deltas: 18% (171/945) Resolving deltas: 19% (180/945) Resolving deltas: 20% (189/945) Resolving deltas: 21% (199/945) Resolving deltas: 22% (209/945) Resolving deltas: 23% (218/945) Resolving deltas: 24% (229/945) Resolving deltas: 25% (239/945) Resolving deltas: 26% (246/945) Resolving deltas: 27% (256/945) Resolving deltas: 28% (267/945) Resolving deltas: 29% (275/945) Resolving deltas: 30% (284/945) Resolving deltas: 31% (293/945) Resolving deltas: 32% (303/945) Resolving deltas: 33% (313/945) Resolving deltas: 34% (323/945) Resolving deltas: 35% (334/945) Resolving deltas: 36% (341/945) Resolving deltas: 37% (351/945) Resolving deltas: 38% (360/945) Resolving deltas: 39% (369/945) Resolving deltas: 40% (379/945) Resolving deltas: 41% (388/945) Resolving deltas: 42% (397/945) Resolving deltas: 43% (407/945) Resolving deltas: 44% (416/945) Resolving deltas: 45% (427/945) Resolving deltas: 46% (435/945) Resolving deltas: 47% (445/945) Resolving deltas: 48% (454/945) Resolving deltas: 49% (464/945) Resolving deltas: 50% (474/945) Resolving deltas: 51% (482/945) Resolving deltas: 52% (492/945) Resolving deltas: 53% (501/945) Resolving deltas: 54% (511/945) Resolving deltas: 55% (520/945) Resolving deltas: 56% (530/945) Resolving deltas: 57% (539/945) Resolving deltas: 58% (550/945) Resolving deltas: 59% (559/945) Resolving deltas: 60% (567/945) Resolving deltas: 61% (577/945) Resolving deltas: 62% (586/945) Resolving deltas: 63% (596/945) Resolving deltas: 64% (607/945) Resolving deltas: 65% (616/945) Resolving deltas: 66% (624/945) Resolving deltas: 67% (634/945) Resolving deltas: 68% (643/945) Resolving deltas: 69% (654/945) Resolving deltas: 70% (662/945) Resolving deltas: 71% (671/945) Resolving deltas: 72% (681/945) Resolving deltas: 73% (690/945) Resolving deltas: 74% (701/945) Resolving deltas: 75% (709/945) Resolving deltas: 76% (719/945) Resolving deltas: 77% (728/945) Resolving deltas: 78% (738/945) Resolving deltas: 79% (747/945) Resolving deltas: 80% (756/945) Resolving deltas: 81% (766/945) Resolving deltas: 82% (775/945) Resolving deltas: 83% (785/945) Resolving deltas: 84% (794/945) Resolving deltas: 85% (804/945) Resolving deltas: 86% (813/945) Resolving deltas: 87% (823/945) Resolving deltas: 88% (832/945) Resolving deltas: 89% (842/945) Resolving deltas: 90% (851/945) Resolving deltas: 91% (860/945) Resolving deltas: 92% (870/945) Resolving deltas: 93% (879/945) Resolving deltas: 94% (889/945) Resolving deltas: 95% (898/945) Resolving deltas: 96% (908/945) Resolving deltas: 97% (917/945) Resolving deltas: 98% (927/945) Resolving deltas: 99% (936/945) Resolving deltas: 100% (945/945) Resolving deltas: 100% (945/945), completed with 107 local objects. * [new branch] debt/3810-EncodingWarnings -> debt/3810-EncodingWarnings 9116c7eb5..5564d6f8d debt/remove-easy-install -> debt/remove-easy-install * [new branch] dev/adopt_bdist_wheel -> dev/adopt_bdist_wheel * [new branch] dev/avoid_wheel_unstable_api -> dev/avoid_wheel_unstable_api * [new branch] dev/core_metadata -> dev/core_metadata * [new branch] dev/egg_info_requires -> dev/egg_info_requires * [new branch] dev/simplified_wheelbuilder -> dev/simplified_wheelbuilder * [new branch] dev/untangle_editable_wheel -> dev/untangle_editable_wheel be6c0218b..6083e18f4 main -> main + 7fe7f63c4...caf0b71df refs/pull/2899/merge -> refs/pull/2899/merge (forced update) 9116c7eb5..5564d6f8d refs/pull/2908/head -> refs/pull/2908/head + 389342743...5413e7e5b refs/pull/2908/merge -> refs/pull/2908/merge (forced update) d2de99246..b60b0079c refs/pull/3128/head -> refs/pull/3128/head be6c0218b..6083e18f4 refs/pull/3406/head -> refs/pull/3406/head + c78d7b10f...0e3c5bff0 refs/pull/3531/head -> refs/pull/3531/head (forced update) + 4d54ed7e9...10a92379e refs/pull/3577/merge -> refs/pull/3577/merge (forced update) + 0330edcb9...8017c2cca refs/pull/3579/merge -> refs/pull/3579/merge (forced update) 77b3ec585..50c6e32f1 refs/pull/3760/head -> refs/pull/3760/head 918a8262d..a752c1a5a refs/pull/3833/head -> refs/pull/3833/head + d4efbff88...42e093ade refs/pull/3852/merge -> refs/pull/3852/merge (forced update) + f297d42cb...1ba53bb50 refs/pull/3859/head -> refs/pull/3859/head (forced update) * [new ref] refs/pull/3875/head -> refs/pull/3875/head * [new ref] refs/pull/3884/head -> refs/pull/3884/head * [new ref] refs/pull/3885/head -> refs/pull/3885/head * [new ref] refs/pull/3885/merge -> refs/pull/3885/merge * [new ref] refs/pull/3893/head -> refs/pull/3893/head * [new ref] refs/pull/3897/head -> refs/pull/3897/head * [new ref] refs/pull/3900/head -> refs/pull/3900/head * [new ref] refs/pull/3902/head -> refs/pull/3902/head * [new ref] refs/pull/3903/head -> refs/pull/3903/head * [new ref] refs/pull/3903/merge -> refs/pull/3903/merge * [new ref] refs/pull/3904/head -> refs/pull/3904/head * [new ref] refs/pull/3904/merge -> refs/pull/3904/merge * [new ref] refs/pull/3905/head -> refs/pull/3905/head * [new ref] refs/pull/3905/merge -> refs/pull/3905/merge * [new ref] refs/pull/3906/head -> refs/pull/3906/head * [new ref] refs/pull/3906/merge -> refs/pull/3906/merge * [new ref] refs/pull/3907/head -> refs/pull/3907/head * [new ref] refs/pull/3907/merge -> refs/pull/3907/merge * [new ref] refs/pull/3908/head -> refs/pull/3908/head * [new ref] refs/pull/3908/merge -> refs/pull/3908/merge * [new ref] refs/pull/3910/head -> refs/pull/3910/head * [new ref] refs/pull/3913/head -> refs/pull/3913/head * [new ref] refs/pull/3915/head -> refs/pull/3915/head * [new ref] refs/pull/3917/head -> refs/pull/3917/head * [new ref] refs/pull/3919/head -> refs/pull/3919/head * [new ref] refs/pull/3920/head -> refs/pull/3920/head * [new ref] refs/pull/3923/head -> refs/pull/3923/head * [new ref] refs/pull/3926/head -> refs/pull/3926/head * [new ref] refs/pull/3931/head -> refs/pull/3931/head * [new ref] refs/pull/3932/head -> refs/pull/3932/head * [new ref] refs/pull/3948/head -> refs/pull/3948/head * [new ref] refs/pull/3949/head -> refs/pull/3949/head * [new ref] refs/pull/3950/head -> refs/pull/3950/head * [new ref] refs/pull/3951/head -> refs/pull/3951/head * [new ref] refs/pull/3952/head -> refs/pull/3952/head * [new ref] refs/pull/3953/head -> refs/pull/3953/head * [new ref] refs/pull/3955/head -> refs/pull/3955/head * [new ref] refs/pull/3957/head -> refs/pull/3957/head * [new ref] refs/pull/3960/head -> refs/pull/3960/head * [new ref] refs/pull/3962/head -> refs/pull/3962/head * [new ref] refs/pull/3962/merge -> refs/pull/3962/merge * [new ref] refs/pull/3963/head -> refs/pull/3963/head * [new ref] refs/pull/3965/head -> refs/pull/3965/head * [new ref] refs/pull/3970/head -> refs/pull/3970/head * [new ref] refs/pull/3975/head -> refs/pull/3975/head * [new ref] refs/pull/3975/merge -> refs/pull/3975/merge * [new ref] refs/pull/3976/head -> refs/pull/3976/head * [new ref] refs/pull/3976/merge -> refs/pull/3976/merge * [new ref] refs/pull/3979/head -> refs/pull/3979/head * [new ref] refs/pull/3979/merge -> refs/pull/3979/merge * [new ref] refs/pull/3980/head -> refs/pull/3980/head * [new ref] refs/pull/3980/merge -> refs/pull/3980/merge * [new tag] v67.6.1 -> v67.6.1 * [new tag] v67.7.0 -> v67.7.0 * [new tag] v67.7.1 -> v67.7.1 * [new tag] v67.7.2 -> v67.7.2 * [new tag] v67.8.0 -> v67.8.0 * [new tag] v68.0.0 -> v68.0.0  -> Found system-validate-pyproject.patch  -> Found add-dependency.patch ==> Validating source files with sha512sums... setuptools ... Skipped system-validate-pyproject.patch ... Passed add-dependency.patch ... Passed ==> Making package: python-setuptools 1:68.0.0-1 (Thu Jul 13 08:41:48 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (17) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-2 107.17 MiB extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.17.1-1 0.29 MiB extra/python-inflect 6.1.0-1 0.38 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.8.0-1 0.07 MiB extra/python-pydantic 1.10.9-1 6.57 MiB extra/python-trove-classifiers 2023.7.6-1 0.11 MiB extra/python-typing_extensions 4.7.0-1 0.37 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-platformdirs 3.8.1-1 0.21 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB Total Installed Size: 116.99 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 python-pip sqlite [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-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation 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 (69) New Version Net Change Download Size extra/mypy 1.3.0-1 20.11 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/python-attrs 22.2.0-3 0.55 MiB extra/python-babel 2.12.1-1 31.41 MiB extra/python-cachetools 5.3.1-1 0.14 MiB extra/python-cffi 1.15.1-3 1.39 MiB extra/python-chardet 5.1.0-3 3.02 MiB extra/python-colorama 0.4.6-2 0.27 MiB extra/python-configupdater 3.1.1-3 0.32 MiB 0.06 MiB extra/python-cryptography 41.0.1-2 54.95 MiB extra/python-distlib 0.3.6-3 1.39 MiB extra/python-docutils 1:0.20.1-1 5.72 MiB extra/python-execnet 1.9.0-6 0.46 MiB extra/python-filelock 3.12.0-2 0.07 MiB extra/python-idna 3.4-3 0.71 MiB extra/python-imagesize 1.4.1-4 0.05 MiB extra/python-importlib-metadata 5.0.0-5 0.20 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-jinja 1:3.1.2-4 1.82 MiB extra/python-markupsafe 2.1.3-1 0.08 MiB extra/python-mock 3.0.5-11 0.29 MiB extra/python-mypy_extensions 1.0.0-3 0.03 MiB extra/python-path 16.6.0-3 0.26 MiB extra/python-pbr 5.11.1-5 0.99 MiB extra/python-pluggy 1.0.0-4 0.13 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-psutil 5.9.5-1 3.35 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pygments 2.15.1-1 13.57 MiB extra/python-pyproject-api 1.5.3-1 0.13 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-pytest 7.4.0-1 4.01 MiB extra/python-pytest-shutil 1.7.0-9 0.11 MiB 0.03 MiB extra/python-pytz 2023.3-1 0.17 MiB extra/python-requests 2.28.2-4 0.61 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-snowballstemmer 2.2.0-5 2.82 MiB extra/python-sphinx-alabaster-theme 0.7.13-4 0.05 MiB extra/python-sphinxcontrib-applehelp 1.0.4-3 0.26 MiB extra/python-sphinxcontrib-devhelp 1.0.2-11 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.0.1-3 0.18 MiB extra/python-sphinxcontrib-jsmath 1.0.1-15 0.02 MiB extra/python-sphinxcontrib-qthelp 1.0.3-11 0.17 MiB extra/python-sphinxcontrib-serializinghtml 1.1.5-6 0.14 MiB extra/python-termcolor 2.3.0-1 0.03 MiB extra/python-toml 0.10.2-9 0.20 MiB extra/python-tomlkit 0.11.8-2 0.59 MiB extra/python-tox 4.5.1-1 1.68 MiB extra/python-urllib3 1.26.15-1 1.30 MiB extra/python-virtualenv 20.21.0-1 9.53 MiB extra/python-zipp 3.15.0-2 0.06 MiB extra/git 2.41.0-1 34.87 MiB extra/python-build 0.10.0-4 0.68 MiB extra/python-ini2toml 0.12-2 0.50 MiB 0.10 MiB extra/python-jaraco.envs 2.4.0-4 0.02 MiB extra/python-jaraco.path 3.6.0-1 0.05 MiB 0.02 MiB extra/python-pip 23.1.2-1 20.42 MiB extra/python-pip-run 9.2.1-3 0.09 MiB 0.03 MiB extra/python-pytest-enabler 2.1.1-1 0.02 MiB 0.01 MiB extra/python-pytest-fixture-config 1.7.0-9 0.01 MiB 0.01 MiB extra/python-pytest-mypy 0.10.3-4 0.05 MiB extra/python-pytest-timeout 2.1.0-2 0.07 MiB extra/python-pytest-virtualenv 1.7.0-9 0.03 MiB 0.01 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB extra/python-sphinx 7.0.1-1 17.57 MiB extra/python-tomli-w 1.0.0-6 0.04 MiB extra/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 0.26 MiB Total Installed Size: 245.48 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-ini2toml-0.12-2-any downloading... python-configupdater-3.1.1-3-any downloading... python-pytest-shutil-1.7.0-9-any downloading... python-pip-run-9.2.1-3-any downloading... python-jaraco.path-3.6.0-1-any downloading... python-pytest-virtualenv-1.7.0-9-any downloading... python-pytest-fixture-config-1.7.0-9-any downloading... python-pytest-enabler-2.1.1-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 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... installing python-cryptography... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-pip... installing python-pip-run... installing python-iniconfig... installing python-pytest... installing python-pytest-fixture-config... installing python-execnet... installing python-six... installing python-zipp... installing python-importlib-metadata... installing python-pbr... installing python-mock... installing python-termcolor... installing python-pytest-shutil... installing python-pytest-virtualenv... installing python-toml... 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-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support [installed] python-idna: security support [pending] python-pyopenssl: security support python-pysocks: SOCKS support installing python-idna... installing python-requests... Optional dependencies for python-requests 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 ==> 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 (offset 1 line). ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/_distutils_hack copying _distutils_hack/__init__.py -> build/lib/_distutils_hack copying _distutils_hack/override.py -> build/lib/_distutils_hack creating build/lib/pkg_resources copying pkg_resources/__init__.py -> build/lib/pkg_resources creating build/lib/setuptools copying setuptools/_itertools.py -> build/lib/setuptools copying setuptools/_normalization.py -> build/lib/setuptools copying setuptools/_path.py -> build/lib/setuptools copying setuptools/_reqs.py -> build/lib/setuptools copying setuptools/errors.py -> build/lib/setuptools copying setuptools/extension.py -> build/lib/setuptools copying setuptools/launch.py -> build/lib/setuptools copying setuptools/py312compat.py -> build/lib/setuptools copying setuptools/sandbox.py -> build/lib/setuptools copying setuptools/unicode_utils.py -> build/lib/setuptools copying setuptools/version.py -> build/lib/setuptools copying setuptools/__init__.py -> build/lib/setuptools copying setuptools/_entry_points.py -> build/lib/setuptools copying setuptools/_imp.py -> build/lib/setuptools copying setuptools/_importlib.py -> build/lib/setuptools copying setuptools/archive_util.py -> build/lib/setuptools copying setuptools/build_meta.py -> build/lib/setuptools copying setuptools/dep_util.py -> build/lib/setuptools copying setuptools/depends.py -> build/lib/setuptools copying setuptools/discovery.py -> build/lib/setuptools copying setuptools/dist.py -> build/lib/setuptools copying setuptools/glob.py -> build/lib/setuptools copying setuptools/installer.py -> build/lib/setuptools copying setuptools/logging.py -> build/lib/setuptools copying setuptools/monkey.py -> build/lib/setuptools copying setuptools/msvc.py -> build/lib/setuptools copying setuptools/namespaces.py -> build/lib/setuptools copying setuptools/package_index.py -> build/lib/setuptools copying setuptools/warnings.py -> build/lib/setuptools copying setuptools/wheel.py -> build/lib/setuptools copying setuptools/windows_support.py -> build/lib/setuptools creating build/lib/setuptools/_distutils copying setuptools/_distutils/__init__.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_collections.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_functools.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_log.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_macos_compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/_msvccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/archive_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/bcppcompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/ccompiler.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/core.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/cygwinccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/debug.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dep_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dir_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/dist.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/errors.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/extension.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/fancy_getopt.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/file_util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/filelist.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/py38compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/py39compat.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/spawn.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/sysconfig.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/text_file.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/unixccompiler.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/util.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/version.py -> build/lib/setuptools/_distutils copying setuptools/_distutils/versionpredicate.py -> build/lib/setuptools/_distutils creating build/lib/setuptools/command copying setuptools/command/__init__.py -> build/lib/setuptools/command copying setuptools/command/build.py -> build/lib/setuptools/command copying setuptools/command/register.py -> build/lib/setuptools/command copying setuptools/command/upload.py -> build/lib/setuptools/command copying setuptools/command/alias.py -> build/lib/setuptools/command copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command copying setuptools/command/build_clib.py -> build/lib/setuptools/command copying setuptools/command/build_ext.py -> build/lib/setuptools/command copying setuptools/command/build_py.py -> build/lib/setuptools/command copying setuptools/command/develop.py -> build/lib/setuptools/command copying setuptools/command/dist_info.py -> build/lib/setuptools/command copying setuptools/command/editable_wheel.py -> build/lib/setuptools/command copying setuptools/command/egg_info.py -> build/lib/setuptools/command copying setuptools/command/install.py -> build/lib/setuptools/command copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command copying setuptools/command/install_lib.py -> build/lib/setuptools/command copying setuptools/command/install_scripts.py -> build/lib/setuptools/command copying setuptools/command/rotate.py -> build/lib/setuptools/command copying setuptools/command/saveopts.py -> build/lib/setuptools/command copying setuptools/command/sdist.py -> build/lib/setuptools/command copying setuptools/command/setopt.py -> build/lib/setuptools/command copying setuptools/command/test.py -> build/lib/setuptools/command copying setuptools/command/upload_docs.py -> build/lib/setuptools/command copying setuptools/command/easy_install.py -> build/lib/setuptools/command creating build/lib/setuptools/config copying setuptools/config/__init__.py -> build/lib/setuptools/config copying setuptools/config/setupcfg.py -> build/lib/setuptools/config copying setuptools/config/_apply_pyprojecttoml.py -> build/lib/setuptools/config copying setuptools/config/expand.py -> build/lib/setuptools/config copying setuptools/config/pyprojecttoml.py -> build/lib/setuptools/config creating build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/__init__.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/_framework_compat.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist_dumb.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/bdist_rpm.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_clib.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_ext.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_py.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/build_scripts.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/check.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/clean.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/config.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_data.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_egg_info.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_headers.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_lib.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/install_scripts.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/py37compat.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/register.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/sdist.py -> build/lib/setuptools/_distutils/command copying setuptools/_distutils/command/upload.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.3, pytest-7.4.0, pluggy-1.0.0 rootdir: /build/python-setuptools/src/setuptools configfile: pytest.ini plugins: shutil-1.7.0, virtualenv-1.7.0, enabler-2.1.1, mypy-0.10.3, timeout-2.1.0 collected 1167 items / 32 deselected / 1135 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 . [ 13%] setuptools/_itertools.py . [ 13%] setuptools/_normalization.py .... [ 13%] setuptools/_path.py . [ 13%] setuptools/build_meta.py ..... [ 14%] 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 ... [ 15%] setuptools/command/install_lib.py . [ 15%] setuptools/config/_apply_pyprojecttoml.py .. [ 15%] setuptools/config/expand.py . [ 15%] setuptools/tests/test_archive_util.py X [ 15%] setuptools/tests/test_bdist_deprecations.py . [ 15%] setuptools/tests/test_bdist_egg.py .x [ 15%] setuptools/tests/test_build.py .. [ 15%] setuptools/tests/test_build_clib.py .. [ 16%] setuptools/tests/test_build_ext.py ........ [ 16%] setuptools/tests/test_build_meta.py .................................... [ 20%] ........................................................................ [ 26%] ........................................................................ [ 32%] ....................E [ 34%] setuptools/tests/test_build_py.py ....x.. [ 35%] setuptools/tests/test_config_discovery.py .............................. [ 37%] ..................................................... [ 42%] setuptools/tests/test_dep_util.py . [ 42%] setuptools/tests/test_depends.py . [ 42%] setuptools/tests/test_develop.py s.... [ 43%] setuptools/tests/test_dist.py ......x...x............................... [ 46%] .............. [ 48%] setuptools/tests/test_dist_info.py ..................................... [ 51%] . [ 51%] setuptools/tests/test_distutils_adoption.py EEEE.EEEEEEEE [ 52%] setuptools/tests/test_easy_install.py .................................. [ 55%] .............. [ 56%] setuptools/tests/test_editable_install.py EEEEEEEEEEEEEEE.......EEEEEEEE [ 59%] .EEEEE... [ 60%] setuptools/tests/test_egg_info.py ..........................x........... [ 63%] ..................................... [ 66%] setuptools/tests/test_extern.py ... [ 67%] 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 [ 70%] setuptools/tests/test_integration.py sssss [ 70%] setuptools/tests/test_logging.py ... [ 70%] setuptools/tests/test_manifest.py ...................................... [ 74%] ............................. [ 76%] setuptools/tests/test_msvc14.py ssss [ 77%] setuptools/tests/test_namespaces.py .... [ 77%] setuptools/tests/test_packageindex.py ..................... [ 79%] setuptools/tests/test_register.py . [ 79%] setuptools/tests/test_sandbox.py .......... [ 80%] setuptools/tests/test_sdist.py ..................... [ 82%] setuptools/tests/test_setopt.py .. [ 82%] setuptools/tests/test_setuptools.py ....................... [ 84%] setuptools/tests/test_test.py . [ 84%] setuptools/tests/test_unicode_utils.py . [ 84%] setuptools/tests/test_upload.py . [ 84%] setuptools/tests/test_warnings.py .... [ 85%] setuptools/tests/test_wheel.py ........................ [ 87%] setuptools/tests/test_windows_wrappers.py ssss [ 87%] setuptools/tests/config/test_apply_pyprojecttoml.py .......x............ [ 89%] ... [ 89%] setuptools/tests/config/test_expand.py ....................... [ 91%] setuptools/tests/config/test_pyprojecttoml.py ................. [ 93%] setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py ... [ 93%] setuptools/tests/config/test_setupcfg.py ............................... [ 96%] ..................................... [ 99%] setuptools/tests/integration/test_pip_install_sdist.py ssssssss [100%] ==================================== ERRORS ==================================== ________________ ERROR at setup of test_legacy_editable_install ________________ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_legacy_editable_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- * Getting build dependencies for wheel... running egg_info creating setuptools.egg-info writing setuptools.egg-info/PKG-INFO writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt writing requirements to setuptools.egg-info/requires.txt writing manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'setuptools.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/_distutils_hack copying build/lib/_distutils_hack/__init__.py -> build/bdist.linux-riscv64/wheel/_distutils_hack copying build/lib/_distutils_hack/override.py -> build/bdist.linux-riscv64/wheel/_distutils_hack creating build/bdist.linux-riscv64/wheel/pkg_resources copying build/lib/pkg_resources/__init__.py -> build/bdist.linux-riscv64/wheel/pkg_resources creating build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_itertools.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_normalization.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_path.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_reqs.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/errors.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/extension.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/launch.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/py312compat.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/sandbox.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/unicode_utils.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/version.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_entry_points.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_imp.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/_importlib.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/archive_util.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/build_meta.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/dep_util.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/depends.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/discovery.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/dist.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/glob.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/installer.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/logging.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/monkey.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/msvc.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/namespaces.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/package_index.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/warnings.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/wheel.py -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/windows_support.py -> build/bdist.linux-riscv64/wheel/setuptools creating build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_collections.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_functools.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_log.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_macos_compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/_msvccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/archive_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/bcppcompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/ccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/cmd.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/config.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/core.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/cygwinccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/debug.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/dep_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/dir_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/dist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/errors.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/extension.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/fancy_getopt.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/file_util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/filelist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/log.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/msvc9compiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/msvccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/py38compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/py39compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/spawn.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/sysconfig.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/text_file.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/unixccompiler.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/util.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/version.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils copying build/lib/setuptools/_distutils/versionpredicate.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils creating build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/_framework_compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/bdist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/bdist_dumb.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/bdist_rpm.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_clib.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_ext.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_py.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/build_scripts.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/check.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/clean.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/config.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_data.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_egg_info.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_headers.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_lib.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/install_scripts.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/py37compat.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/register.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/sdist.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command copying build/lib/setuptools/_distutils/command/upload.py -> build/bdist.linux-riscv64/wheel/setuptools/_distutils/command creating build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/register.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/upload.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/alias.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build_clib.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build_ext.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/build_py.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/develop.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/dist_info.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/editable_wheel.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/egg_info.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install_lib.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/install_scripts.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/rotate.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/saveopts.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/sdist.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/setopt.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/test.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/upload_docs.py -> build/bdist.linux-riscv64/wheel/setuptools/command copying build/lib/setuptools/command/easy_install.py -> build/bdist.linux-riscv64/wheel/setuptools/command creating build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/__init__.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/setupcfg.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/_apply_pyprojecttoml.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/expand.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/config/pyprojecttoml.py -> build/bdist.linux-riscv64/wheel/setuptools/config copying build/lib/setuptools/script (dev).tmpl -> build/bdist.linux-riscv64/wheel/setuptools copying build/lib/setuptools/script.tmpl -> build/bdist.linux-riscv64/wheel/setuptools running install_egg_info running egg_info writing setuptools.egg-info/PKG-INFO writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt writing requirements to setuptools.egg-info/requires.txt writing setuptools.egg-info/PKG-INFO writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt writing requirements to setuptools.egg-info/requires.txt writing top-level names to setuptools.egg-info/top_level.txt reading manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'setuptools.egg-info/SOURCES.txt' Copying setuptools.egg-info to build/bdist.linux-riscv64/wheel/setuptools-68.0.0-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/distutils-precedence.pth creating build/bdist.linux-riscv64/wheel/setuptools-68.0.0.dist-info/WHEEL creating '/tmp/pytest-of-builduser/pytest-0/wheel_build/.tmp-18gu3l57/setuptools-68.0.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'distutils-precedence.pth' adding '_distutils_hack/__init__.py' adding '_distutils_hack/override.py' adding 'pkg_resources/__init__.py' adding 'setuptools/__init__.py' adding 'setuptools/_entry_points.py' adding 'setuptools/_imp.py' adding 'setuptools/_importlib.py' adding 'setuptools/_itertools.py' adding 'setuptools/_normalization.py' adding 'setuptools/_path.py' adding 'setuptools/_reqs.py' adding 'setuptools/archive_util.py' adding 'setuptools/build_meta.py' adding 'setuptools/dep_util.py' adding 'setuptools/depends.py' adding 'setuptools/discovery.py' adding 'setuptools/dist.py' adding 'setuptools/errors.py' adding 'setuptools/extension.py' adding 'setuptools/glob.py' adding 'setuptools/installer.py' adding 'setuptools/launch.py' adding 'setuptools/logging.py' adding 'setuptools/monkey.py' adding 'setuptools/msvc.py' adding 'setuptools/namespaces.py' adding 'setuptools/package_index.py' adding 'setuptools/py312compat.py' adding 'setuptools/sandbox.py' adding 'setuptools/script (dev).tmpl' adding 'setuptools/script.tmpl' adding 'setuptools/unicode_utils.py' adding 'setuptools/version.py' adding 'setuptools/warnings.py' adding 'setuptools/wheel.py' adding 'setuptools/windows_support.py' adding 'setuptools/_distutils/__init__.py' adding 'setuptools/_distutils/_collections.py' adding 'setuptools/_distutils/_functools.py' adding 'setuptools/_distutils/_log.py' adding 'setuptools/_distutils/_macos_compat.py' adding 'setuptools/_distutils/_msvccompiler.py' adding 'setuptools/_distutils/archive_util.py' adding 'setuptools/_distutils/bcppcompiler.py' adding 'setuptools/_distutils/ccompiler.py' adding 'setuptools/_distutils/cmd.py' adding 'setuptools/_distutils/config.py' adding 'setuptools/_distutils/core.py' adding 'setuptools/_distutils/cygwinccompiler.py' adding 'setuptools/_distutils/debug.py' adding 'setuptools/_distutils/dep_util.py' adding 'setuptools/_distutils/dir_util.py' adding 'setuptools/_distutils/dist.py' adding 'setuptools/_distutils/errors.py' adding 'setuptools/_distutils/extension.py' adding 'setuptools/_distutils/fancy_getopt.py' adding 'setuptools/_distutils/file_util.py' adding 'setuptools/_distutils/filelist.py' adding 'setuptools/_distutils/log.py' adding 'setuptools/_distutils/msvc9compiler.py' adding 'setuptools/_distutils/msvccompiler.py' adding 'setuptools/_distutils/py38compat.py' adding 'setuptools/_distutils/py39compat.py' adding 'setuptools/_distutils/spawn.py' adding 'setuptools/_distutils/sysconfig.py' adding 'setuptools/_distutils/text_file.py' adding 'setuptools/_distutils/unixccompiler.py' adding 'setuptools/_distutils/util.py' adding 'setuptools/_distutils/version.py' adding 'setuptools/_distutils/versionpredicate.py' adding 'setuptools/_distutils/command/__init__.py' adding 'setuptools/_distutils/command/_framework_compat.py' adding 'setuptools/_distutils/command/bdist.py' adding 'setuptools/_distutils/command/bdist_dumb.py' adding 'setuptools/_distutils/command/bdist_rpm.py' adding 'setuptools/_distutils/command/build.py' adding 'setuptools/_distutils/command/build_clib.py' adding 'setuptools/_distutils/command/build_ext.py' adding 'setuptools/_distutils/command/build_py.py' adding 'setuptools/_distutils/command/build_scripts.py' adding 'setuptools/_distutils/command/check.py' adding 'setuptools/_distutils/command/clean.py' adding 'setuptools/_distutils/command/config.py' adding 'setuptools/_distutils/command/install.py' adding 'setuptools/_distutils/command/install_data.py' adding 'setuptools/_distutils/command/install_egg_info.py' adding 'setuptools/_distutils/command/install_headers.py' adding 'setuptools/_distutils/command/install_lib.py' adding 'setuptools/_distutils/command/install_scripts.py' adding 'setuptools/_distutils/command/py37compat.py' adding 'setuptools/_distutils/command/register.py' adding 'setuptools/_distutils/command/sdist.py' adding 'setuptools/_distutils/command/upload.py' adding 'setuptools/command/__init__.py' adding 'setuptools/command/alias.py' adding 'setuptools/command/bdist_egg.py' adding 'setuptools/command/bdist_rpm.py' adding 'setuptools/command/build.py' adding 'setuptools/command/build_clib.py' adding 'setuptools/command/build_ext.py' adding 'setuptools/command/build_py.py' adding 'setuptools/command/develop.py' adding 'setuptools/command/dist_info.py' adding 'setuptools/command/easy_install.py' adding 'setuptools/command/editable_wheel.py' adding 'setuptools/command/egg_info.py' adding 'setuptools/command/install.py' adding 'setuptools/command/install_egg_info.py' adding 'setuptools/command/install_lib.py' adding 'setuptools/command/install_scripts.py' adding 'setuptools/command/register.py' adding 'setuptools/command/rotate.py' adding 'setuptools/command/saveopts.py' adding 'setuptools/command/sdist.py' adding 'setuptools/command/setopt.py' adding 'setuptools/command/test.py' adding 'setuptools/command/upload.py' adding 'setuptools/command/upload_docs.py' adding 'setuptools/config/__init__.py' adding 'setuptools/config/_apply_pyprojecttoml.py' adding 'setuptools/config/expand.py' adding 'setuptools/config/pyprojecttoml.py' adding 'setuptools/config/setupcfg.py' adding 'setuptools-68.0.0.dist-info/LICENSE' adding 'setuptools-68.0.0.dist-info/METADATA' adding 'setuptools-68.0.0.dist-info/WHEEL' adding 'setuptools-68.0.0.dist-info/entry_points.txt' adding 'setuptools-68.0.0.dist-info/top_level.txt' adding 'setuptools-68.0.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built setuptools-68.0.0-py3-none-any.whl created virtual environment CPython3.11.3.final.0-64 in 716ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Downloading platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Downloading jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Downloading more_itertools-9.1.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.2/54.2 kB 2.6 MB/s eta 0:00:00 Collecting ordered-set Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 10.4 MB/s eta 0:00:00 Collecting tomli Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Downloading validate_pyproject-0.13-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.0/44.0 kB 9.9 MB/s eta 0:00:00 Collecting jaraco.functools Downloading jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Downloading jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Downloading autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Downloading inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Downloading fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Downloading pydantic-2.0.2-py3-none-any.whl (359 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 359.1/359.1 kB 24.6 MB/s eta 0:00:00 Collecting typing-extensions Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Downloading annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Downloading pydantic_core-2.1.2.tar.gz (305 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 306.0/306.0 kB 24.8 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- warning: no files found matching '*.py' under directory 'tests' warning: no files found matching '*.txt' under directory 'docs' warning: no files found matching '*.conf' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.css_t' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' warning: no files found matching '*.py' under directory 'setuptools/_vendor' warning: no files found matching '*.txt' under directory 'setuptools/_vendor' warning: no files found matching 'msvc-build-launcher.cmd' warning: 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' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [63 lines of output] Collecting maturin<2,>=1 Downloading maturin-1.1.0.tar.gz (181 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.2/181.2 kB 4.1 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting typing-extensions!=4.7.0,>=4.6.0 Using cached typing_extensions-4.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_stdlib0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 421ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local_with_setu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 399ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_distutils_local0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 391ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_pip_import0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 399ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 402ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 394ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 395ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 406ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 402ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_modules_are_not_duplicate5/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 399ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 394ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() /build/python-setuptools/src/setuptools/setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_log_module_is_not_duplica1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 381ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 404ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_s1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 398ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 406ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_pyproject_l1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 392ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 404ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_flat_layout1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 420ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 392ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_with_single_modu1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 400ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [notice] To update, run: python -m pip install --upgrade pip _ ERROR at setup of TestLegacyNamespaces.test_namespace_package_importable[strict] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 395ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [notice] To update, run: python -m pip install --upgrade pip _ ERROR at setup of TestLegacyNamespaces.test_namespace_package_importable[lenient] _ tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2') setuptools_wheel = PosixPath('/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 397ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 409ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_package_importa4/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 396ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 398ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_created_via_pac1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 395ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_namespace_accidental_conf0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 392ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_f0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 402ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_s0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 395ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_c0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 404ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_strict_n0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 400ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 401ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_1/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 437ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_2/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 397ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_editable_install_lenient_3/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 398ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_strict_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 402ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_compat_install0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 391ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_strict_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 386ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_pbr_integration_lenient_0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 393ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [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-68.0.0-py3-none-any.whl') @pytest.fixture def venv(tmp_path, setuptools_wheel): """Virtual env with the version of setuptools under test installed""" env = environment.VirtualEnv() env.root = path.Path(tmp_path / 'venv') env.create_opts = ['--no-setuptools', '--wheel=bundle'] # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel env.req = str(setuptools_wheel) # In some environments (eg. downstream distro packaging), # where tox isn't used to run tests and PYTHONPATH is set to point to # a specific setuptools codebase, PYTHONPATH will leak into the spawned # processes. # env.create() should install the just created setuptools # wheel, but it doesn't if it finds another existing matching setuptools # installation present on PYTHONPATH: # `setuptools is already installed with the same version as the provided # wheel. Use --force-reinstall to force an installation of the wheel.` # This prevents leaking PYTHONPATH to the created environment. with contexts.environment(PYTHONPATH=None): > return env.create() setuptools/tests/fixtures.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/jaraco/envs.py:20: in create self.install() /usr/lib/python3.11/site-packages/jaraco/envs.py:37: in install subprocess.check_call(cmd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = ([Path('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'],) kwargs = {'env': {'BUILDTOOL': 'devtools', 'BUILDTOOLVER': '1:1.0.2-1-any', 'CFLAGS': '-march=rv64gc -mabi=lp64d -O2 -pipe -fno...=/build/python-setuptools/src=/usr/src/debug/python-setuptools -flto=auto', 'CHOST': 'riscv64-unknown-linux-gnu', ...}} retcode = 1 cmd = [Path('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl'] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-builduser/pytest-0/test_safeguarded_from_errors0/venv/.env/bin/python'), '-m', 'pip', 'install', '/tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:413: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.11.3.final.0-64 in 413ms 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.0.1, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing /tmp/pytest-of-builduser/pytest-0/wheel_build/setuptools-68.0.0-py3-none-any.whl Collecting platformdirs Using cached platformdirs-3.8.1-py3-none-any.whl (16 kB) Collecting jaraco.text Using cached jaraco.text-3.11.1-py3-none-any.whl (11 kB) Collecting more-itertools Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB) Collecting ordered-set Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting tomli Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting validate-pyproject Using cached validate_pyproject-0.13-py3-none-any.whl (44 kB) Collecting jaraco.functools Using cached jaraco.functools-3.8.0-py3-none-any.whl (8.2 kB) Collecting jaraco.context>=4.1 Using cached jaraco.context-4.3.0-py3-none-any.whl (5.3 kB) Collecting autocommand Using cached autocommand-2.2.2-py3-none-any.whl (19 kB) Collecting inflect Using cached inflect-7.0.0-py3-none-any.whl (34 kB) Collecting fastjsonschema<=3,>=2.16.2 Using cached fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting pydantic>=1.9.1 Using cached pydantic-2.0.2-py3-none-any.whl (359 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) Collecting pydantic-core==2.1.2 Using cached pydantic_core-2.1.2.tar.gz (305 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error' ---------------------------- Captured stderr setup ----------------------------- error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [62 lines of output] Collecting maturin<2,>=1 Using cached maturin-1.1.0.tar.gz (181 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.7.1-py3-none-any.whl (33 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 ╰─> [35 lines of output] 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.0.1 -> 23.1.2 [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.0.1 -> 23.1.2 [notice] To update, run: python -m pip install --upgrade pip =========================== short test summary info ============================ SKIPPED [1] pkg_resources/tests/test_pkg_resources.py:387: Testing case-insensitive filesystems. SKIPPED [3] pkg_resources/tests/test_pkg_resources.py:404: Testing systems using backslashes as path separators. SKIPPED [1] setuptools/tests/test_develop.py:64: TODO: needs a fixture to cause 'develop' to be invoked without mutating environment. SKIPPED [1] setuptools/tests/test_install_scripts.py:50: Windows only SKIPPED [1] setuptools/tests/test_install_scripts.py:78: Windows only SKIPPED [5] setuptools/tests/test_integration.py:31: Integration tests cannot run when pbr is installed SKIPPED [1] setuptools/tests/test_msvc14.py:15: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:33: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:51: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:67: These tests are only for win32 SKIPPED [1] setuptools/tests/test_windows_wrappers.py:80: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:121: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:151: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:212: Windows only SKIPPED [8] setuptools/tests/integration/test_pip_install_sdist.py:114: skipping integration tests XFAIL setuptools/tests/test_bdist_egg.py::Test::test_exclude_source_files - Byte code disabled XFAIL setuptools/tests/test_build_py.py::test_excluded_subpackages - reason: #3260 XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 1.2: Project-Url-attrs5] - Issue #1578: project_urls not read XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 2.1: Provides Extra-attrs9] - provides_extras not read XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[extras_require_with_marker_in_setup_cfg] XFAIL setuptools/tests/config/test_apply_pyprojecttoml.py::test_utf8_maintainer_in_metadata[international-email] - CPython's `email.headerregistry.Address` only supports RFC 5322, as of Nov 10, 2022 and latest Python 3.11.0 XPASS setuptools/tests/test_archive_util.py::test_unicode_files #710 and #712 = 1059 passed, 28 skipped, 32 deselected, 6 xfailed, 1 xpassed, 41 errors in 1676.09s (0:27:56) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root31/build receiving incremental file list python-setuptools-1:68.0.0-1-riscv64-build.log python-setuptools-1:68.0.0-1-riscv64-check.log python-setuptools-1:68.0.0-1-riscv64-prepare.log sent 81 bytes received 14,443 bytes 9,682.67 bytes/sec total size is 445,737 speedup is 30.69