From 443c1d6adfb314c1dcbe0c85289681b53738f2fd Mon Sep 17 00:00:00 2001 From: "m.habedank" Date: Thu, 24 Apr 2025 00:15:31 +0200 Subject: [PATCH 1/9] Refactored and extended testing workflow - uses caching - uses testing matrix for os and python versions - uses poetry action - removed manual build - using dev dependency group and testing via poetry --- .github/workflows/pr-tests.yml | 35 ++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 0e878fe3..c8b4f778 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -1,45 +1,48 @@ name: PR Unit Tests on: + workflow_dispatch: pull_request: branches: - develop - master # Add any other branches where you want to enforce tests +concurrency: + group: pytest-${{ github.head_ref || github.sha }} + cancel-in-progress: true + jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout Repository uses: actions/checkout@v4 + - name: Install Poetry + uses: abatilo/actions-poetry@v4 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" # Change this to match your setup - - - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org | python3 - - echo "$HOME/.local/bin" >> $GITHUB_PATH - export PATH="$HOME/.local/bin:$PATH" + python-version: ${{ matrix.python-version }} + cache: 'poetry' - name: Install Dependencies run: | python -m pip install --upgrade pip - poetry install - pip install pytest - - - name: Install Package Locally - run: | - poetry build - pip install dist/*.whl # Install the built package to fix "No module named 'mambular'" + poetry install --with dev - name: Run Unit Tests env: PYTHONPATH: ${{ github.workspace }} # Ensure the package is discoverable - run: pytest tests/ + run: poetry run pytest tests/ + shell: bash - name: Verify Tests Passed if: ${{ success() }} From 34b827369acce6304bfc690ded2809deff185171 Mon Sep 17 00:00:00 2001 From: ChrisW09 Date: Tue, 11 Nov 2025 21:51:48 +0100 Subject: [PATCH 2/9] update name in readme --- README.md | 90 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index fdea79a4..e0376367 100644 --- a/README.md +++ b/README.md @@ -2,24 +2,24 @@ -[![PyPI](https://img.shields.io/pypi/v/mambular)](https://pypi.org/project/mambular) -![PyPI - Downloads](https://img.shields.io/pypi/dm/mambular) -[![docs build](https://readthedocs.org/projects/mambular/badge/?version=latest)](https://mambular.readthedocs.io/en/latest/?badge=latest) -[![docs](https://img.shields.io/badge/docs-latest-blue)](https://mambular.readthedocs.io/en/latest/) -[![open issues](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/basf/mamba-tabular/issues) +[![PyPI](https://img.shields.io/pypi/v/deeptabular)](https://pypi.org/project/deeptabular) +![PyPI - Downloads](https://img.shields.io/pypi/dm/deeptabular) +[![docs build](https://readthedocs.org/projects/deeptabular/badge/?version=latest)](https://deeptabular.readthedocs.io/en/latest/?badge=latest) +[![docs](https://img.shields.io/badge/docs-latest-blue)](https://deeptabular.readthedocs.io/en/latest/) +[![open issues](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/OpenTabular/DeepTabular/issues) -[📘Documentation](https://mambular.readthedocs.io/en/latest/index.html) | -[🛠️Installation](https://mambular.readthedocs.io/en/latest/installation.html) | -[Models](https://mambular.readthedocs.io/en/latest/api/models/index.html) | -[🤔Report Issues](https://github.com/basf/mamba-tabular/issues) +[📘Documentation](https://deeptabular.readthedocs.io/en/latest/index.html) | +[🛠️Installation](https://deeptabular.readthedocs.io/en/latest/installation.html) | +[Models](https://deeptabular.readthedocs.io/en/latest/api/models/index.html) | +[🤔Report Issues](https://github.com/OpenTabular/DeepTabular/issues)
-

Mambular: Tabular Deep Learning Made Simple

+

DeepTabular: Tabular Deep Learning Made Simple

-Mambular is a Python library for tabular deep learning. It includes models that leverage the Mamba (State Space Model) architecture, as well as other popular models like TabTransformer, FTTransformer, TabM and tabular ResNets. Check out our paper `Mambular: A Sequential Model for Tabular Deep Learning`, available [here](https://arxiv.org/abs/2408.06291). Also check out our paper introducing [TabulaRNN](https://arxiv.org/pdf/2411.17207) and analyzing the efficiency of NLP inspired tabular models. +DeepTabular is a Python library for tabular deep learning. It includes models that leverage the Mamba (State Space Model) architecture, as well as other popular models like TabTransformer, FTTransformer, TabM and tabular ResNets. Check out our paper `Mambular: A Sequential Model for Tabular Deep Learning`, available [here](https://arxiv.org/abs/2408.06291). Also check out our paper introducing [TabulaRNN](https://arxiv.org/pdf/2411.17207) and analyzing the efficiency of NLP inspired tabular models.

⚡ What's New ⚡