Poetry2nix | 314 Members | |
| https://github.com/nix-community/poetry2nix | 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 6 Nov 2023 | ||
then python -m private_gpt | 18:45:42 | |
| full trace
| 18:45:57 | |
here's how it does the import in utils.py | 18:46:45 | |
| 18:46:48 | |
| seems reasonable | 18:46:50 | |
| Someone is adding something to importscheck here, not sure if related.. but interesting: https://sourcegraph.com/github.com/ibis-project/ibis/-/blob/nix/ibis.nix?L54 | 18:58:21 | |
pythonImportsCheck just checks the modules can be imported after the install | 19:00:02 | |
| It doesn't actually affect what is installed | 19:00:12 | |
| It's just a failsafe to make sure the package you've just built isn't completely broken | 19:00:23 | |
| Thanks for the clarification | 19:01:29 | |
| So they are just adding checks for each of the ibis backends | 19:01:42 | |
| Oh... I think this could be it, I'll have to try it when my build of your flake finishes. Adding python path to the resulting wrapper: https://sourcegraph.com/github.com/GTrunSec/dataflow2nix/-/blob/nix/prefect/packages/prefect.nix?L39 | 19:01:57 | |
Interesting. nix run github:MatthewCroughan/privateGPT puts me in a python shell. Cloning the repo and doing nix run .# gives error: unable to execute '/nix/store/0c71l30nmfcmks194m1a16vryi3pjr34-python3.11-private-gpt-0.1.0/bin/private-gpt': No such file or directory. | 19:15:38 | |
| that is odd | 19:16:02 | |
do --refresh on the nix run | 19:16:52 | |
| I get the error with both now | 19:17:24 | |
| I force pushed a change, you must have ran the cmd before that change | 19:19:39 | |
| previously I used mkPoetryEnv and now I'm using mkPoetryApplication | 19:19:48 | |
In reply to @pareto-optimal-dev:matrix.orgYeah but why isn't mkPoetryApplication doing this | 19:32:32 | |
| even the mkPoetryEnv doesn't include tiktoken | 19:35:19 | |
| 19:35:50 | |
| it only has this in it | 19:35:52 | |
| ah the install of tiktoken may not work.. | 19:36:09 | |
| It definitely compiled, but maybe outPath has wrong stuff in it | 19:36:32 | |
| 19:37:35 | |
| this is the installPhase for it | 19:37:38 | |
| also
| 19:38:02 | |
| I included the maturin hook when it was not necessary | 19:39:41 | |
| this lead to the failure, only included dist-info in the site-packages | 19:40:04 | |
| 19:40:09 | |