!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

303 Members
https://github.com/nix-community/poetry2nix55 Servers

Load older messages


SenderMessageTime
12 Dec 2023
@cameronraysmith:matrix.org@cameronraysmith:matrix.org * 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
@gaivs:matrix.orggaivsSo adding this to shellHook makes this work... export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/run/opengl-driver/lib:/nix/store/...path-to-cudatoolkit-with-cudart.../lib:${pkgs.cudatoolkit}/lib" This is obviously not very reproducible... Anyone know of a better way to fix this? 08:23:25
@gurkan:matrix.org@gurkan:matrix.org left the room.18:18:06
19 Dec 2023
@v045:utwente.ioMarisa changed their profile picture.12:44:14
@v045:utwente.ioMarisa changed their display name from v045 to Marisa.12:56:46
26 Dec 2023
@vengmark2:matrix.org@vengmark2:matrix.org
In reply to @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.
adisbladis: Any ideas?
04:53:16
@das-g:matrix.orgdas-g changed their display name from das-g to das-g (DECT 4878).16:33:50
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan - nix.how to matthewcroughan - Linux 6.7 When.16:50:32
27 Dec 2023
@atrius:matrix.org@atrius:matrix.org left the room.01:53:54
@flokli:matrix.orgflokli changed their display name from flokli to flokli (DECT TVIX).12:48:35
29 Dec 2023
@ryoschin:matrix.org@ryoschin:matrix.org
error: builder for '/nix/store/a84cmdbixl66fpwaabpv00824rf91srs-python3.11-sphinxcontrib-jquery-4.1.drv' failed with exit code 1;
       last 10 log lines:
       >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
       >   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
       >   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
       >   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       >   File "/nix/store/pbx86iidhb639fpw5v5dzqb11r30vr3a-python3.11-sphinxcontrib-jquery-4.1/lib/python3.11/site-packages/sphinxcontrib/jquery/__init__.py", line 4, in <module>
       >     import sphinx
       > ModuleNotFoundError: No module named 'sphinx'
       For full logs, run 'nix log /nix/store/a84cmdbixl66fpwaabpv00824rf91srs-python3.11-sphinxcontrib-jquery-4.1.drv'.
error: 1 dependencies of derivation '/nix/store/dd20427qcp8hzk366xbgkfjy074ay5ql-python3.11-sphinx-rtd-theme-1.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4clrd2bi31nllninx3jprabv0w0z502p-python3.11-wrapt-1.14.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3dcm1pp23pk8x88i7rp7xyds6ddjy7g6-python3.11-astroid-2.15.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d318vswd0cs42c48j96kl9drp5xbxwhn-python3.11-pylint-2.17.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/61ynh7cwk569sccjvii1rdlpwh2lz2zj-python3.11-setuptools-lint-0.6.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h60vj9ivfwxlxydxqr8hbdyc2q3wi1lz-python3.11-pynput-1.7.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/isz6x5mx30pxvrs7kj1n8c8mmw7x0hmw-nix-shell-env.drv' failed to build
direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DETERMINISTIC_BUILD +HOST_PATH +IN_NIX_SHELL +LD +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_STORE +NM +OBJCOPY +OBJDUMP +PYTHONHASHSEED +PYTHONNOUSERSITE +PYTHONPATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +_PYTHON_HOST_PLATFORM +_PYTHON_SYSCONFIGDATA_NAME +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS

Even though I have the following piece of text inside my flake.nix?

pypkgs-build-requirements = {
          # discord = [ "setuptools" ];
          pynput = [ "sphinx" ];
        };
13:40:07
@ryoschin:matrix.org@ryoschin:matrix.org *
error: builder for '/nix/store/a84cmdbixl66fpwaabpv00824rf91srs-python3.11-sphinxcontrib-jquery-4.1.drv' failed with exit code 1;
       last 10 log lines:
       >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
       >   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
       >   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
       >   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       >   File "/nix/store/pbx86iidhb639fpw5v5dzqb11r30vr3a-python3.11-sphinxcontrib-jquery-4.1/lib/python3.11/site-packages/sphinxcontrib/jquery/__init__.py", line 4, in <module>
       >     import sphinx
       > ModuleNotFoundError: No module named 'sphinx'
       For full logs, run 'nix log /nix/store/a84cmdbixl66fpwaabpv00824rf91srs-python3.11-sphinxcontrib-jquery-4.1.drv'.
