!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

330 Members
https://github.com/nix-community/poetry2nix62 Servers

Load older messages


SenderMessageTime
25 Aug 2022
@bryan.bennett:matrix.orgBryan
In reply to @ethanabrooks:matrix.org
I have gone through by hand and edited torch out of my poetry.lock. Where is poetry2nix getting the torch requirement from?
I should note that poetry.lock should not be hand edited. Kinda defeats the purpose.
00:21:11
@ethanabrooks:matrix.orgEthan BrooksRight I get that I was just trying to see if that would fix it and then I could figure out how to do it the right way00:21:40
@bryan.bennett:matrix.orgBryanJust want to make that clear to everyone playing along at home too :)00:22:15
@bryan.bennett:matrix.orgBryanCan I see the unedited lock file?00:22:41
@ethanabrooks:matrix.orgEthan Brookssure one sec00:22:48
@bryan.bennett:matrix.orgBryanIf you're interested, it might be less onerous to use ix.io rather than gists. I don't mind either one, but I find ix,io easier to use quickly :)00:24:16
@bryan.bennett:matrix.orgBryan * If you're interested, it might be less onerous to use ix.io rather than gists. I don't mind either one, but I find ix.io easier to use quickly :)00:24:23
@ethanabrooks:matrix.orgEthan BrooksThat is pretty cool00:24:46
@ethanabrooks:matrix.orgEthan BrooksOne sec00:24:51
@ethanabrooks:matrix.orgEthan Brooks http://ix.io/48xY00:25:38
@ethanabrooks:matrix.orgEthan BrooksThanks for introducing me to that.00:25:51
@bryan.bennett:matrix.orgBryanThis is the pyproject.lock for https://gist.github.com/ethanabrooks/99a420a1fa4ce9e9488c9fc409d02cd4?00:27:27
@ethanabrooks:matrix.orgEthan BrooksThat one is the hand-edited one00:27:54
@ethanabrooks:matrix.orgEthan Brooksthe ix.io one is the ethanabrooks-edited00:28:03
@ethanabrooks:matrix.orgEthan Brooks * the ix.io one is the un-edited00:28:13
@bryan.bennett:matrix.orgBryanbut the pyproject.toml is the same for those?00:31:20
@ethanabrooks:matrix.orgEthan Brooksright00:31:32
@ethanabrooks:matrix.orgEthan Brookshttp://ix.io/48xZ00:32:01
@bryan.bennett:matrix.orgBryanoh - you commented out the clu dependency.00:32:43
@ethanabrooks:matrix.orgEthan BrooksOh! one sec00:33:00
@ethanabrooks:matrix.orgEthan BrooksI forgot that I did that00:33:04
@ethanabrooks:matrix.orgEthan BrooksLet me produce the poetry.lock again00:33:10
@ethanabrooks:matrix.orgEthan Brookshttp://ix.io/48y000:33:42
@ethanabrooks:matrix.orgEthan BrooksBy the way, I unfortunately have to sign off soon. I'll check back in tomorrow morning.00:34:40
@bryan.bennett:matrix.orgBryanI suspect it is coming in from the test extra, maybe?00:36:01
@ethanabrooks:matrix.orgEthan BrooksLooks like both extras depend on torch: https://github.com/google/CommonLoopUtils/blob/ae20d61ace3f8f330a60f1526ac9ceb82a446199/setup.py#L5800:36:38
@bryan.bennett:matrix.orgBryan Yes - both test and pytorch extras depend on torch. 00:37:04
@bryan.bennett:matrix.orgBryanI genuinely have no idea what is happening with this dependency. I'm unsure which extra it is trying to install automatically. 00:42:23
@bryan.bennett:matrix.orgBryan But I expect it MUST be attempting to install the extra automatically. Either from clu or from flax (which has a testing extra that depends on pytorch) 00:43:32
@bryan.bennett:matrix.orgBryanIf you get a chance, I think seeing the full output of the build log would also help. Recognize you need to go though. I can check back in the morning :) 00:45:29

Show newer messages


Back to Room ListRoom Version: 6