!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

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

Load older messages


SenderMessageTime
2 Jan 2024
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 it should be somewhere in the release prior to that Sep 22 2022 1.7.7 and the last one 1.9.4 I checked manually.

23:00:32
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 it should be somewhere in the release prior to that Sep 22 2022 1.7.7 and the last one 1.9.4 I checked manually.

23:00:45
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 it should be somewhere in the release prior to that Sep 22 2022 1.7.7 and the last one, 1.9.4, I checked manually.

23:01:09
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 it should presumably be somewhere in the release prior to that Sep 22 2022 1.7.7 and the last one, 1.9.4, I checked manually.

23:01:45
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 the change should presumably be somewhere in the release prior to that Sep 22 2022 1.7.7 and the last one, 1.9.4, I checked manually.

23:01:58
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 the change should presumably be somewhere in the release prior to that Sep 22 2022 1.7.7 and the oldest one, March 2 2023 1.9.4, I checked manually.

23:02:56
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 the change should presumably be somewhere in the release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

23:03:35
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in #786 Oct 31 2022 the change should presumably be somewhere between the release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

23:04:30
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

23:05:05
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

Alternatively, there may have been a higher-level change in how the source tarball's are handled in general rendering the unpackPhase unnecessary, even for older versions.

23:11:01
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

Alternatively, there may have been a higher-level change in how the source tarball's are handled in general rendering this unpackPhase unnecessary, even for older versions.

23:12:10
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

Alternatively, there may have been a higher-level change in how the source tarball's are handled rendering this unpackPhase unnecessary, even for older versions.

23:12:23
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

Alternatively, there may have been a higher-level change in how the source tarball's are handled rendering this unpackPhase unnecessary, even for older versions.

Anyway, I put up #1481 to mark the issue.

23:23:33
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

Alternatively, there may have been a higher-level change in how the source tarball's are handled rendering this unpackPhase unnecessary, even for older versions.

Anyway, I put up poetry2nix #1481 to mark the issue.

23:23:49
@cameronraysmith:matrix.org@cameronraysmith:matrix.org *

That sounds like a good start. I'll take a look around that time.

Since the unpackPhase was added in poetry2nix #786 Oct 31 2022 the change should presumably be somewhere between the pytorch-lightning release prior to that Sep 22 2022 1.7.7 and the oldest one I checked manually from March 2 2023 in 1.9.4.

Alternatively, there may have been a higher-level change in how the source tarball's are handled rendering this unpackPhase unnecessary, even for older versions.

Anyway, I put up poetry2nix #1481 to mark the issue for further discussion if it is worthwhile.

23:24:12
@cameronraysmith:matrix.org@cameronraysmith:matrix.org I had a somewhat analogous issue with llvmlite that was resolved by removing the postPatch here
https://github.com/cameronraysmith/poetry2nix/commit/c96a441af982c44776f2e5815001c484a7ffd9d2 because static linking was disabled by default in llvmlite in https://github.com/numba/llvmlite/pull/250
23:45:04
@cameronraysmith:matrix.org@cameronraysmith:matrix.org * I had a somewhat analogous issue with llvmlite that was resolved by removing the postPatch here
https://github.com/cameronraysmith/poetry2nix/commit/65b57828727fc1698e1aa29007ff46dea66c10b6 because static linking was disabled by default in llvmlite in https://github.com/numba/llvmlite/pull/250
23:49:25
@cameronraysmith:matrix.org@cameronraysmith:matrix.org * I had a somewhat analogous issue with llvmlite that was resolved by removing the postPatch here
https://github.com/cameronraysmith/poetry2nix/commit/65b57828727fc1698e1aa29007ff46dea66c10b6 because static linking was disabled by default in llvmlite in https://github.com/numba/llvmlite/pull/250 and the string targeted for removal from ffi/Makefile.linux no longer exists
23:55:14
@cameronraysmith:matrix.org@cameronraysmith:matrix.org * I had a somewhat analogous issue with llvmlite that was resolved by removing the postPatch here
https://github.com/cameronraysmith/poetry2nix/commit/65b57828727fc1698e1aa29007ff46dea66c10b6 because static linking was disabled by default in llvmlite in https://github.com/numba/llvmlite/pull/250 and the associated string targeted for removal from ffi/Makefile.linux no longer exists
23:55:21
3 Jan 2024
@interru:chat.interru.io@interru:chat.interru.io joined the room.03:33:44
@cameronraysmith:matrix.org@cameronraysmith:matrix.org * I had a somewhat analogous issue with llvmlite that was resolved by removing the postPatch here
https://github.com/cameronraysmith/poetry2nix/commit/c20bd27ae4f5d8c9c16a2685b167a7b602a93fea because static linking was disabled by default in llvmlite in https://github.com/numba/llvmlite/pull/250 and the associated string targeted for removal from ffi/Makefile.linux no longer exists
05:27:50
@medliviz:matrix.orgmedliviz joined the room.21:00:38
4 Jan 2024
@medliviz:matrix.orgmedlivizHi there, I am facing issues with resolving system dependencies for python packages....can I get advice on what's the best way to solve this09:50:01
5 Jan 2024
@k900:0upti.meK900Can I get a sanity check/merge on https://github.com/nix-community/poetry2nix/pull/1486 ?07:41:13
@k900:0upti.meK900setuptools-scm-git-archive is basically completely dead now07:41:22
@k900:0upti.meK900There's a few other places it's added unconditionally but I don't know those well enough to tell if it's good07:41:45
8 Jan 2024
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus) joined the room.11:54:06
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus)

