!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

318 Members
https://github.com/nix-community/poetry2nix60 Servers

Load older messages


SenderMessageTime
25 Oct 2023
@k900:0upti.meK900Like, it should be adding a thunk11:21:56
@k900:0upti.meK900Not fully evaluating it11:22:10
@k900:0upti.meK900 So you can just removePackagesByName it away later 11:22:15
@pcloud:matrix.orgcpcloudI am using lib.remove, maybe that's the reason?11:23:25
@k900:0upti.meK900lib.remove what?11:23:30
@pcloud:matrix.orgcpcloud

      sphinxcontrib-applehelp = super.sphinxcontrib-applehelp.overridePythonAttrs (old: {
        propagatedBuildInputs = lib.remove self.sphinx old.propagatedBuildInputs;
      });
11:23:46
@pcloud:matrix.orgcpcloud *
      sphinxcontrib-applehelp = super.sphinxcontrib-applehelp.overridePythonAttrs (old: {
        propagatedBuildInputs = lib.remove self.sphinx old.propagatedBuildInputs;
      });
11:23:50
@k900:0upti.meK900Yeah it won't compare equal probably11:25:01
@pcloud:matrix.orgcpcloudLemme try the other function11:25:10
@k900:0upti.meK900Because drvs aren't compared sanely11:25:12
@pcloud:matrix.orgcpcloudOk, nice that gets the eval working, thank you!11:28:19
@pcloud:matrix.orgcpcloud
      sphinxcontrib-serializinghtml = super.sphinxcontrib-serializinghtml.overridePythonAttrs (old: {
        propagatedBuildInputs = removePackagesByName (old.propagatedBuildInputs or [ ]) [ self.sphinx ];
      });
11:28:31
@pcloud:matrix.orgcpcloud I'll push up the fixes and a test once I update build-systems.json to get things working 11:29:23
@k900:0upti.meK900Cool11:29:26
@pcloud:matrix.orgcpcloudpushed11:31:16
@pcloud:matrix.orgcpcloudThe mac os issue is that netcdf is failing to link libhdf5_hl https://github.com/nix-community/poetry2nix/actions/runs/6638146548/job/18038264309#step:5:578111:34:33
@pcloud:matrix.orgcpcloud Pretty sure it's broken on nixos-unstable-small and not related to poetry2nix 11:37:59
@reckenrode:matrix.org@reckenrode:matrix.org joined the room.11:39:54
@k900:0upti.meK900 @Randy Eckenrode is the nixpkgs Darwin expert person 11:41:58
@k900:0upti.meK900Who I dragged here to help11:42:02
@pcloud:matrix.orgcpcloudThanks. There are a couple other failures too which I am looking into11:42:41
@reckenrode:matrix.org@reckenrode:matrix.org
In reply to @pcloud:matrix.org
The mac os issue is that netcdf is failing to link libhdf5_hl https://github.com/nix-community/poetry2nix/actions/runs/6638146548/job/18038264309#step:5:5781
It’s not Python-related. I submitted a PR last month to fix the build with clang 16. It was building at the time, so I don’t know what broke it.
11:42:45
@reckenrode:matrix.org@reckenrode:matrix.orgWell, probably not Python-related.11:42:53
@reckenrode:matrix.org@reckenrode:matrix.orgI’m building it now to see if I can figure out what happened and fix it.11:43:28
@pcloud:matrix.orgcpcloud Ok, I got pandas build on osx ci, the remaining failures are the pytorch from the ml-stack test, psutil, and netcdf 12:22:22
@k900:0upti.meK900Does torch even work on OSX12:35:12
@pcloud:matrix.orgcpcloud It builds on master 12:48:00
@pcloud:matrix.orgcpcloud the psutil issue looks like it might be a 3.11 issue. I'm going to see about changing python3 to python310 in that test 12:49:40
@pcloud:matrix.orgcpcloudOk, nevermind, that's running python 3.9 :)12:50:11
@pcloud:matrix.orgcpcloud nix build 'nixpkgs#python39Packages.psutil' --system x86_64-darwin works for me, so maybe there's some adjustment needed on the p2nix side overrides 12:50:54

Show newer messages


Back to Room ListRoom Version: 6