error: 1 dependencies of derivation '/nix/store/dd20427qcp8hzk366xbgkfjy074ay5ql-python3.11-sphinx-rtd-theme-1.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4clrd2bi31nllninx3jprabv0w0z502p-python3.11-wrapt-1.14.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3dcm1pp23pk8x88i7rp7xyds6ddjy7g6-python3.11-astroid-2.15.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d318vswd0cs42c48j96kl9drp5xbxwhn-python3.11-pylint-2.17.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/61ynh7cwk569sccjvii1rdlpwh2lz2zj-python3.11-setuptools-lint-0.6.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h60vj9ivfwxlxydxqr8hbdyc2q3wi1lz-python3.11-pynput-1.7.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/isz6x5mx30pxvrs7kj1n8c8mmw7x0hmw-nix-shell-env.drv' failed to build
direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DETERMINISTIC_BUILD +HOST_PATH +IN_NIX_SHELL +LD +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_STORE +NM +OBJCOPY +OBJDUMP +PYTHONHASHSEED +PYTHONNOUSERSITE +PYTHONPATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +_PYTHON_HOST_PLATFORM +_PYTHON_SYSCONFIGDATA_NAME +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS

Even though I have the following piece of text inside my flake.nix?

pypkgs-build-requirements = {
  # discord = [ "setuptools" ];
  pynput = [ "sphinx" ];
};
13:40:37
@rolandco:matrix.orgRoland Coeurjoly
In reply to @ryoschin:matrix.org
error: builder for '/nix/store/a84cmdbixl66fpwaabpv00824rf91srs-python3.11-sphinxcontrib-jquery-4.1.drv' failed with exit code 1;
       last 10 log lines:
       >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
       >   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
       >   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
       >   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
       >   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
       >   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       >   File "/nix/store/pbx86iidhb639fpw5v5dzqb11r30vr3a-python3.11-sphinxcontrib-jquery-4.1/lib/python3.11/site-packages/sphinxcontrib/jquery/__init__.py", line 4, in <module>
       >     import sphinx
       > ModuleNotFoundError: No module named 'sphinx'
       For full logs, run 'nix log /nix/store/a84cmdbixl66fpwaabpv00824rf91srs-python3.11-sphinxcontrib-jquery-4.1.drv'.
error: 1 dependencies of derivation '/nix/store/dd20427qcp8hzk366xbgkfjy074ay5ql-python3.11-sphinx-rtd-theme-1.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4clrd2bi31nllninx3jprabv0w0z502p-python3.11-wrapt-1.14.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3dcm1pp23pk8x88i7rp7xyds6ddjy7g6-python3.11-astroid-2.15.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d318vswd0cs42c48j96kl9drp5xbxwhn-python3.11-pylint-2.17.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/61ynh7cwk569sccjvii1rdlpwh2lz2zj-python3.11-setuptools-lint-0.6.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h60vj9ivfwxlxydxqr8hbdyc2q3wi1lz-python3.11-pynput-1.7.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/isz6x5mx30pxvrs7kj1n8c8mmw7x0hmw-nix-shell-env.drv' failed to build
direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DETERMINISTIC_BUILD +HOST_PATH +IN_NIX_SHELL +LD +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_STORE +NM +OBJCOPY +OBJDUMP +PYTHONHASHSEED +PYTHONNOUSERSITE +PYTHONPATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +_PYTHON_HOST_PLATFORM +_PYTHON_SYSCONFIGDATA_NAME +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS

Even though I have the following piece of text inside my flake.nix?

pypkgs-build-requirements = {
  # discord = [ "setuptools" ];
  pynput = [ "sphinx" ];
};
Weird, because in overrides/default.nix pynput already has sphinx
18:40:38
30 Dec 2023
@flokli:matrix.orgflokli changed their display name from flokli (DECT TVIX) to flokli.15:34:15
2 Jan 2024
@cameronraysmith:matrix.org@cameronraysmith:matrix.org

Since it's essential to use override to set the value of preferWheel as described in #948, how can you override both preferWheel and, for example, nativeBuildInputs? In this case

              dm-tree = super.dm-tree.override (
                old: {
                  preferWheel = false;
                  nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake ];
                }
              );

successfully disables the global setting of preferWheels = true for the target package but it seems nativeBuildInputs may not be successful ( or possibly cmake needs to be provided elsewhere or with additional configuration since the build fails where the target package setup.py calls cmake via subprocess to check that cmake is available on the PATH )

08:46:12

Show newer messages


Back to Room ListRoom Version: 6