cvmatrix 3.2.2__tar.gz → 3.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/actions/build/action.yml +4 -4
  2. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/actions/release/action.yml +2 -2
  3. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/actions/test/action.yml +1 -1
  4. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/workflows/package_workflow.yml +4 -4
  5. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/workflows/pull_request_package_workflow.yml +1 -1
  6. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/workflows/pull_request_test_workflow.yml +4 -4
  7. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.github/workflows/test_workflow.yml +2 -2
  8. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/CHANGELOG.md +3 -0
  9. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/PKG-INFO +8 -3
  10. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/README.md +4 -0
  11. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/cvmatrix/__init__.py +1 -1
  12. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/pyproject.toml +3 -2
  13. cvmatrix-3.2.3/uv.lock +1429 -0
  14. cvmatrix-3.2.2/uv.lock +0 -1128
  15. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.gitignore +0 -0
  16. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/.readthedocs.yaml +0 -0
  17. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/CONTRIBUTING.md +0 -0
  18. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/LICENSE +0 -0
  19. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/README.md +0 -0
  20. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/__init__.py +0 -0
  21. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark.py +0 -0
  22. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark_cvmatrix.png +0 -0
  23. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark_cvmatrix_numpy_vs_jax.png +0 -0
  24. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark_cvmatrix_vs_naive.png +0 -0
  25. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark_jax_variants.png +0 -0
  26. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark_results.csv +0 -0
  27. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/benchmark_results_jax.csv +0 -0
  28. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/benchmarks/plot_benchmark.py +0 -0
  29. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/cvmatrix/cvmatrix.py +0 -0
  30. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/cvmatrix/partitioner.py +0 -0
  31. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/CONTRIBUTING.md +0 -0
  32. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/Makefile +0 -0
  33. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/README.md +0 -0
  34. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/api.rst +0 -0
  35. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/conf.py +0 -0
  36. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/index.rst +0 -0
  37. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/make.bat +0 -0
  38. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/requirements.txt +0 -0
  39. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/source/cvmatrix.rst +0 -0
  40. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/source/cvmatrix_module.rst +0 -0
  41. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/docs/source/partitioner_module.rst +0 -0
  42. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/examples/__init__.py +0 -0
  43. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/examples/training_matrices.py +0 -0
  44. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/examples/training_matrices_jax.py +0 -0
  45. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/tests/__init__.py +0 -0
  46. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/tests/load_data.py +0 -0
  47. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/tests/naive_cvmatrix.py +0 -0
  48. {cvmatrix-3.2.2 → cvmatrix-3.2.3}/tests/test_cvmatrix.py +0 -0
@@ -4,12 +4,12 @@ description: Build the package
4
4
  runs:
5
5
  using: "composite"
6
6
  steps:
7
- - uses: actions/checkout@v4
7
+ - uses: actions/checkout@v7
8
8
 
9
9
  - name: Install uv
10
- uses: astral-sh/setup-uv@v5
10
+ uses: astral-sh/setup-uv@v7
11
11
  with:
12
- python-version: '3.14'
12
+ python-version: '3.15'
13
13
 
14
14
  - name: Lint with ruff
15
15
  run: |
@@ -28,7 +28,7 @@ runs:
28
28
  shell: bash
29
29
 
30
30
  - name: Store the distribution packages
31
- uses: actions/upload-artifact@v4
31
+ uses: actions/upload-artifact@v7
32
32
  with:
33
33
  name: python-package-distributions
34
34
  path: dist/
@@ -11,12 +11,12 @@ runs:
11
11
  echo "VERSION=$version" >> $GITHUB_ENV
12
12
  shell: bash
13
13
  - name: Download all the dists
14
- uses: actions/download-artifact@v4
14
+ uses: actions/download-artifact@v8
15
15
  with:
16
16
  name: python-package-distributions
17
17
  path: dist/
