Skip to content

PyOZ v0.10.3

Choose a tag to compare

@github-actions github-actions released this 07 Feb 20:51
· 44 commits to main since this release
041b2b5

What's New in v0.10.3

Added

  • PEP 517 build backend - Added pyoz.backend module implementing PEP 517 hooks (build_wheel, build_sdist, get_requires_for_build_wheel). Projects generated by pyoz init now set build-backend = "pyoz.backend" so pip install . works out of the box. Previously, build-backend = "pyoz.build" pointed to the build function rather than a proper backend module.

Fixed

  • Methods returning []T on class T caused compile error - When a method on a registered class T returned []T (a slice of its own type), PyOZ's method chaining detection misidentified the slice as a *const T self-pointer. The return type dispatch now checks for single-item pointers (.size == .one) before entering the self-return path, so slices correctly convert to Python lists. The same fix was applied to __iter__ return handling.

Installation

Download the binary for your platform and add it to your PATH:

Platform Binary
Linux x86_64 pyoz-x86_64-linux
Linux ARM64 pyoz-aarch64-linux
macOS x86_64 pyoz-x86_64-macos
macOS ARM64 (Apple Silicon) pyoz-aarch64-macos
Windows x86_64 pyoz-x86_64-windows.exe
Windows ARM64 pyoz-aarch64-windows.exe

Source

Download PyOZ-0.10.3.tar.gz for the source code.

Quick Start

pyoz init mymodule
cd mymodule
pyoz build
pip install dist/*.whl