| 22 Oct 2023 |
cpcloud | * Ok, I'm down to 14 tests that won't evaluate, all with the same error:
❯ nix build -f tests pendulum
error:
… while evaluating the attribute 'drvPath'
at /nix/store/pk047z3yr0bhjsvbahgl21v2kqnz531p-source/lib/customisation.nix:222:7:
221| in commonAttrs // {
222| drvPath = assert condition; drv.drvPath;
| ^
223| outPath = assert condition; drv.outPath;
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
(stack trace truncated; use '--show-trace' to show the full trace)
error: installer should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set.
| 14:42:17 |
| ppenguin set a profile picture. | 15:19:33 |
| seirl joined the room. | 17:48:37 |
seirl | hello, i have a package generated with poetry2nix.mkPoetryApplication and i'd like to override its dependencyEnv so that it contains one additional package, does anyone know how i can achieve that? | 17:50:37 |
seirl | I tried many things, pkg.overrideAttrs, pkg.dependencyEnv.overrideAttrs, pkg.overridePythonAttrs... | 17:51:10 |
| 23 Oct 2023 |
| globin joined the room. | 09:03:33 |
cpcloud | Ok, down to 9 test that can't evaluate due to either an immediate evaluation recursion error, or a stack overflow (due to infinite recursion) | 11:40:39 |
cpcloud | * Ok, down to 9 tests that can't evaluate due to either an immediate evaluation recursion error, or a stack overflow (due to infinite recursion) while working on supporting the new bootstrapping process in nixpkgs | 11:41:03 |
cpcloud | Ok, I've now got everything evaluating | 13:47:43 |
cpcloud | There are a few stragglers for which I need to make some more fixes to build-systems.json and then about 2 tests are failing at build time complaining about missing a poetry (not poetry-core) dependeny | 13:49:06 |
cpcloud | * There are a few stragglers for which I need to make some more fixes to build-systems.json and then about 2 tests are failing at build time complaining about missing a poetry (not poetry-core) dependency | 13:49:08 |
cpcloud | The fix has basically been to vendor the packages that are at the root of the dependency graph. That's installer, build, 'flit-core, packaging, tomli, pyproject-hooksandwheel` | 13:50:22 |
cpcloud | * The fix has basically been to vendor the packages that are at the root of the dependency graph. That's installer, build, flit-core, packaging, tomli, pyproject-hooksandwheel | 13:50:37 |
cpcloud | * The fix has basically been to vendor the packages that are at the root of the dependency graph. That's installer, build, flit-core, packaging, tomli, pyproject-hooks | 13:50:59 |
K900 | Technically the packages that require poetry should be able to work with just poetry in inputs | 14:02:48 |
K900 | If you can get poetry itself to eval | 14:03:05 |
| globin set a profile picture. | 14:27:37 |
cpcloud | Debugging these leaf packages takes a very very long time. Each change often requires rebuilding everything | 15:02:04 |
cpcloud | In reply to @k900:0upti.me Technically the packages that require poetry should be able to work with just poetry in inputs It seems like poetry is being discarded from the inputs somewhere | 15:07:39 |
cpcloud | Ok, it looks like using pipBuildHook instead of the pypaBuildHook is the fix for that issue | 15:47:04 |
K900 | In reply to @pcloud:matrix.org Ok, it looks like using pipBuildHook instead of the pypaBuildHook is the fix for that issue Wait, what | 18:46:08 |
cpcloud | Actually, it doesn't | 19:27:52 |
cpcloud | Well, some of the remaining failures started passing with it, but two tests with the same problem still fail | 19:28:40 |
cpcloud | I don't understand why those are different other than that pip machinery and installer + flit stuff is probably different | 19:29:10 |
cpcloud | I'll pick it up again tomorrow, I'm close | 19:29:39 |
cpcloud | pypaBuildHook doesn't work with AFAICT | 19:34:39 |
cpcloud | * pypaBuildHook doesn't work with poetry AFAICT | 19:34:43 |
cpcloud | But pip can definitely install poetry projects | 19:35:40 |
K900 | Do you have a WIP branch somewhere? | 19:35:44 |
cpcloud | Lemme push it up | 19:35:53 |