v0.3.0
🔆 Highlights
기존 템플릿은 pip install -e .
처럼 development mode로 설치하는 것을 기본 전제로 했다. 하지만,
기존 방법의 단점:
- 이렇게 하면 무조건 repository clone을 해야 사용할 수 있으므로 간단히 설치해 CLI를 사용하기 어려워진다.
변경 방법의 장점: 설치가 훨씬 수월해진다.
pip install .
(-e 없이) 해도 사용 가능. (PROJECT_DIR만 사용 못함)pipx install .
,uv tool install .
처럼 API없이 CLI만 사용하도록 설치도 가능.
Breaking Changes (주의 사항)
- PROJECT_DIR type이
Path
->Path | None
으로 변경. Non-development mode install (pip install -e 안했을때) None으로 설정.- 웬만하면 사용 자제하고 개발/테스트할 때만 사용 권장.
setup_logging()
default로 file logging 안하도록 변경.setup_logging(log_dir=LOG_DIR)
사용.
New Features
ml-project config
CLI로 template.env를 가장 적합한 디렉토리에 복사함.
Auto-generated changelog
💥 BREAKING CHANGES
-
due to
ed5d8ed
- drop windows (not in default) (commit by @kiyoon):drop windows (not in default)
-
due to
b2fa2e9
- prevent circular import (commit by @kiyoon):prevent circular import
-
due to
6b0e335
- non-development installation support (PR #28 by @kiyoon):non-development installation support (#28)
✨ New Features
088ac67
- update requirements_docs.in to support python 3.12 (commit by @kiyoon)01ede09
- vscode default settings (commit by @kiyoon)9772d0e
- ruff: ignore unused imports in init.py (commit by @kiyoon)ed5d8ed
- pip-compile: drop windows (not in default) (commit by @kiyoon)3ced2e3
- biotest (commit by @kiyoon)d216290
- ban lightning (commit by @kiyoon)d14c903
- add banned api (commit by @kiyoon)051e2e6
- make pylinter less strict (commit by @kiyoon)4a24cc5
- ruff ban os.system (commit by @kiyoon)3120164
- ruff: ban easydict (commit by @kiyoon)6b0e335
- non-development installation support (PR #28 by @kiyoon)
🐛 Bug Fixes
53fc9f5
- tests directory doesn"t need namespace (commit by @kiyoon)5b2ee15
- disable some ruff rules for CLI (commit by @kiyoon)99972df
- ruff and health check logic (commit by @kiyoon)b2fa2e9
- prevent circular import (commit by @kiyoon)6c3e3dc
- config: improve abstraction, doctest (commit by @kiyoon)