18
18
  - name: Sign the dists with Sigstore
19
- uses: sigstore/gh-action-sigstore-python@v3.0.0
19
+ uses: sigstore/gh-action-sigstore-python@v3.4.0
20
20
  with:
21
21
  inputs: >-
22
22
  ./dist/*.tar.gz
@@ -14,7 +14,7 @@ runs:
14
14
  using: "composite"
15
15
  steps:
16
16
  - name: Install uv
17
- uses: astral-sh/setup-uv@v5
17
+ uses: astral-sh/setup-uv@v7
18
18
  with:
19
19
  python-version: ${{ inputs.PYTHON_VERSION }}
20
20
 
@@ -10,7 +10,7 @@ jobs:
10
10
  build_package:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
- - uses: actions/checkout@v4
13
+ - uses: actions/checkout@v7
14
14
  - uses: ./.github/actions/build
15
15
 
16
16
  publish_package:
@@ -18,8 +18,8 @@ jobs:
18
18
  runs-on: ubuntu-latest
19
19
  if: ${{ github.event.workflow_run.conclusion == 'success' }}
20
20
  steps:
21
- - uses: actions/checkout@v4
22
- - uses: actions/download-artifact@v4
21
+ - uses: actions/checkout@v7
22
+ - uses: actions/download-artifact@v8
23
23
  with:
24
24
  name: python-package-distributions
25
25
  path: dist/
@@ -41,5 +41,5 @@ jobs:
41
41
  contents: write
42
42
  id-token: write
43
43
  steps:
44
- - uses: actions/checkout@v4
44
+ - uses: actions/checkout@v7
45
45
  - uses: ./.github/actions/release
@@ -14,5 +14,5 @@ jobs:
14
14
  build_package:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v7
18
18
  - uses: ./.github/actions/build
@@ -18,9 +18,9 @@ jobs:
18
18
  fail-fast: false
19
19
  matrix:
20
20
  os: [ubuntu-latest, windows-latest, macos-latest]
21
- python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
21
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
22
22
  steps:
23
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v7
24
24
  - uses: ./.github/actions/test
25
25
  with:
26
26
  PYTHON_VERSION: ${{ matrix.python-version }}
@@ -42,9 +42,9 @@ jobs:
42
42
  fail-fast: false
43
43
  matrix:
44
44
  os: [ubuntu-latest, windows-latest, macos-latest]
45
- python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
45
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
46
46
  steps:
47
- - uses: actions/checkout@v4
47
+ - uses: actions/checkout@v7
48
48
  - uses: ./.github/actions/test
49
49
  with:
50
50
  PYTHON_VERSION: ${{ matrix.python-version }}
@@ -20,7 +20,7 @@ jobs:
20
20
  os: [ubuntu-latest, windows-latest, macos-latest]
21
21
  python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
22
22
  steps:
23
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v7
24
24
  - uses: ./.github/actions/test
25
25
  with:
26
26
  PYTHON_VERSION: ${{ matrix.python-version }}
@@ -44,7 +44,7 @@ jobs:
44
44
  os: [ubuntu-latest, windows-latest, macos-latest]
45
45
  python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
46
46
  steps:
47
- - uses: actions/checkout@v4
47
+ - uses: actions/checkout@v7
48
48
  - uses: ./.github/actions/test
49
49
  with:
50
50
  PYTHON_VERSION: ${{ matrix.python-version }}
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.2.3] - 2026-10-30
9
+ - Increased the maximum supported Python version from 3.14 to 3.15. Python 3.15 is now included in the CI test matrices. No functional changes.
10
+
8
11
  ## [3.2.2] - 2026-07-06
9
12
 
10
13
  ### Changed
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: cvmatrix
3
- Version: 3.2.2
3
+ Version: 3.2.3
4
4
  Summary: Fast computation of possibly weighted and possibly centered/scaled training set kernel matrices in a cross-validation setting.
5
5
  Project-URL: Homepage, https://cvmatrix.readthedocs.io/en/latest/
6
6
  Project-URL: Repository, https://github.com/Sm00thix/CVMatrix
@@ -13,7 +13,8 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
15
15
  Classifier: Programming Language :: Python :: 3.14
16
- Requires-Python: <3.15,>=3.10
16
+ Classifier: Programming Language :: Python :: 3.15
17
+ Requires-Python: <3.16,>=3.10
17
18
  Requires-Dist: numpy<3.0.0,>=2.0.0
18
19
  Provides-Extra: jax
19
20
  Requires-Dist: jax>=0.4.0; extra == 'jax'
@@ -47,6 +48,10 @@ For an implementation of the fast cross-validation algorithms combined with Impr
47
48
 
48
49
  The `cvmatrix` software package now also features **weigthed matrix produts** $\mathbf{X}^{\mathbf{T}}\mathbf{W}\mathbf{Y}$ **without increasing time or space complexity compared to the unweighted case**. This is due to a generalization of the algorithms by Engstrøm and Jensen [[1]](#references). A new article formally describing the generalization is to be announced.
49
50
 
51
+ ## Citation
52
+ - If you use the `cvmatrix` software package for your work, please cite [this Journal of Chemometrics article](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/full/10.1002/cem.70008).
53
+ - If you use the sample weighted option, please also cite [this PhD thesis](https://arxiv.org/abs/2510.13452).
54
+
50
55
  ## Installation
51
56
 
52
57
  - Install the package for Python3 using the following command:
@@ -26,6 +26,10 @@ For an implementation of the fast cross-validation algorithms combined with Impr
26
26
 
27
27
  The `cvmatrix` software package now also features **weigthed matrix produts** $\mathbf{X}^{\mathbf{T}}\mathbf{W}\mathbf{Y}$ **without increasing time or space complexity compared to the unweighted case**. This is due to a generalization of the algorithms by Engstrøm and Jensen [[1]](#references). A new article formally describing the generalization is to be announced.
28
28
 
29
+ ## Citation
30
+ - If you use the `cvmatrix` software package for your work, please cite [this Journal of Chemometrics article](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/full/10.1002/cem.70008).
31
+ - If you use the sample weighted option, please also cite [this PhD thesis](https://arxiv.org/abs/2510.13452).
32
+
29
33
  ## Installation
30
34
 
31
35
  - Install the package for Python3 using the following command:
@@ -1,4 +1,4 @@
1
- __version__ = "3.2.2"
1
+ __version__ = "3.2.3"
2
2
  __all__ = ["CVMatrix", "Partitioner"]
3
3
  from .cvmatrix import CVMatrix
4
4
  from .partitioner import Partitioner
@@ -1,18 +1,19 @@
1
1
  [project]
2
2
  name = "cvmatrix"
3
- version = "3.2.2"
3
+ version = "3.2.3"
4
4
  description = "Fast computation of possibly weighted and possibly centered/scaled training set kernel matrices in a cross-validation setting."
5
5
  authors = [{ name = "Sm00thix", email = "oleemail@icloud.com" }]
6
6
  maintainers = [{ name = "Sm00thix", email = "oleemail@icloud.com" }]
7
7
  license = "Apache-2.0"
8
8
  readme = "README.md"
9
- requires-python = ">=3.10, <3.15"
9
+ requires-python = ">=3.10, <3.16"
10
10
  classifiers = [
11
11
  "Programming Language :: Python :: 3.10",
12
12
  "Programming Language :: Python :: 3.11",
13
13
  "Programming Language :: Python :: 3.12",
14
14
  "Programming Language :: Python :: 3.13",
15
15
  "Programming Language :: Python :: 3.14",
16
+ "Programming Language :: Python :: 3.15",
16
17
  ]
17
18
  dependencies = [
18
19
  "numpy>=2.0.0,<3.0.0",