Skip to content

Release v0.1.2

Choose a tag to compare

@minaskar minaskar released this 23 Jan 17:08
· 14 commits to main since this release

Release v0.1.2

Fixed Critical Packaging Bug

Issue: Users getting ModuleNotFoundError: No module named 'tempest.steps' after pip install tempest-sampler

Root Cause: The package configuration in pyproject.toml was only packaging the top-level tempest directory, excluding subpackages like tempest.steps/, tempest.students/, etc.

Solution: Updated packaging to use automatic package discovery with [tool.setuptools.packages.find] to include all subpackages.

Changes

Fixed

  • Critical packaging bug: Fixed ModuleNotFoundError: No module named 'tempest.steps' error that occurred after pip install
    • Root cause: pyproject.toml was only packaging the top-level tempest directory, excluding subpackages
    • Solution: Updated packaging configuration to use automatic package discovery

Added

  • Integration test tests/test_package_install.py to verify all submodules are importable
  • New CI workflow .github/workflows/test-wheel.yml to test pip-installed package in isolation
    • Builds wheel and tests imports in clean environment
    • Tests across Python versions 3.8, 3.10, 3.12
    • Catches packaging issues that unit tests miss

Changed

  • Bumped version to 0.1.2

Verification

Tested with clean installations on all supported Python versions:

  • from tempest.sampler import Sampler works
  • from tempest.steps import Reweighter, Trainer, Resampler, Mutator works
  • ✅ Sampler instantiation without errors

Installation

pip install tempest-sampler==0.1.2

All subpackages now properly included in distribution.