Skip to content

Commit bca8078

Browse files
authored
Update numojo to v0.7.0 (#130)
1 parent 5ef29d9 commit bca8078

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

recipes/numojo/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,29 +187,29 @@ fn main() raises:
187187

188188
There are three approach to install and use the Numojo package.
189189

190-
### Use magic CLI
190+
### Use pixi CLI
191191

192192
You can use the following command in the terminal to install `numojo`.
193193

194194
```console
195-
magic add numojo
195+
pixi add numojo
196196
```
197197

198198
### Add in toml file
199199

200-
You can add `numojo` in the dependencies section of your toml file.
200+
You can add `pixi` in the dependencies section of your toml file.
201201

202202
```toml
203203
[dependencies]
204-
numojo = "==0.6"
204+
pixi = "==0.7.0"
205205
```
206206

207207
### Build package
208208

209209
This approach involves building a standalone package file `mojopkg`.
210210

211211
1. Clone the repository.
212-
2. Build the package using `magic run package`.
212+
2. Build the package using `pixi run package`.
213213
3. Move the `numojo.mojopkg` into the directory containing the your code.
214214

215215
### Include NuMojo's path for compiler and LSP

recipes/numojo/recipe.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
context:
2-
version: "0.6.1"
2+
version: "0.7.0"
33

44
package:
55
name: "numojo"
66
version: ${{ version }}
77

88
source:
99
- git: https://github.com/Mojo-Numerics-and-Algorithms-group/NuMojo.git
10-
rev: f0dea371bfd15df65e917e013e11d6177bfc975a
10+
rev: 2b72ef420f68329a5d99120e0cdb642f027ae837
1111

1212
build:
1313
number: 0
1414
script:
1515
- mojo package numojo -o ${{ PREFIX }}/lib/mojo/numojo.mojopkg
1616
requirements:
1717
host:
18-
- max=25.1.1
18+
- max=25.3
1919
run:
2020
- ${{ pin_compatible('max') }}
2121

@@ -26,7 +26,7 @@ tests:
2626
- mojo run tests.mojo
2727
requirements:
2828
run:
29-
- max=25.1.1
29+
- max=25.3
3030
- numpy
3131
files:
3232
recipe:

0 commit comments

Comments
 (0)