tabmat 4.2.1__tar.gz → 4.3.1__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.
- tabmat-4.2.1/.ci_support/linux_64_python3.10.____cpython.yaml → tabmat-4.3.1/.ci_support/linux_64_python3.15.____cp315.yaml +6 -6
- tabmat-4.2.1/.ci_support/osx_arm64_python3.10.____cpython.yaml → tabmat-4.3.1/.ci_support/osx_arm64_python3.15.____cp315.yaml +4 -6
- tabmat-4.2.1/.ci_support/win_64_python3.10.____cpython.yaml → tabmat-4.3.1/.ci_support/win_64_python3.15.____cp315.yaml +1 -1
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/dependabot.yml +2 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/workflows/build-wheels.yml +18 -15
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/workflows/ci.yml +22 -5
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/workflows/daily.yml +3 -3
- tabmat-4.3.1/.github/workflows/package.yml +62 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/workflows/scorecard.yml +4 -4
- {tabmat-4.2.1 → tabmat-4.3.1}/CHANGELOG.rst +34 -0
- {tabmat-4.2.1/src/tabmat.egg-info → tabmat-4.3.1}/PKG-INFO +4 -3
- tabmat-4.3.1/conda.recipe/recipe.yaml +77 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/changelog.rst +34 -0
- tabmat-4.3.1/pixi.lock +23796 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/pixi.toml +41 -26
- {tabmat-4.2.1 → tabmat-4.3.1}/pyproject.toml +24 -12
- {tabmat-4.2.1 → tabmat-4.3.1}/setup.py +5 -4
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/main.py +5 -6
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/categorical_matrix.py +46 -43
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/constructor.py +11 -9
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/constructor_util.py +2 -3
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/dense_matrix.py +27 -24
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/categorical.cpp +13756 -9431
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/dense.cpp +12816 -9382
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/sparse.cpp +18390 -11824
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/split.cpp +14057 -10131
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/formula.py +14 -11
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/matrix_base.py +16 -16
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/sparse_matrix.py +21 -23
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/split_matrix.py +21 -22
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/standardized_mat.py +18 -20
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/util.py +6 -8
- {tabmat-4.2.1 → tabmat-4.3.1/src/tabmat.egg-info}/PKG-INFO +4 -3
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat.egg-info/SOURCES.txt +7 -8
- tabmat-4.3.1/src/tabmat.egg-info/scm_file_list.json +105 -0
- tabmat-4.3.1/src/tabmat.egg-info/scm_version.json +8 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_benchmark_cli.py +24 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_categorical_matrix.py +14 -3
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_fast_sandwich.py +2 -1
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_formula.py +31 -4
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_matrices.py +18 -17
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_split_matrix.py +2 -4
- tabmat-4.2.1/.ci_support/linux_aarch64_python3.10.____cpython.yaml +0 -35
- tabmat-4.2.1/.ci_support/osx_64_python3.10.____cpython.yaml +0 -39
- tabmat-4.2.1/.github/workflows/conda-build.yml +0 -64
- tabmat-4.2.1/conda.recipe/meta.yaml +0 -68
- tabmat-4.2.1/pixi.lock +0 -16380
- tabmat-4.2.1/pytest.ini +0 -6
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/linux_64_python3.11.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/linux_64_python3.12.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/linux_64_python3.13.____cp313.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/linux_aarch64_python3.11.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/linux_aarch64_python3.12.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/linux_aarch64_python3.13.____cp313.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/osx_64_python3.11.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/osx_64_python3.12.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/osx_64_python3.13.____cp313.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/osx_arm64_python3.11.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/osx_arm64_python3.12.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/osx_arm64_python3.13.____cp313.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/win_64_python3.11.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/win_64_python3.12.____cpython.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.ci_support/win_64_python3.13.____cp313.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.gitattributes +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/CODEOWNERS +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/ISSUE_TEMPLATE/issue-template.md +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.gitignore +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.pre-commit-config.yaml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/.readthedocs.yml +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/CONTRIBUTING.md +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/LICENSE +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/README.md +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/SECURITY.md +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/build_and_launch +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/Makefile +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/.gitignore +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/dense_bench.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/dense_cat_bench.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/headline.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/one_cat_bench.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/sparse_bench.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/_static/two_cat_bench.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/api.rst +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/benchmarks.rst +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/conf.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/dev +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/index.rst +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/docs/make.bat +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/images/intermediate_data_sandwich.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/images/narrow_data_sandwich.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/images/wide_data_sandwich.png +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/setup.cfg +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/__init__.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/.gitignore +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/__init__.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/data/.gitignore +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/generate_matrices.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/memory_tools.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/benchmark/visualize_benchmarks.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/.gitignore +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/__init__.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/alloc.h +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/cat_split_helpers-tmpl.cpp +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/cat_split_helpers.cpp +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/categorical.pyx +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/dense.pyx +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/dense_helpers-tmpl.cpp +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/dense_helpers.cpp +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/sparse.pyx +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/sparse_helpers-tmpl.cpp +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/sparse_helpers.cpp +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat/ext/split.pyx +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat.egg-info/dependency_links.txt +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat.egg-info/not-zip-safe +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat.egg-info/requires.txt +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/src/tabmat.egg-info/top_level.txt +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/real_matrix.pkl +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_big_categorical_matrix.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_constructor.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_mkl_sparse_matrix.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_real_matrix.py +0 -0
- {tabmat-4.2.1 → tabmat-4.3.1}/tests/test_standardized_mat.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
DOCKER_PLATFORM:
|
|
2
|
+
- linux/amd64
|
|
1
3
|
c_compiler:
|
|
2
4
|
- gcc
|
|
3
5
|
c_compiler_version:
|
|
4
|
-
- '
|
|
6
|
+
- '15'
|
|
5
7
|
c_stdlib:
|
|
6
8
|
- sysroot
|
|
7
9
|
c_stdlib_version:
|
|
8
10
|
- '2.17'
|
|
9
|
-
cdt_name:
|
|
10
|
-
- conda
|
|
11
11
|
channel_sources:
|
|
12
12
|
- conda-forge
|
|
13
13
|
channel_targets:
|
|
@@ -15,9 +15,9 @@ channel_targets:
|
|
|
15
15
|
cxx_compiler:
|
|
16
16
|
- gxx
|
|
17
17
|
cxx_compiler_version:
|
|
18
|
-
- '
|
|
18
|
+
- '15'
|
|
19
19
|
docker_image:
|
|
20
|
-
- quay.io/condaforge/linux-anvil-x86_64:
|
|
20
|
+
- quay.io/condaforge/linux-anvil-x86_64:alma10
|
|
21
21
|
numpy:
|
|
22
22
|
- '2'
|
|
23
23
|
pin_run_as_build:
|
|
@@ -25,7 +25,7 @@ pin_run_as_build:
|
|
|
25
25
|
min_pin: x.x
|
|
26
26
|
max_pin: x.x
|
|
27
27
|
python:
|
|
28
|
-
- 3.
|
|
28
|
+
- 3.15.* *_cp315
|
|
29
29
|
python_impl:
|
|
30
30
|
- cpython
|
|
31
31
|
target_platform:
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
MACOSX_DEPLOYMENT_TARGET:
|
|
2
|
-
- '11.0'
|
|
3
1
|
MACOSX_SDK_VERSION:
|
|
4
2
|
- '11.0'
|
|
5
3
|
c_compiler:
|
|
6
4
|
- clang
|
|
7
5
|
c_compiler_version:
|
|
8
|
-
- '
|
|
6
|
+
- '21'
|
|
9
7
|
c_stdlib:
|
|
10
8
|
- macosx_deployment_target
|
|
11
9
|
c_stdlib_version:
|
|
@@ -17,9 +15,9 @@ channel_targets:
|
|
|
17
15
|
cxx_compiler:
|
|
18
16
|
- clangxx
|
|
19
17
|
cxx_compiler_version:
|
|
20
|
-
- '
|
|
18
|
+
- '21'
|
|
21
19
|
llvm_openmp:
|
|
22
|
-
- '
|
|
20
|
+
- '21'
|
|
23
21
|
macos_machine:
|
|
24
22
|
- arm64-apple-darwin20.0.0
|
|
25
23
|
numpy:
|
|
@@ -29,7 +27,7 @@ pin_run_as_build:
|
|
|
29
27
|
min_pin: x.x
|
|
30
28
|
max_pin: x.x
|
|
31
29
|
python:
|
|
32
|
-
- 3.
|
|
30
|
+
- 3.15.* *_cp315
|
|
33
31
|
python_impl:
|
|
34
32
|
- cpython
|
|
35
33
|
target_platform:
|
|
@@ -20,12 +20,15 @@ jobs:
|
|
|
20
20
|
os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2022, macos-15, macos-15-intel]
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
24
24
|
- name: Set up micromamba
|
|
25
|
-
|
|
25
|
+
if: runner.os != 'Linux'
|
|
26
|
+
uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39
|
|
26
27
|
- name: Build wheels
|
|
27
|
-
uses: pypa/cibuildwheel@
|
|
28
|
-
|
|
28
|
+
uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5
|
|
29
|
+
with:
|
|
30
|
+
extras: uv
|
|
31
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
29
32
|
with:
|
|
30
33
|
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
|
|
31
34
|
path: ./wheelhouse/*.whl
|
|
@@ -34,16 +37,16 @@ jobs:
|
|
|
34
37
|
name: Build source distribution
|
|
35
38
|
runs-on: ubuntu-latest
|
|
36
39
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
38
|
-
- uses: actions/setup-python@
|
|
40
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
41
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
39
42
|
name: Install Python
|
|
40
43
|
with:
|
|
41
|
-
python-version: '3.
|
|
42
|
-
- name: Install build
|
|
43
|
-
run: python -m pip install
|
|
44
|
+
python-version: '3.11'
|
|
45
|
+
- name: Install build frontend
|
|
46
|
+
run: python -m pip install build
|
|
44
47
|
- name: Build sdist
|
|
45
|
-
run: python
|
|
46
|
-
- uses: actions/upload-artifact@
|
|
48
|
+
run: python -m build --sdist
|
|
49
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
47
50
|
with:
|
|
48
51
|
path: dist/*.tar.gz
|
|
49
52
|
|
|
@@ -57,11 +60,11 @@ jobs:
|
|
|
57
60
|
permissions:
|
|
58
61
|
id-token: write
|
|
59
62
|
steps:
|
|
60
|
-
- uses: actions/download-artifact@
|
|
63
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
61
64
|
with:
|
|
62
65
|
merge-multiple: true
|
|
63
66
|
path: dist
|
|
64
|
-
- uses: pypa/gh-action-pypi-publish@
|
|
67
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
65
68
|
with:
|
|
66
69
|
repository-url: https://test.pypi.org/legacy/
|
|
67
70
|
|
|
@@ -75,8 +78,8 @@ jobs:
|
|
|
75
78
|
permissions:
|
|
76
79
|
id-token: write
|
|
77
80
|
steps:
|
|
78
|
-
- uses: actions/download-artifact@
|
|
81
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
79
82
|
with:
|
|
80
83
|
merge-multiple: true
|
|
81
84
|
path: dist
|
|
82
|
-
- uses: pypa/gh-action-pypi-publish@
|
|
85
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
@@ -19,9 +19,9 @@ jobs:
|
|
|
19
19
|
runs-on: ubuntu-latest
|
|
20
20
|
steps:
|
|
21
21
|
- name: Checkout branch
|
|
22
|
-
uses: actions/checkout@
|
|
22
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
23
23
|
- name: Set up pixi
|
|
24
|
-
uses: prefix-dev/setup-pixi@
|
|
24
|
+
uses: prefix-dev/setup-pixi@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
|
|
25
25
|
with:
|
|
26
26
|
environments: lint default
|
|
27
27
|
- name: pre-commit
|
|
@@ -36,20 +36,21 @@ jobs:
|
|
|
36
36
|
fail-fast: true
|
|
37
37
|
matrix:
|
|
38
38
|
include:
|
|
39
|
-
- { os: ubuntu-latest, environment: 'py310' }
|
|
40
39
|
- { os: ubuntu-latest, environment: 'py311' }
|
|
41
40
|
- { os: ubuntu-latest, environment: 'py312' }
|
|
42
41
|
- { os: ubuntu-latest, environment: 'py313' }
|
|
43
42
|
- { os: ubuntu-latest, environment: 'py314' }
|
|
43
|
+
- { os: ubuntu-latest, environment: 'py314t' }
|
|
44
|
+
- { os: ubuntu-latest, environment: 'py315' }
|
|
44
45
|
- { os: windows-latest, environment: 'py314' }
|
|
45
46
|
- { os: macos-latest, environment: 'py314' }
|
|
46
47
|
- { os: ubuntu-latest, environment: 'oldies' }
|
|
47
48
|
- { os: ubuntu-latest, environment: 'nightly' }
|
|
48
49
|
steps:
|
|
49
50
|
- name: Checkout branch
|
|
50
|
-
uses: actions/checkout@
|
|
51
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
51
52
|
- name: Set up pixi
|
|
52
|
-
uses: prefix-dev/setup-pixi@
|
|
53
|
+
uses: prefix-dev/setup-pixi@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
|
|
53
54
|
with:
|
|
54
55
|
environments: ${{ matrix.environment }}
|
|
55
56
|
- name: Update dependencies
|
|
@@ -60,6 +61,22 @@ jobs:
|
|
|
60
61
|
run: pixi run -e ${{ matrix.environment }} install-nightlies
|
|
61
62
|
- name: Install repository
|
|
62
63
|
run: pixi run -e ${{ matrix.environment }} postinstall
|
|
64
|
+
- name: Verify free-threaded imports
|
|
65
|
+
if: matrix.environment == 'py314t'
|
|
66
|
+
run: |
|
|
67
|
+
pixi run -e py314t python - <<'PY'
|
|
68
|
+
import sys
|
|
69
|
+
import sysconfig
|
|
70
|
+
|
|
71
|
+
assert sysconfig.get_config_var("Py_GIL_DISABLED") == 1
|
|
72
|
+
import tabmat
|
|
73
|
+
import tabmat.ext.categorical
|
|
74
|
+
import tabmat.ext.dense
|
|
75
|
+
import tabmat.ext.sparse
|
|
76
|
+
import tabmat.ext.split
|
|
77
|
+
|
|
78
|
+
assert not sys._is_gil_enabled(), "Importing tabmat enabled the GIL"
|
|
79
|
+
PY
|
|
63
80
|
- name: Run pytest
|
|
64
81
|
run: pixi run -e ${{ matrix.environment }} test -nauto -m "not high_memory"
|
|
65
82
|
- name: Run doctest
|
|
@@ -23,9 +23,9 @@ jobs:
|
|
|
23
23
|
NOTE: 'Python 3.14' # run once with normal dependencies
|
|
24
24
|
steps:
|
|
25
25
|
- name: Checkout branch
|
|
26
|
-
uses: actions/checkout@
|
|
26
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
27
27
|
- name: Set up pixi
|
|
28
|
-
uses: prefix-dev/setup-pixi@
|
|
28
|
+
uses: prefix-dev/setup-pixi@ad1da6449d9e506fd127fd67ab2d054a769f6a94 # v0.11.2
|
|
29
29
|
with:
|
|
30
30
|
environments: ${{ matrix.environment }}
|
|
31
31
|
- name: Update dependencies
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
pixi run --manifest-path ../tabmat/pixi.toml -e ${{ matrix.environment }} python -m doctest -v README.md
|
|
49
49
|
|
|
50
50
|
- name: Issue on failure
|
|
51
|
-
uses: actions/github-script@
|
|
51
|
+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
52
52
|
if: ${{ failure() && github.ref == 'refs/heads/main' }}
|
|
53
53
|
with:
|
|
54
54
|
script: |
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
name: conda-build
|
|
2
|
+
on:
|
|
3
|
+
# We would like to trigger for CI for any pull request action -
|
|
4
|
+
# both from QuantCo's branches as well as forks.
|
|
5
|
+
pull_request:
|
|
6
|
+
# In addition to pull requests, we want to run CI for pushes
|
|
7
|
+
# to the main branch and tags.
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- "main"
|
|
11
|
+
tags:
|
|
12
|
+
- "*"
|
|
13
|
+
paths:
|
|
14
|
+
- ".github/**"
|
|
15
|
+
- "conda.recipe/**"
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
build:
|
|
19
|
+
name: ${{ matrix['variant-file'] }}
|
|
20
|
+
runs-on: ${{ matrix.os }}
|
|
21
|
+
env:
|
|
22
|
+
CI: True
|
|
23
|
+
strategy:
|
|
24
|
+
fail-fast: false
|
|
25
|
+
matrix:
|
|
26
|
+
include:
|
|
27
|
+
- { variant-file: linux_64_python3.11.____cpython, target-platform: linux-64, os: ubuntu-latest, rattler-build-args: '' }
|
|
28
|
+
- { variant-file: linux_64_python3.15.____cp315, target-platform: linux-64, os: ubuntu-latest, rattler-build-args: '' }
|
|
29
|
+
- { variant-file: osx_64_python3.11.____cpython, target-platform: osx-64, os: macos-15-intel, rattler-build-args: '' }
|
|
30
|
+
- { variant-file: osx_arm64_python3.11.____cpython, target-platform: osx-arm64, os: macos-latest, rattler-build-args: '' }
|
|
31
|
+
- { variant-file: osx_arm64_python3.15.____cp315, target-platform: osx-arm64, os: macos-latest, rattler-build-args: '' }
|
|
32
|
+
- { variant-file: win_64_python3.11.____cpython, target-platform: win-64, os: windows-2022, rattler-build-args: '' }
|
|
33
|
+
- { variant-file: win_64_python3.15.____cp315, target-platform: win-64, os: windows-2022, rattler-build-args: '' }
|
|
34
|
+
|
|
35
|
+
steps:
|
|
36
|
+
- name: Checkout branch
|
|
37
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
38
|
+
with:
|
|
39
|
+
fetch-depth: 0
|
|
40
|
+
- name: Get git metadata
|
|
41
|
+
id: git-metadata
|
|
42
|
+
shell: bash
|
|
43
|
+
run: |
|
|
44
|
+
if [ -f .git/shallow ]; then
|
|
45
|
+
git fetch --prune --unshallow
|
|
46
|
+
fi
|
|
47
|
+
GIT_DESCRIBE_TAG="$(git describe --tags --abbrev=0 || echo UNKNOWN)"
|
|
48
|
+
echo GIT_DESCRIBE_TAG=${GIT_DESCRIBE_TAG} >> $GITHUB_OUTPUT
|
|
49
|
+
GIT_DESCRIBE_HASH=g"$(git rev-parse --short HEAD || echo UNKNOWN)"
|
|
50
|
+
echo GIT_DESCRIBE_HASH=${GIT_DESCRIBE_HASH} >> $GITHUB_OUTPUT
|
|
51
|
+
GIT_DESCRIBE_NUMBER="$(git rev-list --count ${GIT_DESCRIBE_TAG}..HEAD || echo UNKNOWN)"
|
|
52
|
+
echo GIT_DESCRIBE_NUMBER=$GIT_DESCRIBE_NUMBER >> $GITHUB_OUTPUT
|
|
53
|
+
|
|
54
|
+
- uses: prefix-dev/rattler-build-action@1ca5f45832f419a46d1326ccc5861d7e14d67c44 # v0.2.39
|
|
55
|
+
with:
|
|
56
|
+
recipe-path: conda.recipe/recipe.yaml
|
|
57
|
+
build-args: -m .ci_support/${{ matrix['variant-file'] }}.yaml --target-platform ${{ matrix['target-platform'] }} ${{ matrix['rattler-build-args'] }}
|
|
58
|
+
artifact-name: package-${{ matrix['variant-file'] }}
|
|
59
|
+
env:
|
|
60
|
+
GIT_DESCRIBE_TAG: ${{ steps.git-metadata.outputs.GIT_DESCRIBE_TAG }}
|
|
61
|
+
GIT_DESCRIBE_HASH: ${{ steps.git-metadata.outputs.GIT_DESCRIBE_HASH }}
|
|
62
|
+
GIT_DESCRIBE_NUMBER: ${{ steps.git-metadata.outputs.GIT_DESCRIBE_NUMBER }}
|
|
@@ -35,12 +35,12 @@ jobs:
|
|
|
35
35
|
|
|
36
36
|
steps:
|
|
37
37
|
- name: "Checkout code"
|
|
38
|
-
uses: actions/checkout@
|
|
38
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
39
39
|
with:
|
|
40
40
|
persist-credentials: false
|
|
41
41
|
|
|
42
42
|
- name: "Run analysis"
|
|
43
|
-
uses: ossf/scorecard-action@
|
|
43
|
+
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
|
|
44
44
|
with:
|
|
45
45
|
results_file: results.sarif
|
|
46
46
|
results_format: sarif
|
|
@@ -65,7 +65,7 @@ jobs:
|
|
|
65
65
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
|
66
66
|
# format to the repository Actions tab.
|
|
67
67
|
- name: "Upload artifact"
|
|
68
|
-
uses: actions/upload-artifact@
|
|
68
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
69
69
|
with:
|
|
70
70
|
name: SARIF file
|
|
71
71
|
path: results.sarif
|
|
@@ -74,6 +74,6 @@ jobs:
|
|
|
74
74
|
# Upload the results to GitHub's code scanning dashboard (optional).
|
|
75
75
|
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
|
|
76
76
|
- name: "Upload to code-scanning"
|
|
77
|
-
uses: github/codeql-action/upload-sarif@
|
|
77
|
+
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
|
78
78
|
with:
|
|
79
79
|
sarif_file: results.sarif
|
|
@@ -7,6 +7,40 @@
|
|
|
7
7
|
Changelog
|
|
8
8
|
=========
|
|
9
9
|
|
|
10
|
+
4.3.1 - 2026-11-05
|
|
11
|
+
------------------
|
|
12
|
+
|
|
13
|
+
**Bug fix:**
|
|
14
|
+
|
|
15
|
+
- Fixed :meth:`tabmat.CategoricalMatrix.multiply` for matrices with a single row, which failed because ``np.squeeze`` reduced the multiplier to a 0-d array.
|
|
16
|
+
- :meth:`tabmat.CategoricalMatrix.unpack` no longer emits a ``DeprecationWarning`` caused by internally accessing the deprecated ``cat`` property.
|
|
17
|
+
- Slicing a :class:`tabmat.DenseMatrix` no longer emits a spurious warning about non-contiguous input.
|
|
18
|
+
|
|
19
|
+
**Other changes:**
|
|
20
|
+
|
|
21
|
+
- Require Python>=3.11, since conda-forge no longer supports Python 3.10. No Python 3.10 wheels are built or uploaded to PyPI any more.
|
|
22
|
+
- Added ``py315`` test environment and a conda package build for Python 3.15, and added the Python 3.14 and 3.15 classifiers.
|
|
23
|
+
- Removed the ``py310`` test environment and moved the ``oldies`` environment and the conda package builds from Python 3.10 to 3.11. The ``oldies`` pins for pandas (1.5.3), scipy (1.9.3) and setuptools (65) were raised to the oldest releases with Python 3.11 builds.
|
|
24
|
+
- Raised ruff's target version to Python 3.11 and modernized type annotations.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
4.3.0 - 2026-10-30
|
|
28
|
+
------------------
|
|
29
|
+
|
|
30
|
+
**New feature:**
|
|
31
|
+
|
|
32
|
+
- Numerical factors now record formulaic's ``spans_intercept`` in the model spec's ``encoder_state``. For example, this shows whether ``bs()`` dropped its first basis function.
|
|
33
|
+
|
|
34
|
+
**Bug fixes:**
|
|
35
|
+
|
|
36
|
+
- Fixed compatibility with polars 2.0, which removed ``Series.cat.get_categories()``.
|
|
37
|
+
|
|
38
|
+
**Other changes:**
|
|
39
|
+
|
|
40
|
+
- Clarified that ``sparse_threshold`` is used to sparsify numerical columns and is not used to densify columns that are already sparse.
|
|
41
|
+
- Fixed the benchmark harness silently recording zero timings and memory under pandas 3, where the chained assignment it used is rejected by copy-on-write.
|
|
42
|
+
- We disabled fast math to avoid invalid results (e.g., when dividing by zero).
|
|
43
|
+
|
|
10
44
|
|
|
11
45
|
4.2.1 - 2026-02-04
|
|
12
46
|
------------------
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tabmat
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3.1
|
|
4
4
|
Summary: Efficient matrix representations for working with tabular data.
|
|
5
5
|
Home-page: https://github.com/Quantco/tabmat
|
|
6
6
|
Author: QuantCo, Inc.
|
|
7
7
|
Author-email: noreply@quantco.com
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
-
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
14
|
+
Requires-Python: >=3.11
|
|
14
15
|
Description-Content-Type: text/markdown
|
|
15
16
|
License-File: LICENSE
|
|
16
17
|
Requires-Dist: formulaic>=1.2
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
context:
|
|
2
|
+
name: tabmat
|
|
3
|
+
version: ${{ env.get('GIT_DESCRIBE_TAG') | trim('v') }}${{ ('.post' + env.get('GIT_DESCRIBE_NUMBER') + '+' + env.get('GIT_DESCRIBE_HASH')) if env.get('GIT_DESCRIBE_NUMBER', default='0') != '0' }}
|
|
4
|
+
|
|
5
|
+
package:
|
|
6
|
+
name: tabmat
|
|
7
|
+
version: ${{ version }}
|
|
8
|
+
|
|
9
|
+
source:
|
|
10
|
+
path: ../
|
|
11
|
+
use_gitignore: false
|
|
12
|
+
|
|
13
|
+
build:
|
|
14
|
+
number: 0
|
|
15
|
+
script: python -m pip install . -vv
|
|
16
|
+
|
|
17
|
+
requirements:
|
|
18
|
+
build:
|
|
19
|
+
- if: build_platform != target_platform
|
|
20
|
+
then:
|
|
21
|
+
- python
|
|
22
|
+
- cross-python_${{ target_platform }}
|
|
23
|
+
- cython !=3.0.4
|
|
24
|
+
- numpy
|
|
25
|
+
- ${{ compiler("c") }}
|
|
26
|
+
- ${{ stdlib("c") }}
|
|
27
|
+
- ${{ compiler("cxx") }}
|
|
28
|
+
- if: osx
|
|
29
|
+
then:
|
|
30
|
+
- llvm-openmp
|
|
31
|
+
- if: linux
|
|
32
|
+
then:
|
|
33
|
+
- libgomp
|
|
34
|
+
host:
|
|
35
|
+
- python
|
|
36
|
+
- cython !=3.0.4
|
|
37
|
+
- if: not win
|
|
38
|
+
then:
|
|
39
|
+
- jemalloc-local
|
|
40
|
+
- if: osx
|
|
41
|
+
then:
|
|
42
|
+
- llvm-openmp
|
|
43
|
+
- mako
|
|
44
|
+
- numpy
|
|
45
|
+
- pip
|
|
46
|
+
- setuptools-scm
|
|
47
|
+
- xsimd <11|>12.1
|
|
48
|
+
run:
|
|
49
|
+
- python
|
|
50
|
+
- ${{ pin_compatible('numpy') }}
|
|
51
|
+
- formulaic >=1.2
|
|
52
|
+
- scipy
|
|
53
|
+
- narwhals >=2
|
|
54
|
+
|
|
55
|
+
tests:
|
|
56
|
+
- python:
|
|
57
|
+
pip_check: true
|
|
58
|
+
imports:
|
|
59
|
+
- tabmat
|
|
60
|
+
|
|
61
|
+
about:
|
|
62
|
+
homepage: https://github.com/Quantco/tabmat
|
|
63
|
+
license: BSD-3-Clause
|
|
64
|
+
license_file: LICENSE
|
|
65
|
+
summary: Efficient matrix representations for working with tabular data
|
|
66
|
+
description: |
|
|
67
|
+
tabmat provides efficient tools for representing tabular data as a mix of
|
|
68
|
+
dense, sparse and categorical subcomponents, resulting in 100x faster
|
|
69
|
+
performance on some machine learning problems!
|
|
70
|
+
documentation: https://tabmat.readthedocs.io/
|
|
71
|
+
repository: https://github.com/Quantco/tabmat
|
|
72
|
+
|
|
73
|
+
extra:
|
|
74
|
+
recipe-maintainers:
|
|
75
|
+
- MarcAntoineSchmidtQC
|
|
76
|
+
- xhochy
|
|
77
|
+
- tbenthompson
|
|
@@ -7,6 +7,40 @@
|
|
|
7
7
|
Changelog
|
|
8
8
|
=========
|
|
9
9
|
|
|
10
|
+
4.3.1 - 2026-11-05
|
|
11
|
+
------------------
|
|
12
|
+
|
|
13
|
+
**Bug fix:**
|
|
14
|
+
|
|
15
|
+
- Fixed :meth:`tabmat.CategoricalMatrix.multiply` for matrices with a single row, which failed because ``np.squeeze`` reduced the multiplier to a 0-d array.
|
|
16
|
+
- :meth:`tabmat.CategoricalMatrix.unpack` no longer emits a ``DeprecationWarning`` caused by internally accessing the deprecated ``cat`` property.
|
|
17
|
+
- Slicing a :class:`tabmat.DenseMatrix` no longer emits a spurious warning about non-contiguous input.
|
|
18
|
+
|
|
19
|
+
**Other changes:**
|
|
20
|
+
|
|
21
|
+
- Require Python>=3.11, since conda-forge no longer supports Python 3.10. No Python 3.10 wheels are built or uploaded to PyPI any more.
|
|
22
|
+
- Added ``py315`` test environment and a conda package build for Python 3.15, and added the Python 3.14 and 3.15 classifiers.
|
|
23
|
+
- Removed the ``py310`` test environment and moved the ``oldies`` environment and the conda package builds from Python 3.10 to 3.11. The ``oldies`` pins for pandas (1.5.3), scipy (1.9.3) and setuptools (65) were raised to the oldest releases with Python 3.11 builds.
|
|
24
|
+
- Raised ruff's target version to Python 3.11 and modernized type annotations.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
4.3.0 - 2026-10-30
|
|
28
|
+
------------------
|
|
29
|
+
|
|
30
|
+
**New feature:**
|
|
31
|
+
|
|
32
|
+
- Numerical factors now record formulaic's ``spans_intercept`` in the model spec's ``encoder_state``. For example, this shows whether ``bs()`` dropped its first basis function.
|
|
33
|
+
|
|
34
|
+
**Bug fixes:**
|
|
35
|
+
|
|
36
|
+
- Fixed compatibility with polars 2.0, which removed ``Series.cat.get_categories()``.
|
|
37
|
+
|
|
38
|
+
**Other changes:**
|
|
39
|
+
|
|
40
|
+
- Clarified that ``sparse_threshold`` is used to sparsify numerical columns and is not used to densify columns that are already sparse.
|
|
41
|
+
- Fixed the benchmark harness silently recording zero timings and memory under pandas 3, where the chained assignment it used is rejected by copy-on-write.
|
|
42
|
+
- We disabled fast math to avoid invalid results (e.g., when dividing by zero).
|
|
43
|
+
|
|
10
44
|
|
|
11
45
|
4.2.1 - 2026-02-04
|
|
12
46
|
------------------
|