Skip to content

Release v0.15.1: Packaging Fix

Choose a tag to compare

@Routhleck Routhleck released this 01 Feb 14:14
· 25 commits to master since this release

What's New

📦 Packaging Fix Release

  • Resolves PyPI upload error from v0.15.0 due to package size exceeding 100MB limit
  • Reduces package size from 108MB to 418KB (99.6% reduction)
  • Same functionality as v0.15.0, only packaging configuration changes

Major Features / Key Changes

📦 Package Size Optimization

  • Source distribution configuration: Configured pyproject.toml to include only essential files
  • Excluded directories: Removed docs, examples, images, tests, and cache directories from distribution
  • Size reduction: Achieved 99.6% size reduction (108MB → 418KB)
  • Faster installation: Significantly improved pip install speed

📋 Files Included in Distribution

  • src/ - All source code and package modules
  • README.md / README_zh.md - Project documentation
  • LICENSE - Apache 2.0 license
  • CHANGELOG.md - Version history
  • CITATION.cff - Citation information
  • pyproject.toml - Package configuration

Technical Notes

  • No functional changes: This release contains identical functionality to v0.15.0
  • PyPI compatibility: Resolves "File too large" error when uploading to PyPI
  • Backward compatible: Drop-in replacement for v0.15.0
  • Documentation: Full documentation remains available at https://canns.readthedocs.io/

Installation

Install or upgrade to the latest version:

pip install --upgrade canns

Or install specific version:

pip install canns==0.15.1

Full Changelog: v0.15.0...v0.15.1