Build Failure: Python312Packages.woob

by ADMIN 38 views

Introduction

In this article, we will be discussing a build failure in the python312Packages.woob package in Nixpkgs. The build failure occurs when running nix build github:nixos/nixpkgs#python312Packages.woob. We will go through the steps to reproduce the build failure, the relevant log output, and the additional context to understand the cause of the issue.

Nixpkgs Version

The Nixpkgs version used in this build failure is unstable (25.05).

Steps to Reproduce

To reproduce this build failure, follow these steps:

  1. Run nix build github:nixos/nixpkgs#python312Packages.woob.

Can Hydra Reproduce this Build Failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra Build Job

The link to the Hydra build job is: https://hydra.nixos.org/build/295231962.

Relevant Log Output

The relevant log output is as follows:

Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for woob-3.6-py3-none-any.whl
  - rich~=13.0 not satisfied by version 14.0.0

Additional Context

The cause of this build failure is that python312Packages.rich was updated from 13.9.4 to 14.0.0, which no longer satisfies woob's version constraint. This was performed in commit 6c22a1c2f187b1d6fdfcdb9104aa9b8a3c8e312b, and merged in PR #395156.

The primary impact of this issue is that KMyMoney no longer builds on the latest unstable, as it depends on woob.

System Metadata

The system metadata is as follows:

  • system: "x86_64-linux"
  • host os: Linux 6.12.15, NixOS, 25.05 (Warbler), 25.05.20250325.698214a
  • multi-user?: yes
  • sandbox: relaxed
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos"
  • channels(maxwell): "home-manager, nixos"
  • nixpkgs: /nix/store/4m21g6b3bq78vn5skaxjmqwg7fnir87j-source

Notify Maintainers

The maintainers of woob and rich are:

  • woob maintainer: @DamienCassou
  • rich maintainer: @risicle

Note for Maintainers

Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

Is this Issue Important to You?

If you find this issue important, please add a :+1: reaction to [issues you find important].

Conclusion

Q: What is the cause of the build failure in python312Packages.woob?

A: The cause of the build failure is that python312Packages.rich was updated from 13.9.4 to 14.0.0, which no longer satisfies woob's version constraint.

Q: What is the impact of this issue?

A: The primary impact of this issue is that KMyMoney no longer builds on the latest unstable, as it depends on woob.

Q: How can I reproduce this build failure?

A: To reproduce this build failure, follow these steps:

  1. Run nix build github:nixos/nixpkgs#python312Packages.woob.

Q: Can Hydra reproduce this build failure?

A: Yes, Hydra can reproduce this build failure.

Q: What is the link to the Hydra build job?

A: The link to the Hydra build job is: https://hydra.nixos.org/build/295231962.

Q: What is the relevant log output for this build failure?

A: The relevant log output is as follows:

Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for woob-3.6-py3-none-any.whl
  - rich~=13.0 not satisfied by version 14.0.0

Q: Who are the maintainers of woob and rich?

A: The maintainers of woob and rich are:

  • woob maintainer: @DamienCassou
  • rich maintainer: @risicle

Q: How can I notify the maintainers of this issue?

A: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

Q: Is this issue important to you?

A: If you find this issue important, please add a :+1: reaction to [issues you find important].

Q: What is the system metadata for this issue?

A: The system metadata is as follows:

  • system: "x86_64-linux"
  • host os: Linux 6.12.15, NixOS, 25.05 (Warbler), 25.05.20250325.698214a
  • multi-user?: yes
  • sandbox: relaxed
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos"
  • channels(maxwell): "home-manager, nixos"
  • nixpkgs: /nix/store/4m21g6b3bq78vn5skaxjmqwg7fnir87j-source

Q: What is the Nixpkgs version used in this build failure?

A: The Nixpkgs version used in this build failure is unstable (25.05).

Conclusion

In conclusion, we hope that this Q&A article has provided a clear understanding of the build failure in python312Packages.woob and its cause. If you have any further questions, please don't hesitate to ask.