!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

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

Load older messages


SenderMessageTime
11 Dec 2023
@quleuber:matrix.orgquleuber
In reply to @adis:blad.is
You can work around it with nix develop --impure

Does something like this also looks like a sensible workaround?

        shellRc = ''
          root="$(git rev-parse --show-toplevel)"
          export PYTHONPATH="$root/src:$PYTHONPATH"
        '';
13:54:16
@quleuber:matrix.orgquleuber
In reply to @adis:blad.is
You can work around it with nix develop --impure
*

Does something like this also looks like a sensible workaround?

     let
        shellRc = ''
          root="$(git rev-parse --show-toplevel)"
          export PYTHONPATH="$root/src:$PYTHONPATH"
        '';
   in {
        devShells = {
          default = pkgs.mkShell {
            shellHook = shellRc;
            inputsFrom = non_python_dependencies ++ [ packages.cexpl-py-dev.env ];
          };
       };
  ...
13:54:54
@matthewcroughan:defenestrate.itmatthewcroughan
error: hash mismatch in fixed-output derivation '/nix/store/jxnvqm1m8wbpz4bi2jh9gc4whvxccz86-rpds-py-0.13.0-vendor.tar.gz.drv':
         specified: sha256-jdr0xN3Pd/bCoKfLLFNGXHJ+G1ORAft6/W7VS3PbdHs=
            got:    sha256-bHfxiBSN7/SbZiyYRj01phwrpyH7Fa3xVaA3ceWZYCE=
18:05:22
@matthewcroughan:defenestrate.itmatthewcroughanDoes this stuff happen because they replace certain files corresponding to a version release?18:06:05
@matthewcroughan:defenestrate.itmatthewcroughanOh no, it's because I was maintaining an override and didn't know it :D 18:06:52
@matthewcroughan:defenestrate.itmatthewcroughanI see something in a poetry.lock20:27:01
@matthewcroughan:defenestrate.itmatthewcroughan optimum = {version = ">=1.13.2,<2.0.0", extras = ["onnxruntime"], optional = true, markers = "extra == \"local-models\""} 20:27:02
@matthewcroughan:defenestrate.itmatthewcroughan what does optional = true mean, and how can I tell poetry2nix to remove it if it's optional? 20:27:17
12 Dec 2023
@cameronraysmith:matrix.orgcameronraysmithRedacted or Malformed Event02:50:49
@cameronraysmith:matrix.orgcameronraysmith
In reply to @reivilibre:librepush.net
I think mysql-connector-python is to blame; its sdist (source distribution) doesn't have a setup.py in it. Even pip can't install it
https://bugs.mysql.com/bug.php?id=113396
04:10:45
@cameronraysmith:matrix.orgcameronraysmith
In reply to @reivilibre:librepush.net
I think mysql-connector-python is to blame; its sdist (source distribution) doesn't have a setup.py in it. Even pip can't install it
*

https://bugs.mysql.com/bug.php?id=113396

@rolandco:matrix.org

04:11:33
@cameronraysmith:matrix.orgcameronraysmith Does anyone have experience with the sort of issue described in this discussion: https://github.com/orgs/python-poetry/discussions/8781 ? I don't think it really has much to do with poetry2nix even if it's conceivable to patch it in the flake. For more direct access, I reference the flake toward the end of that discussion question. 13:52:57
@cameronraysmith:matrix.orgcameronraysmith * Does anyone have experience with the sort of issue described in this discussion question: https://github.com/orgs/python-poetry/discussions/8781 ? I don't think it really has much to do with poetry2nix even if it's conceivable to patch it in the flake. For more direct access, I reference the flake toward the end of that discussion question. 13:54:50
@cameronraysmith:matrix.orgcameronraysmith * Does anyone have experience with the sort of issue described in this discussion question: https://github.com/orgs/python-poetry/discussions/8781 ? I don't think it really has much to do with poetry2nix even if it's conceivable to patch it in the flake. For more direct access, I reference the flake toward the end of that discussion question, but the question has to do with package name normalization in poetry.lock files for packages installed from git source of a package also distributed on PyPI. 13:56:32
@cameronraysmith:matrix.orgcameronraysmith * Does anyone have experience with the sort of issue described in this discussion question: https://github.com/orgs/python-poetry/discussions/8781 ? I don't think it really has much to do with poetry2nix even if it's conceivable to patch it in the flake. For more direct access, I reference the flake toward the end of that discussion question, but the question has to do with consistency of package name normalization in poetry.lock files for packages installed from git source that are also distributed on PyPI. 13:57:13
@connorbaker:matrix.org@connorbaker:matrix.org left the room.14:24:40
14 Dec 2023
@schuelermine:matrix.orgschuelermine changed their profile picture.20:49:27
15 Dec 2023
@sara:chiral.devsara joined the room.03:32:32
@ryoschin:matrix.org@ryoschin:matrix.org https://pypi.org/project/types-openpyxl/ This package seems to be missing? 22:19:57
@ryoschin:matrix.org@ryoschin:matrix.org * https://pypi.org/project/types-openpyxl/ This package is either missing or I am the one missing something 22:20:30
@ryoschin:matrix.org@ryoschin:matrix.org * https://pypi.org/project/types-openpyxl/ Is this package missing, or am I missing something? 22:20:56
@ryoschin:matrix.org@ryoschin:matrix.org * https://pypi.org/project/types-openpyxl/ - Is this package missing, or am I missing something? 22:21:02
16 Dec 2023
@reivilibre:librepush.net@reivilibre:librepush.net
In reply to @ryoschin:matrix.org
https://pypi.org/project/types-openpyxl/ - Is this package missing, or am I missing something?
I can see the package. What's the problem?
00:56:53
@ryoschin:matrix.org@ryoschin:matrix.orgMissing from nixpkgs21:35:42
@vengmark2:matrix.org@vengmark2:matrix.org Does anyone know what to do with "unexpected argument 'flit-core'"? I can't reproduce locally and I have tried nixpkgs 23.05, 23.11, and unstable. 22:44:58
17 Dec 2023
@brokenpip3:matrix.org@brokenpip3:matrix.org joined the room.23:04:01
18 Dec 2023
@gaivs:matrix.orggaivsHello! I'm trying to get numba with cuda support to work, have anyone here an idea of how to do this?07:31:57
@gaivs:matrix.orggaivsBy adding /run/opengl-driver/lib to LD_LIBRART_PATH does get me further, I can now find the GPU, but now I can't find libcudart.so07:37:13
@gaivs:matrix.orggaivsOk it seems I have two different cudatoolkits for some reason, one with and one without libcudart... One seems to come from the derivation for numba, while the other from adding it to my flakes packages...07:55:47
@gaivs:matrix.orggaivsRight so one cudatoolkits has only libcudart and the other has everything else? Wth 08:04:12

Show newer messages


Back to Room ListRoom Version: 6