From 2c10a4f8c24cc9454eaddb99d40034a976ac8f58 Mon Sep 17 00:00:00 2001 From: ZHU Yuhao Date: Tue, 31 Mar 2026 19:03:25 +0200 Subject: [PATCH] Update numojo --- recipes/numojo/recipe.yaml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/recipes/numojo/recipe.yaml b/recipes/numojo/recipe.yaml index 61ff8d59..eb3cc34d 100644 --- a/recipes/numojo/recipe.yaml +++ b/recipes/numojo/recipe.yaml @@ -1,5 +1,6 @@ context: - version: "0.7.0" + version: "0.9.0" + mojo_version: "=0.26.2" package: name: "numojo" @@ -7,30 +8,20 @@ package: source: - git: https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo.git - rev: 2b72ef420f68329a5d99120e0cdb642f027ae837 + rev: d4b7fd744a81c855bd99905b2a42bf05cbd705a2 build: number: 0 script: - mojo package numojo -o ${{ PREFIX }}/lib/mojo/numojo.mojopkg + requirements: host: - - max=25.3 + - mojo-compiler ${{ mojo_version }} + build: + - mojo-compiler ${{ mojo_version }} run: - - ${{ pin_compatible('max') }} - -tests: - - script: - - if: unix - then: - - mojo run tests.mojo - requirements: - run: - - max=25.3 - - numpy - files: - recipe: - - tests.mojo + - mojo-compiler ${{ mojo_version }} about: homepage: https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo