From fa7092a1b24aa70b075d5719984e37b885981dc1 Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 11:51:36 +0200 Subject: [PATCH 1/7] fix dependencies --- requirements-dev.txt | 2 ++ requirements.txt | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5e262e3..de339f5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,5 @@ +array_api_compat +array_api_strict autopep8 black coverage diff --git a/requirements.txt b/requirements.txt index 5cb31f3..4396e32 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,3 @@ -array_api_compat -array_api_strict numpy onnx>=1.15.0 scipy From 3d507ef60d493764ab6991330d54f982c71fd3fd Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 11:52:57 +0200 Subject: [PATCH 2/7] fix version --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 69b5b9e..b4cced8 100644 --- a/setup.py +++ b/setup.py @@ -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", ], ) From 81300325e20cd510c08a9cf229034f611232de90 Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 11:54:27 +0200 Subject: [PATCH 3/7] 312 --- azure-pipelines.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b795a0c..e9b3859 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: From 0713b98fb1181d990f080f692e1bfce42c63ba6e Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 11:55:19 +0200 Subject: [PATCH 4/7] 312 --- .github/workflows/wheels-any.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels-any.yml b/.github/workflows/wheels-any.yml index e44b100..4bf89c7 100644 --- a/.github/workflows/wheels-any.yml +++ b/.github/workflows/wheels-any.yml @@ -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 . From 31ee998f24338cb0dad460efb54125903300c7b8 Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 12:08:32 +0200 Subject: [PATCH 5/7] ffix req --- .github/workflows/documentation.yml | 2 +- CHANGELOGS.rst | 1 + _doc/conf.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2293924..f34a9cb 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - uses: tlylt/install-graphviz@v1 diff --git a/CHANGELOGS.rst b/CHANGELOGS.rst index 31056a9..8a91bbe 100644 --- a/CHANGELOGS.rst +++ b/CHANGELOGS.rst @@ -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 diff --git a/_doc/conf.py b/_doc/conf.py index b6c1c4a..eaf8eb1 100644 --- a/_doc/conf.py +++ b/_doc/conf.py @@ -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/", From d6ad7fc1375d17c8a348033937cf6800c8548d24 Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 12:14:13 +0200 Subject: [PATCH 6/7] fix install --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f34a9cb..e84dea1 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -57,7 +57,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Install - run: python setup.py install + run: python -m pip install -e . -v --no-build-isolation - name: Copy license, changelogs run: | From 845fd1e3a2f6143a0acad7163330f808050313c9 Mon Sep 17 00:00:00 2001 From: xadupre Date: Tue, 8 Apr 2025 12:23:20 +0200 Subject: [PATCH 7/7] no iso --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e84dea1..3ad7c7c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -57,7 +57,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Install - run: python -m pip install -e . -v --no-build-isolation + run: python -m pip install -e . -v - name: Copy license, changelogs run: |