Skip to content

Update requirements #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- uses: tlylt/install-graphviz@v1

@@ -57,7 +57,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Install
run: python setup.py install
run: python -m pip install -e . -v

- name: Copy license, changelogs
run: |
2 changes: 1 addition & 1 deletion .github/workflows/wheels-any.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- name: build wheel
run: python -m pip wheel .
1 change: 1 addition & 0 deletions CHANGELOGS.rst
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ Change Logs
0.3.1
+++++

* :pr:`100`: updates requirements, add 3.12
* :pr:`96`: supports local functions in translator
* :pr:`95`: improves translation to GraphBuilder

2 changes: 1 addition & 1 deletion _doc/conf.py
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@
"inner API": "https://onnx.ai/onnx/intro/python.html",
"JIT": "https://en.wikipedia.org/wiki/Just-in-time_compilation",
"onnx": "https://onnx.ai/onnx/",
"onnx-graphsurgeon": "https://docs.nvidia.com/deeplearning/tensorrt/onnx-graphsurgeon/docs/index.html",
"onnx-graphsurgeon": "https://github.com/NVIDIA/TensorRT/tree/main/tools/onnx-graphsurgeon",
"onnx.helper": "https://onnx.ai/onnx/api/helper.html",
"ONNX": "https://onnx.ai/",
"ONNX Operators": "https://onnx.ai/onnx/operators/",
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -51,8 +51,8 @@ jobs:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python311-Linux:
python.version: '3.11'
Python312-Linux:
python.version: '3.12'
maxParallel: 3

steps:
@@ -155,8 +155,8 @@ jobs:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python311-Linux:
python.version: '3.11'
Python312-Linux:
python.version: '3.12'
maxParallel: 3

steps:
@@ -208,8 +208,8 @@ jobs:
vmImage: 'windows-latest'
strategy:
matrix:
Python311-Windows:
python.version: '3.11'
Python312-Windows:
python.version: '3.12'
maxParallel: 3

steps:
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
array_api_compat
array_api_strict
autopep8
black
coverage
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
array_api_compat
array_api_strict
numpy
onnx>=1.15.0
scipy
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -62,9 +62,10 @@
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)