forked from onnx/onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
87 lines (75 loc) · 2.05 KB
/
pixi.toml
File metadata and controls
87 lines (75 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
[project]
authors = ["ONNX Contributors <onnx-technical-discuss@lists.lfaidata.foundation>"]
channels = ["conda-forge"]
description = "Open Neural Network Exchange"
name = "onnx"
platforms = ["osx-arm64", "linux-64", "win-64"]
[tasks.install]
cmd = 'export CMAKE_ARGS="$CMAKE_ARGS $CMAKE_EXTRA_ARGS" && pip install --no-deps --ignore-installed --verbose --no-build-isolation .'
[tasks.install.env]
ONNX_ML="1"
ONNX_BUILD_TESTS="1"
CMAKE_EXTRA_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
[tasks.gen-docs]
depends-on = "build"
cmd = "python onnx/defs/gen_doc.py"
[tasks.gtest]
cmd = ".setuptools-cmake-build/onnx_gtests"
[target.win-64.tasks.gtest]
# Different path on Windows
cmd = ".setuptools-cmake-build/Release/onnx_gtests.exe"
[tasks.pytest]
cmd = "pytest"
[build-dependencies]
c-compiler = ">=1.8.0"
cmake = ">=3.31.5"
cxx-compiler = ">=1.8.0"
make = "*"
ninja = "*"
[host-dependencies]
libdate = ">=3.0.1,<4"
libprotobuf = "*"
pip = ">=25.0"
nanobind = ">=2.8.0"
[dependencies]
packaging = ">=24.1"
python = ">=3.9"
ml_dtypes = ">=0.5.1"
[feature.dev.dependencies]
# follows requirements-dev.txt
ml_dtypes = ">=0.5.1"
numpy = ">=1.22.0"
parameterized = ">=0.9.0"
protobuf = ">=4.25.1"
pytest = ">=8.3.4"
pytest-cov = ">=6.0.0"
pytest-xdist = ">=3.6.1"
setuptools = ">=75.8.0"
wheel = ">=0.45.1"
[feature.reference.dependencies]
# follows requirements-reference.txt
pillow = ">=11.2.1,<12"
[feature.oldies.dependencies]
# follows requirements-min.txt
protobuf = "==4.25.1"
python = "3.10.*"
numpy = "==1.23.2"
[feature.lint.tasks]
lintrunner-init = "lintrunner init"
lintrunner-run = "lintrunner --all-files"
[feature.lint.dependencies]
# follows requirements-lintrunner.txt
ruff = "==0.13.1"
mypy = "==1.17.1"
types-protobuf = "==6.30.2.20250516"
clang-format = ">=20.1.5"
[feature.lint.pypi-dependencies]
lintrunner = ">=0.10.7"
lintrunner-adapters = ">=0.12.3"
editorconfig-checker = "==3.2.1"
[environments]
default = ["dev", "lint", "reference"]
oldies = ["dev", "lint", "reference", "oldies"]