Skip to content
Merged

Dev #25

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
2 changes: 1 addition & 1 deletion .github/actions/install_package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ runs:
- name: Install Dependencies
shell: bash
run: |
uv sync
uv sync --refresh
echo "python-version=${{ steps.setup_python.outputs.python-version }}" >> "$GITHUB_OUTPUT"
14 changes: 10 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -10,14 +10,14 @@ repos:

- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: "0.5.27"
rev: "0.9.18"
hooks:
# Update the uv lockfile
- id: uv-lock

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.4
rev: v0.14.10
hooks:
# Run the linter.
- id: ruff
Expand All @@ -26,7 +26,13 @@ repos:
- id: ruff-format

- repo: https://github.com/pycqa/flake8
rev: 7.1.1 # pick a git hash / tag to point to
rev: 7.3.0 # pick a git hash / tag to point to
hooks:
- id: flake8
args: ["--config=.flake8"]

- repo: https://github.com/commitizen-tools/commitizen
rev: v4.9.1
hooks:
- id: commitizen
stages: [commit-msg]
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## v0.2.12 (2025-12-24)

### Fix

- **numpy**: handle percentile/quantile API changes

### Refactor

- **ufuncs**: streamline matmul implementation and update NODE_SHELF
- **trapz**: rename function to trapezoid and update implementation to use numpy.trapezoid conditionally

## v0.2.11 (2025-07-09)

### Refactor
Expand Down
6 changes: 6 additions & 0 deletions cz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "pep440"
version_provider = "uv"
update_changelog_on_bump = true
21 changes: 12 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[project]
name = "funcnodes-numpy"
version = "0.2.11"
version = "0.2.12"
description = "implementations of numpy for funcnodes"
readme = "README.md"
classifiers = [ "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",]
dependencies = [ "funcnodes", "numpy",]
dependencies = [ "funcnodes>=1.2", "funcnodes-core>=2.3.1", "numpy",]
requires-python = ">=3.11"
[[project.authors]]
name = "Julian Kimmig"
email = "julian.kimmig@gmx.net"

[dependency-groups]
dev = [ "pytest", "pre-commit", "funcnodes-module>=0.2.8",]
dev = [ "pytest", "pre-commit", "funcnodes-module>=0.2.8", "pytest-funcnodes>=1.1.0",]

[build-system]
requires = [ "setuptools>=42",]
build-backend = "setuptools.build_meta"
requires = [ "hatchling",]
build-backend = "hatchling.build"

[project.license]
text = "AGPL-3.0"
Expand All @@ -26,19 +26,22 @@ source = "https://github.com/Linkdlab/funcnodes_numpy"
tracker = "https://github.com/Linkdlab/funcnodes_numpy/issues"
download = "https://pypi.org/project/funcnodes-numpy/#files"

[tool.setuptools.package-dir]
"" = "src"


[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "pep440"
version_provider = "uv"
update_changelog_on_bump = true

[project.entry-points."funcnodes.module"]
module = "funcnodes_numpy"
shelf = "funcnodes_numpy:NODE_SHELF"

[tool.setuptools.package-dir]
"" = "src"

[tool.setuptools.packages.find]
where = [ "src",]

[tool.hatch.build.targets.wheel]
packages = [ "src/funcnodes_numpy",]
Loading
Loading