Skip to content

python3Packages.boxx: fix build, remove outdated dependency#380403

Closed
ruro wants to merge 4 commits intoNixOS:masterfrom
ruro:fix-boxx-remove-fn
Closed

python3Packages.boxx: fix build, remove outdated dependency#380403
ruro wants to merge 4 commits intoNixOS:masterfrom
ruro:fix-boxx-remove-fn

Conversation

@ruro
Copy link
Contributor

@ruro ruro commented Feb 8, 2025

Fixes #379872. Turns out, the problematic dependency on fn was removed from boxx upstream in one of the updates, but we missed that.

Currently, this branch is based on top of 3a22805 (a 6 day old nixos-unstable commit) instead of master, because blender (which is required for running the bpycv tests) seems to be broken on the current master.

Things done

  • removed the no longer required dependency on fn
  • removed the fn package from nixpkgs (it was only used by boxx and fn itself is currently broken in modern versions of python and hasn't been updated for 11 years)
  • fixed the broken test discovery in boxx

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 8, 2025
@ruro
Copy link
Contributor Author

ruro commented Feb 8, 2025

While testing and debugging this PR, I stumbled on this upstream issue: DIYer22/bpycv#51.

It turns out that bpycv doesn't support blender versions 4 and up (and in fact our tests for bpycv were probably silently failing for quite a while because without the --python-exit-code flag blender didn't propagate error codes from the test script).

Nixpkgs currently ships blender 4.3.2 and both the upstream author of bpycv and our nixpkgs maintainer don't seem too interested in maintaining it. So, unfortunately, maintaining bpycv, boxx, zcs and fn in nixpkgs doesn't seem to be currently worth it, so I am going to push for the removal of these packages.

@ruro ruro closed this Feb 8, 2025
@ruro ruro mentioned this pull request Feb 14, 2025
13 tasks
prusnak pushed a commit that referenced this pull request Feb 15, 2025
The bpycv package is incompatible with blender version 4 or later. It
seems that neither upstream author nor the nixpkgs maintainer are
currently interested in updating/maintaining this package.

See:
- #379872
- DIYer22/bpycv#51
- #380403
- #380443
ConnorBaker pushed a commit to nixos-cuda/cuda-legacy that referenced this pull request Apr 14, 2025
The bpycv package is incompatible with blender version 4 or later. It
seems that neither upstream author nor the nixpkgs maintainer are
currently interested in updating/maintaining this package.

See:
- NixOS/nixpkgs#379872
- DIYer22/bpycv#51
- NixOS/nixpkgs#380403
- NixOS/nixpkgs#380443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: python3Packages.boxx

1 participant