Skip to content

mokuro: 0.2.1 -> 0.2.2#380446

Merged
pbsds merged 1 commit intoNixOS:masterfrom
TomaSajt:mokuro
Feb 18, 2025
Merged

mokuro: 0.2.1 -> 0.2.2#380446
pbsds merged 1 commit intoNixOS:masterfrom
TomaSajt:mokuro

Conversation

@TomaSajt
Copy link
Contributor

@TomaSajt TomaSajt commented Feb 8, 2025

Fixes #380380

The error was a runtime error, and we don't run pytest tests for this package, so it went unnoticed.

This version bump fixes it.

Things done

  • 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 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 8, 2025
@ethancedwards8
Copy link
Member

Fixes #380380

The error was a runtime error, and we don't run pytest tests for this package, so it went unnoticed.

Should we add the pytest while we're at it?

@TomaSajt
Copy link
Contributor Author

TomaSajt commented Feb 9, 2025

The file that is fetched is the pytorch model.

I tried to prefetch it, but the model itself wants to load some extra metadata from the huggingface repo that was not part of the model file.

There might be a way to do this, but I don't know enough to actually do it.

@antonmosich
Copy link
Contributor

Maybe using versionCheckHook would be a way to notice runtime errors?

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 380446


x86_64-linux

✅ 2 packages built:
  • mokuro
  • mokuro.dist

@pbsbot
Copy link

pbsbot commented Feb 18, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 380446


x86_64-linux

✅ 2 packages built:
  • mokuro
  • mokuro.dist

@pbsds pbsds merged commit 4a531f3 into NixOS:master Feb 18, 2025
27 checks passed
@TomaSajt TomaSajt deleted the mokuro branch April 24, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mokuro: AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?

6 participants