From 1c19859e01a467be4a3b3b6315df63ec43a0fbc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ZHU=20Yuhao=20=E6=9C=B1=E5=AE=87=E6=B5=A9?= Date: Fri, 13 Jun 2025 11:14:02 +0200 Subject: [PATCH] Update numojo to v0.7.0 --- recipes/numojo/README.md | 10 +++++----- recipes/numojo/recipe.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/recipes/numojo/README.md b/recipes/numojo/README.md index d1aafeea..f6ae9f55 100644 --- a/recipes/numojo/README.md +++ b/recipes/numojo/README.md @@ -187,21 +187,21 @@ fn main() raises: There are three approach to install and use the Numojo package. -### Use magic CLI +### Use pixi CLI You can use the following command in the terminal to install `numojo`. ```console -magic add numojo +pixi add numojo ``` ### Add in toml file -You can add `numojo` in the dependencies section of your toml file. +You can add `pixi` in the dependencies section of your toml file. ```toml [dependencies] -numojo = "==0.6" +pixi = "==0.7.0" ``` ### Build package @@ -209,7 +209,7 @@ numojo = "==0.6" This approach involves building a standalone package file `mojopkg`. 1. Clone the repository. -2. Build the package using `magic run package`. +2. Build the package using `pixi run package`. 3. Move the `numojo.mojopkg` into the directory containing the your code. ### Include NuMojo's path for compiler and LSP diff --git a/recipes/numojo/recipe.yaml b/recipes/numojo/recipe.yaml index 5f31ba69..61ff8d59 100644 --- a/recipes/numojo/recipe.yaml +++ b/recipes/numojo/recipe.yaml @@ -1,5 +1,5 @@ context: - version: "0.6.1" + version: "0.7.0" package: name: "numojo" @@ -7,7 +7,7 @@ package: source: - git: https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo.git - rev: f0dea371bfd15df65e917e013e11d6177bfc975a + rev: 2b72ef420f68329a5d99120e0cdb642f027ae837 build: number: 0 @@ -15,7 +15,7 @@ build: - mojo package numojo -o ${{ PREFIX }}/lib/mojo/numojo.mojopkg requirements: host: - - max=25.1.1 + - max=25.3 run: - ${{ pin_compatible('max') }} @@ -26,7 +26,7 @@ tests: - mojo run tests.mojo requirements: run: - - max=25.1.1 + - max=25.3 - numpy files: recipe: