Repository navigation
zoo-runner-common-0.1.2
📦 zoo-runner-common v0.1.2
Third release: Package structure refactoring and proper Python module organization
This maintenance release reorganizes the package structure to follow Python best practices with a proper package directory and improved module imports.
🔄 What's Changed
1. Package Structure Refactoring
- Moved all modules into a proper
zoo_runner_common/package directory - Created
__init__.pywith explicit exports for better API clarity - Removed root-level
__init__.pyfor cleaner structure
Module Organization:
zoo_runner_common/
├── __init__.py
├── base_runner.py
├── handlers.py
├── zoo_conf.py
└── zoostub.py
2. Updated Import Paths
- All modules now use proper package imports:
from zoo_runner_common import ... - Updated internal imports in
base_runner.pyto reference the new package structure - Documentation API references updated to reflect new module paths
3. Enhanced Package Configuration
- Updated
pyproject.tomlwith propersetuptools.packages. findconfiguration - Switched from
py-modulesto package-based discovery - Version bumped to
0.1.2
📦 Installation from PyPI
Install directly from PyPI:
pip install zoo-runner-common==0.1.2Or update in your pyproject.toml:
[project]
dependencies = [
"zoo-runner-common>=0.1.2",
]🔄 Migration Guide
If you're upgrading from v0.1.1, update your imports:
Before (v0.1.0 / v0.1.1):
from base_runner import BaseRunner
from zoo_conf import ZooConf, ZooInputs, ZooOutputsAfter (v0.1.2):
from zoo_runner_common import BaseRunner, ZooConf, ZooInputs, ZooOutputs
# or
from zoo_runner_common.base_runner import BaseRunner
from zoo_runner_common.zoo_conf import ZooConf, ZooInputs, ZooOutputs🔗 Links
- PyPI Package: https://pypi.org/project/zoo-runner-common/
- Documentation: https://zoo-project.github.io/zoo-runner-common/
- Repository: https://github.com/ZOO-Project/zoo-runner-common
- Changelog: https://github.com/ZOO-Project/zoo-runner-common/compare/v0.1.1... v0.1.2
📝 Notes
This release improves package structure and follows Python packaging best practices. While it introduces import path changes, the core functionality remains identical to v0.1.1.
License: Apache-2.0