NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.16k stars 14.18k forks source link

Build failure: python3.12-dasbus-unstable #326465

Closed carschandler closed 3 months ago

carschandler commented 4 months ago

Steps To Reproduce

Steps to reproduce the behavior: nix develop on this flake.nix:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  };

  outputs = { nixpkgs, ... }:
    let
      python_package = "python3";
      pypkgs = ps: with ps; [
        dasbus
      ];
      pkgs = nixpkgs.legacyPackages.x86_64-linux;
      py = pkgs.${python_package}.withPackages pypkgs;
    in
    {
      devShells.x86_64-linux.default = pkgs.mkShell {
        packages = [
          py
        ];
      };
    };
}

Build log

https://gist.github.com/carschandler/8d67df6cc751eb06e43ae6b39ec5b53d

Additional context

Discovered as a result of nwg-panel's dependency on the package

Notify maintainers

@moni-dz

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.33, NixOS, 24.11 (Vicuna), 24.11.20240709.feb2849`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - nixpkgs: `/nix/store/5w7nhyvrgsa81h0kyifmbl6j97hvlzh5-source`

^^ But this is misleading because the nixpkgs version I am trying to build from is not that version since this happened after I updated my flake.lock so the new version hasn't been pinned yet for me


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

nephalemsec commented 4 months ago

Any current bypass for this in the meantime? I've tried overriding to disable tests to no avail.

ghpzin commented 3 months ago

Upstream issue: https://github.com/dasbus-project/dasbus/issues/128 pytest 8.2 issue related to that: https://github.com/pytest-dev/pytest/issues/12275

Currently builds on master, seems to have been fixed in https://github.com/NixOS/nixpkgs/pull/328185

pbsds commented 3 months ago

failure matches https://hydra.nixos.org/build/265219417, working version now builds on hydra https://hydra.nixos.org/build/267295013