Skip to content

Commit 96eb50e

Browse files
authored
Update requirements (#100)
* fix dependencies * fix version * 312 * 312 * ffix req * fix install * no iso
1 parent aab85ff commit 96eb50e

File tree

8 files changed

+15
-13
lines changed

8 files changed

+15
-13
lines changed

.github/workflows/documentation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525

2626
- uses: tlylt/install-graphviz@v1
2727

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

5959
- name: Install
60-
run: python setup.py install
60+
run: python -m pip install -e . -v
6161

6262
- name: Copy license, changelogs
6363
run: |

.github/workflows/wheels-any.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-python@v4
2121
with:
22-
python-version: '3.11'
22+
python-version: '3.12'
2323

2424
- name: build wheel
2525
run: python -m pip wheel .

CHANGELOGS.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Change Logs
44
0.3.1
55
+++++
66

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

_doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"inner API": "https://onnx.ai/onnx/intro/python.html",
122122
"JIT": "https://en.wikipedia.org/wiki/Just-in-time_compilation",
123123
"onnx": "https://onnx.ai/onnx/",
124-
"onnx-graphsurgeon": "https://docs.nvidia.com/deeplearning/tensorrt/onnx-graphsurgeon/docs/index.html",
124+
"onnx-graphsurgeon": "https://github.com/NVIDIA/TensorRT/tree/main/tools/onnx-graphsurgeon",
125125
"onnx.helper": "https://onnx.ai/onnx/api/helper.html",
126126
"ONNX": "https://onnx.ai/",
127127
"ONNX Operators": "https://onnx.ai/onnx/operators/",

azure-pipelines.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
vmImage: 'ubuntu-latest'
5252
strategy:
5353
matrix:
54-
Python311-Linux:
55-
python.version: '3.11'
54+
Python312-Linux:
55+
python.version: '3.12'
5656
maxParallel: 3
5757

5858
steps:
@@ -155,8 +155,8 @@ jobs:
155155
vmImage: 'ubuntu-latest'
156156
strategy:
157157
matrix:
158-
Python311-Linux:
159-
python.version: '3.11'
158+
Python312-Linux:
159+
python.version: '3.12'
160160
maxParallel: 3
161161

162162
steps:
@@ -208,8 +208,8 @@ jobs:
208208
vmImage: 'windows-latest'
209209
strategy:
210210
matrix:
211-
Python311-Windows:
212-
python.version: '3.11'
211+
Python312-Windows:
212+
python.version: '3.12'
213213
maxParallel: 3
214214

215215
steps:

requirements-dev.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
array_api_compat
2+
array_api_strict
13
autopep8
24
black
35
coverage

requirements.txt

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
array_api_compat
2-
array_api_strict
31
numpy
42
onnx>=1.15.0
53
scipy

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@
6262
"Operating System :: Unix",
6363
"Operating System :: MacOS",
6464
"Programming Language :: Python :: 3",
65-
"Programming Language :: Python :: 3.8",
6665
"Programming Language :: Python :: 3.9",
6766
"Programming Language :: Python :: 3.10",
6867
"Programming Language :: Python :: 3.11",
68+
"Programming Language :: Python :: 3.12",
69+
"Programming Language :: Python :: 3.13",
6970
],
7071
)

0 commit comments

Comments
 (0)