Hey y'all.
Can somebody explain me why

          projectDir = self;
          overrides =
            overrides.withDefaults
            (
              self: super: {
                rpds-py = super.rpds-py.overridePythonAttrs (old: {
                  cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
                    inherit (old) src;
                    name = "${old.pname}-${old.version}";
                    sha256 = "sha256-aPmi/5UAkePf4nC2zRjXY+vZsAsiRZqTHyZZmzFHcqE=";
                  };
                });
              }
            );
        };

``` fails to evaluate cargoDeps at all, 

but when I switch the order in the list of  withDefaults in poetry2nix/defaults.nix, then that works (and a test case starts failing :) ).

I presume it's because the default override does replace the cargoDeps with it's own (failing) lookup.


But then I gotta ask: Shouldn't it be the other way around in withDefaults, so I can actually override those defaults?

11:57:59
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus) *

Hey y'all.
Can somebody explain me why

          projectDir = self;
          overrides =
            overrides.withDefaults
            (
              self: super: {
                rpds-py = super.rpds-py.overridePythonAttrs (old: {
                  cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
                    inherit (old) src;
                    name = "${old.pname}-${old.version}";
                    sha256 = "sha256-aPmi/5UAkePf4nC2zRjXY+vZsAsiRZqTHyZZmzFHcqE=";
                  };
                });
              }
            );
        };

```
 fails to evaluate cargoDeps at all, 

but when I switch the order in the list of  withDefaults in poetry2nix/defaults.nix, then that works (and a test case starts failing :) ).

I presume it's because the default override does replace the cargoDeps with it's own (failing) lookup.


But then I gotta ask: Shouldn't it be the other way around in withDefaults, so I can actually override those defaults?

12:00:59
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus) *

Hey y'all.
Can somebody explain me why

          projectDir = self;
          overrides =
            overrides.withDefaults
            (
              self: super: {
                rpds-py = super.rpds-py.overridePythonAttrs (old: {
                  cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
                    inherit (old) src;
                    name = "${old.pname}-${old.version}";
                    sha256 = "sha256-aPmi/5UAkePf4nC2zRjXY+vZsAsiRZqTHyZZmzFHcqE=";
                  };
                });
              }
            );
        };

fails to evaluate cargoDeps at all,

but when I switch the order in the list of withDefaults in poetry2nix/defaults.nix, then that works (and a test case starts failing :) ).

I presume it's because the default override does replace the cargoDeps with it's own (failing) lookup.

But then I gotta ask: Shouldn't it be the other way around in withDefaults, so I can actually override those defaults?

12:01:08

Show newer messages


Back to Room ListRoom Version: 6