Poetry2nix | 301 Members | |
| https://github.com/nix-community/poetry2nix | 54 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Jan 2024 | ||
| * tl; dr: should've looked upstream first regarding the since even after a heroic effort there this is broken on darwin, if you need crossplatform compatibility, probably one of the better approaches is to ensure chex>=0.1.82 and avoid If you'd like to combine
functions as expected. THE REMAINDER OF THIS THREAD IS ALMOST SURELY NOT WORTH READING Since it's essential to use
successfully disables the global setting of | 18:17:58 | |
| * tl; dr: should've looked upstream first regarding the since even after a heroic effort there this is broken on darwin, if you need crossplatform compatibility, probably one of the better approaches is to ensure chex>=0.1.82 and avoid If you'd like to combine
functions as expected. | 18:19:03 | |
| * THE REMAINDER OF THIS THREAD IS ALMOST SURELY NOT WORTH READING Since it's essential to use
successfully disables the global setting of Using what K900 ⚡️ suggested below
persists in downloading the wheel and fails with | 18:19:32 | |
| * tl; dr: should've looked upstream first regarding the since even after a heroic effort there this is broken on darwin, if you need crossplatform compatibility, probably one of the better approaches is to ensure chex>=0.1.82 and avoid If you'd like to combine
functions as expected. The original question remains in the thread but is mostly confused. | 18:20:25 | |
| * Thank you! ... that seems like one of the variants I tried, but maybe I didn't get it quite right or there's a more subtle issue with this particular package ... I'll try again I put a bit more of the intended usage context in the thread above, but have now summarized what was useful and pushed the original question which was largely confused below its break. | 18:21:49 | |
| * Thank you! ... that seems like one of the variants I tried, but maybe I didn't get it quite right or there's a more subtle issue with this particular package ... I'll try again I put a bit more of the intended usage context in the thread above, but have now summarized what was useful and pushed the original question , which was largely confused by equivalent errors with different causes, below its break. | 18:22:18 | |
| * Thank you! ... that seems like one of the variants I tried, but maybe I didn't get it quite right or there's a more subtle issue with this particular package ... I'll try again I put a bit more of the intended usage context in the thread above, but have now summarized what was useful and pushed the original question, which was largely confused by equivalent errors with different causes, below its break. | 18:23:48 | |
| * tl; dr: should've looked upstream first regarding the since even after a heroic effort there this is broken on darwin, if you need crossplatform compatibility, probably one of the better approaches is to ensure chex>=0.1.82 and avoid If you'd like to combine
functions as expected, but the above does not work for the referenced package, The original question remains in the thread but is mostly confused. | 18:25:15 | |
* Right but preferWheel needs to be set with override ... so I'm missing something about how you combine those two successfully for a single package because it appears to fail to download the source when I compose them. I have tried the obvious constructions I am aware of but still receive the same error related to cmake being absent in the build environment for this package or the wheel is downloaded prior to running cmake when the source should be instead. | 18:26:13 | |
| * But, of course, this doesn't really begin to get to the root of the issue, for which I definitely should've looked upstream first https://github.com/NixOS/nixpkgs/blob/4e44fb9c2673c5b58c44deb7e05bcf312a5862cf/pkgs/development/python-modules/dm-tree/default.nix#L15 | 18:27:11 | |
| * But, of course, this doesn't really begin to get to the root of the issue, for which I definitely should've looked upstream first https://github.com/NixOS/nixpkgs/blob/4e44fb9c2673c5b58c44deb7e05bcf312a5862cf/pkgs/development/python-modules/dm-tree/default.nix#L15 especially at the cmake patch https://github.com/NixOS/nixpkgs/blob/4e44fb9c2673c5b58c44deb7e05bcf312a5862cf/pkgs/development/python-modules/dm-tree/cmake.patch | 18:28:02 | |
| * tl; dr: should've looked upstream first regarding the since even after a heroic effort there this is broken on darwin, if you need crossplatform compatibility, probably one of the better approaches is to ensure chex>=0.1.82 and avoid If you'd like to combine
functions as expected, but the above does not work for the referenced package, The original question remains in the thread but is mostly confused. | 18:29:24 | |
| 21:40:07 | ||
Hey, I 've got an issue with recent versions of pytorch-lightning, and I'm wondering if anyone can help me figure out what's going on | 21:41:36 | |
| Here's the gist of it:
| 21:41:59 | |
| I've tried a couple different overrides, but none of them seem to take:
| 21:43:51 | |
Those not having an effect might be related to this issue? I tried setting preferWheels = false;, but then cmake was having issues building and I couldn't get that working | 21:44:57 | |
| I'm building on linux x86-64 for the same platform, so that issue might not be relevant | 21:45:26 | |
| I've tried specifying the dependency as both of these ways:
Even when directly pointing it directly at the wheel file, it still gives the same error | 21:46:52 | |
| I can wrap this all up into a github issue if that would work better, the github issue template pointed towards this room as a start | 21:49:29 | |
I just tried manually removing cmake from my poetry.lock file, so that I could try out preferWheels = false;. Strangely, that doesn't seem to have any effect either, I get the same error | 22:15:09 | |
| knkski: there are default overrides for pytorch-lightning that attempt to handle what must have previously been something like a nested tarball. I removed these from a test fork https://github.com/cameronraysmith/poetry2nix/commit/aab624b6f49b5974a57a4be5d034613d6b65c79f and things work as expected when I source it in my flake. I was going to discuss submitting these upstream but it might be necessary to retain them with version guards for backward compatibility | 22:28:51 | |
| cameronraysmith: that worked, thank you! | 22:30:28 | |
| * knkski: there are default overrides for pytorch-lightning that attempt to handle what must have previously been something like a nested tarball. I removed these from a test fork https://github.com/cameronraysmith/poetry2nix/commit/aab624b6f49b5974a57a4be5d034613d6b65c79f and things work as expected when I source it in my flake. I was going to discuss submitting these upstream but it might be necessary to retain them with version guards for backward compatibility I didn't manage to bisect where this must have changed in the pytorch-lightning release history but I tried as far back as 1.9.4 or so. | 22:30:58 | |
| * knkski: there are default overrides for pytorch-lightning that attempt to handle what must have previously been something like a nested tarball. I removed these from a test fork https://github.com/cameronraysmith/poetry2nix/commit/aab624b6f49b5974a57a4be5d034613d6b65c79f and things work as expected when I source it in my flake. I was going to discuss submitting these upstream, but it might be necessary to retain them with version guards for backward compatibility. I didn't manage to bisect where this must have changed in the pytorch-lightning release history but I tried as far back as 1.9.4 or so. | 22:31:39 | |
| * knkski: there are default overrides for `pytorch-lightning` that attempt to handle what must have previously been something like a nested tarball. I removed these from a test fork https://github.com/cameronraysmith/poetry2nix/commit/aab624b6f49b5974a57a4be5d034613d6b65c79f and things work as expected when I source it in my flake. I was going to discuss submitting these upstream, but it might be necessary to retain them with version guards for backward compatibility. I didn't manage to bisect where this must have changed in the pytorch-lightning release history but I tried as far back as 1.9.4 or so. | 22:32:01 | |
| 22:32:15 | ||
| * knkski: there are default overrides for pytorch-lightning that attempt to handle what must have previously been something like a nested tarball. I removed these from a test branch on my fork https://github.com/cameronraysmith/poetry2nix/commit/aab624b6f49b5974a57a4be5d034613d6b65c79f and things work as expected when I source it in my flake. I was going to discuss submitting these upstream, but it might be necessary to retain them with version guards for backward compatibility. I didn't manage to bisect where this must have changed in the pytorch-lightning release history but I tried as far back as 1.9.4 or so. | 22:34:26 | |
| * knkski: there are default overrides for https://github.com/cameronraysmith/poetry2nix/commit/aab624b6f49b5974a57a4be5d034613d6b65c79f and things work as expected when I source it in my flake. I was going to discuss submitting these upstream, but it might be necessary to retain them with version guards for backward compatibility. I didn't manage to bisect where this must have changed in the pytorch-lightning release history but I tried as far back as | 22:45:39 | |
| * knkski: there are default overrides for I didn't manage to bisect where this must have changed in the pytorch-lightning release history but I tried as far back as | 22:46:48 | |