Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ repos:
types_or: [ python, pyi, jupyter ]
- id: ruff-format
types_or: [ python, pyi, jupyter ]

ci:
autofix_prs: false
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"}]
Expand Down
3 changes: 1 addition & 2 deletions src/finch/julia.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import juliapkg # noqa: I001
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.
# 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")
Expand Down
4 changes: 2 additions & 2 deletions src/finch/juliapkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/finch/juliapkg_dev.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"julia": "1.10 - 1.11",
"julia": "1.10 - 1.12",
"packages": {
"Finch": {
"dev": true,
Expand Down
1 change: 1 addition & 0 deletions tests/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import numpy as np
from numpy.testing import assert_equal

import juliacall as jc

import finch
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down