From 7dc28648d39a66973224c31a16e8d76890f055e9 Mon Sep 17 00:00:00 2001 From: Willow Ahrens Date: Sat, 18 Oct 2025 13:14:10 +0800 Subject: [PATCH 1/5] fixed 1.12 --- src/finch/juliapkg.json | 4 ++-- src/finch/juliapkg_dev.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/finch/juliapkg.json b/src/finch/juliapkg.json index bb42511..ad999ee 100644 --- a/src/finch/juliapkg.json +++ b/src/finch/juliapkg.json @@ -1,9 +1,9 @@ { - "julia": "1.10 - 1.11", + "julia": "1.10 - 1.12", "packages": { "Finch": { "uuid": "9177782c-1635-4eb9-9bfb-d9dfa25e6bce", - "version": "1.2.9" + "version": "1.2.10" }, "HDF5": { "uuid": "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f", diff --git a/src/finch/juliapkg_dev.json b/src/finch/juliapkg_dev.json index 9427227..6178ff2 100644 --- a/src/finch/juliapkg_dev.json +++ b/src/finch/juliapkg_dev.json @@ -1,5 +1,5 @@ { - "julia": "1.10 - 1.11", + "julia": "1.10 - 1.12", "packages": { "Finch": { "dev": true, From b3c14f22d273ff502e0063773af02e0cfe672b49 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 18 Oct 2025 05:15:22 +0000 Subject: [PATCH 2/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/finch/julia.py | 3 --- tests/test_indexing.py | 1 + tests/test_ops.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/finch/julia.py b/src/finch/julia.py index 84f6763..211e57c 100644 --- a/src/finch/julia.py +++ b/src/finch/julia.py @@ -1,11 +1,8 @@ -import juliapkg # noqa: I001 - # To change the version of Finch used, see the documentation for pyjuliapkg here: https://github.com/JuliaPy/pyjuliapkg # Use pyjuliapkg to modify the `juliapkg.json` file in the root of this repo. # You can also run `develop.py` to quickly use a local copy of Finch.jl. # An example development json is found in `juliapkg_dev.json` import juliacall as jc # noqa: F401 - from juliacall import Main as jl # noqa: E402, F401 jl.seval("using Finch") diff --git a/tests/test_indexing.py b/tests/test_indexing.py index dfc7c76..865a2a7 100644 --- a/tests/test_indexing.py +++ b/tests/test_indexing.py @@ -2,6 +2,7 @@ import numpy as np from numpy.testing import assert_equal + import juliacall as jc import finch diff --git a/tests/test_ops.py b/tests/test_ops.py index aca18db..b2dd340 100644 --- a/tests/test_ops.py +++ b/tests/test_ops.py @@ -230,7 +230,7 @@ def test_elemwise_tensor_ops_2_args(arr3d, meth_name, opt): "mean", pytest.param("std", marks=pytest.mark.xfail(reason="TODO: to debug")), pytest.param("var", marks=pytest.mark.xfail(reason="TODO: to debug")), - ] + ], ) @pytest.mark.parametrize("axis", [None, -1, 1, (0, 1), (0, 1, 2)]) def test_reductions(arr3d, func_name, axis, opt): From 3cfa51d2d5e4482b84857a5e118a4220622365a9 Mon Sep 17 00:00:00 2001 From: Willow Ahrens Date: Sat, 18 Oct 2025 13:15:56 +0800 Subject: [PATCH 3/5] bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 07f8e67..8cc1d0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "finch-tensor" -version = "0.2.13" +version = "0.2.14" description = "Sparse Tensor Programming in Python powered by Finch.jl" readme = "README.md" authors = [{name = "Willow Ahrens", email = "willow.marie.ahrens@gmail.com"}] From 9182aac5249305437b3c9c27eb99f070a8dcdd3b Mon Sep 17 00:00:00 2001 From: Willow Ahrens Date: Sat, 18 Oct 2025 13:20:55 +0800 Subject: [PATCH 4/5] no autofix --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6290001..fd9a0b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,3 +24,6 @@ repos: types_or: [ python, pyi, jupyter ] - id: ruff-format types_or: [ python, pyi, jupyter ] + +ci: + autofix_prs: false \ No newline at end of file From 0ad084fffbbcb06aa52260d5e5697a1750185af8 Mon Sep 17 00:00:00 2001 From: Willow Ahrens Date: Sat, 18 Oct 2025 13:22:21 +0800 Subject: [PATCH 5/5] fix --- .pre-commit-config.yaml | 2 +- src/finch/julia.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fd9a0b2..803b52d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,4 +26,4 @@ repos: types_or: [ python, pyi, jupyter ] ci: - autofix_prs: false \ No newline at end of file + autofix_prs: false diff --git a/src/finch/julia.py b/src/finch/julia.py index 211e57c..c8f2191 100644 --- a/src/finch/julia.py +++ b/src/finch/julia.py @@ -1,3 +1,5 @@ +import juliapkg # noqa: I001, F401 + # To change the version of Finch used, see the documentation for pyjuliapkg here: https://github.com/JuliaPy/pyjuliapkg # Use pyjuliapkg to modify the `juliapkg.json` file in the root of this repo. # You can also run `develop.py` to quickly use a local copy of Finch.jl.