Skip to content

Commit

Permalink
Relax numpy constraint to allow numpy 2 (#88)
Browse files Browse the repository at this point in the history
We don't have a version constraint for various other dependencies, and
having this constraint causes a build failure in the nixpkgs build of
this package: NixOS/nixpkgs#369935

After removing this constraint, we get numpy2, and the program still
runs and OCRs stuff, so it seems like it works fine?

Happy to test anything else too of course if there's any specific
worries about something numpy2 might break
  • Loading branch information
euank authored Jan 1, 2025
1 parent c5c76c3 commit d27fa9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies = [
"fugashi",
"jaconv",
"loguru",
"numpy<2",
"numpy",
"Pillow>=10.0.0",
"pyperclip",
"torch>=1.0",
Expand Down

0 comments on commit d27fa9c

Please sign in to comment.