Skip to content

Commit b2964c7

Browse files
authored
Merge pull request #284 from OpenTabular/develop
Develop to master - package renamed
2 parents f5407d8 + 262bc49 commit b2964c7

File tree

135 files changed

+332
-218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+332
-218
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion

.github/workflows/pr-tests.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
name: PR Unit Tests
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
branches:
67
- develop
78
- master # Add any other branches where you want to enforce tests
89

10+
concurrency:
11+
group: pytest-${{ github.head_ref || github.sha }}
12+
cancel-in-progress: true
13+
914
jobs:
1015
test:
11-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [ubuntu-latest, windows-latest, macos-latest]
21+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1222

1323
steps:
1424
- name: Checkout Repository
1525
uses: actions/checkout@v4
1626

27+
- name: Install Poetry
28+
uses: abatilo/actions-poetry@v4
29+
1730
- name: Set up Python
1831
uses: actions/setup-python@v4
1932
with:
20-
python-version: "3.10" # Change this to match your setup
21-
22-
- name: Install Poetry
23-
run: |
24-
curl -sSL https://install.python-poetry.org | python3 -
25-
echo "$HOME/.local/bin" >> $GITHUB_PATH
26-
export PATH="$HOME/.local/bin:$PATH"
33+
python-version: ${{ matrix.python-version }}
34+
cache: 'poetry'
2735

2836
- name: Install Dependencies
2937
run: |
@@ -34,12 +42,13 @@ jobs:
3442
- name: Install Package Locally
3543
run: |
3644
poetry build
37-
pip install dist/*.whl # Install the built package to fix "No module named 'mambular'"
45+
pip install dist/*.whl # Install the built package to fix "No module named 'deeptabular'"
3846
3947
- name: Run Unit Tests
4048
env:
4149
PYTHONPATH: ${{ github.workspace }} # Ensure the package is discoverable
42-
run: pytest tests/
50+
run: poetry run pytest tests/
51+
shell: bash
4352

4453
- name: Verify Tests Passed
4554
if: ${{ success() }}

README.md

Lines changed: 34 additions & 34 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717

1818
# The following line *must* be the last in the module, exactly as formatted:
1919

20-
__version__ = "1.5.0"
20+
__version__ = "1.6.0"
2121

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import torch
22
import torch.nn as nn
33
import torch.nn.functional as F
4-
from mambular.arch_utils.layer_utils.sparsemax import sparsemax, sparsemoid
4+
from deeptabular.arch_utils.layer_utils.sparsemax import sparsemax, sparsemoid
55
from .data_aware_initialization import ModuleWithInit
66
from .numpy_utils import check_numpy
77
import numpy as np

0 commit comments

Comments
 (0)