Skip to content

OpenSlide Python 1.4.0

Compare
Choose a tag to compare
@bgilbert bgilbert released this 29 Oct 20:09
· 17 commits to main since this release
v1.4.0
d65b24a

New features

  • Support OpenSlide installed from PyPI with pip install openslide-bin
  • Add type hints for Python ≥ 3.10
  • Add wheels for Linux aarch64, Linux x86_64, and macOS arm64 + x86_64
  • Build version-independent wheels on Python ≥ 3.11
  • examples: Default deepzoom_tile.py job count to available CPUs when known

Changes

  • Drop wheel for 32-bit Windows
  • Rename source distribution to openslide_python per PEP 625
  • Require AbstractSlide subclasses to implement all abstract methods
  • Provide default AbstractSlide.set_cache() implementation
  • Switch to PEP 621 project metadata
  • docs: Document existence of AbstractSlide
  • examples: Update OpenSeadragon to 5.0.0

Bug fixes

  • If OpenSlide cannot be loaded, report errors from all attempts
  • Fix OpenSlide support for bytes filename arguments (1.2.0 regression)
  • Disallow arbitrary types as OpenSlide filename arguments (1.2.0 regression)
  • Encode OpenSlide filename arguments using Python filesystem encoding
  • Add error check to OpenSlide.set_cache()
  • docs: Fix types of properties that return tuples of items