NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.98k stars 14k forks source link

Build failure: python312Packages.python-lsp-server #303272

Open clot27 opened 6 months ago

clot27 commented 6 months ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add python312 and python312Packages.python-lsp-server to conf.nix
  2. Rebuild system

Build log

building Nix...
building the system configuration...
error:
       … while calling the 'head' builtin

         at /nix/store/i9w6bh8kchvza9k4a3z3wi098a0pa39a-nixos-23.11/nixos/lib/attrsets.nix:922:11:

          921|         || pred here (elemAt values 1) (head values) then
          922|           head values
             |           ^
          923|         else

       … while evaluating the attribute 'value'

         at /nix/store/i9w6bh8kchvza9k4a3z3wi098a0pa39a-nixos-23.11/nixos/lib/modules.nix:807:9:

          806|     in warnDeprecation opt //
          807|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          808|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: dbus-python-1.2.18 not supported for interpreter python3.12

Additional context

python311Packages works without any issues

Notify maintainers

@fabaff

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.84, NixOS, 23.11 (Tapir), 23.11.5911.e38d7cb66ea4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

fabaff commented 6 months ago

error: dbus-python-1.2.18 not supported for interpreter python3.12

dbus-python still uses distutils. 1.4.0 is not released.