!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

306 Members
https://github.com/nix-community/poetry2nix56 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
23 Feb 2024
@ilpianista:kde.org@ilpianista:kde.org left the room.14:20:16
@seirl:matrix.orgseirl left the room.16:59:47
25 Feb 2024
@xescure:matrix.orgxescure

Has anyone managed to build PyMuPDF? It fails on version 1.20.2 with:

...
  PyMuPDF/setup.py:     _: /nix/store/qjk5lc0c7spkxbqvyzmil58plrvlkvaj-python3-3.10.13/bin/python3.10
  PyMuPDF/setup.py:     PIP_BUILD_TRACKER: /build/pip-build-tracker-88_3zr2k
  running clean
  'build/lib.linux-x86_64-cpython-310' does not exist -- can't clean it
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.10' does not exist -- can't clean it
Failed to build PyMuPDF
ERROR: Failed to build one or more wheels
15:20:25
@xescure:matrix.orgxescure It already has libclang and setuptools 15:20:49
@xescure:matrix.orgxescurenot sure what I can do about it15:21:02
26 Feb 2024
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus) changed their display name from TyberiusPrime (possibly infected with highly specific brain worms) to TyberiusPrime (smilodon inopinatus).09:24:21
@xescure:matrix.orgxescureI guess I'll have to make an issue or fix it for myself21:15:44
@xescure:matrix.orgxescureon the bright side I'll at least learn something about packaging python libraries21:16:14
27 Feb 2024
@gaivs:matrix.orggaivsHave anyone had problems installing pyqt? I'm not able to add pyqt5 to poetry at all, and while poetry add pyqt6 works, when I build it with nix, I get a bunch of missing Qt libraries 07:42:01
@lunarequest:greyseal.eu@lunarequest:greyseal.eu joined the room.11:55:13
@lunarequest:greyseal.eu@lunarequest:greyseal.euI'm trying to use poetry2nix to package an application11:56:31
@gaivs:matrix.orggaivs
In reply to @lunarequest:greyseal.eu
I'm trying to use poetry2nix to package an application
Cool, are you having any issues?
12:10:35
@xescure:matrix.orgxescure
In reply to @gaivs:matrix.org
Have anyone had problems installing pyqt? I'm not able to add pyqt5 to poetry at all, and while poetry add pyqt6 works, when I build it with nix, I get a bunch of missing Qt libraries
Have you tried adding random nativeBuildInputs?
12:12:58
@lunarequest:greyseal.eu@lunarequest:greyseal.eu
In reply to@gaivs:matrix.org
Cool, are you having any issues?
was having an issue, it seems to have resolved itself but had to run out before i could ask
12:18:39
@lunarequest:greyseal.eu@lunarequest:greyseal.eu* was having an issue, it seems to have resolved itself but had to run out before i could update/ask the question12:18:50
@gaivs:matrix.orggaivs
In reply to @xescure:matrix.org
Have you tried adding random nativeBuildInputs?

It seems to work for the hard coded versions of pyqt6 in the tests directory for pyqt6. I wonder why this is the case...

12:48:10
@xescure:matrix.orgxescure
In reply to @xescure:matrix.org

Has anyone managed to build PyMuPDF? It fails on version 1.20.2 with:

...
  PyMuPDF/setup.py:     _: /nix/store/qjk5lc0c7spkxbqvyzmil58plrvlkvaj-python3-3.10.13/bin/python3.10
  PyMuPDF/setup.py:     PIP_BUILD_TRACKER: /build/pip-build-tracker-88_3zr2k
  running clean
  'build/lib.linux-x86_64-cpython-310' does not exist -- can't clean it
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.10' does not exist -- can't clean it
Failed to build PyMuPDF
ERROR: Failed to build one or more wheels
15:16:15
@xescure:matrix.orgxescure
In reply to @xescure:matrix.org

Has anyone managed to build PyMuPDF? It fails on version 1.20.2 with:

...
  PyMuPDF/setup.py:     _: /nix/store/qjk5lc0c7spkxbqvyzmil58plrvlkvaj-python3-3.10.13/bin/python3.10
  PyMuPDF/setup.py:     PIP_BUILD_TRACKER: /build/pip-build-tracker-88_3zr2k
  running clean
  'build/lib.linux-x86_64-cpython-310' does not exist -- can't clean it
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.10' does not exist -- can't clean it
Failed to build PyMuPDF
ERROR: Failed to build one or more wheels
*
          pymupdf = super.pymupdf.overridePythonAttrs
          (
            old: {
              buildInputs = (old.buildInputs or [ ]) ++ [
                pkgs.freetype
                pkgs.harfbuzz
                pkgs.openjpeg
                pkgs.jbig2dec
                pkgs.libjpeg_turbo
                pkgs.gumbo
              ];
              nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [
                pkgs.pkg-config
                pkgs.swig
              ];
            }
          );
15:16:36
@xescure:matrix.orgxescureThis abomination solved my problems15:18:20

Show newer messages


Back to Room ListRoom Version: 6