From 666e5296d3e8d2c6a2734fd83309b0798ab18e7d Mon Sep 17 00:00:00 2001 From: Matthew Broadway Date: Sat, 7 Dec 2024 01:12:28 +0000 Subject: [PATCH] Release 0.2.0 --- Changelog.md | 23 +++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index c500a34..5bb62fd 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,3 +6,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) ## [Unreleased] + +## [0.2.0] + +- many improvements to `maturin_import_hook site install` [#11](https://github.com/PyO3/maturin-import-hook/pull/11) + - `--args="..."` to specify which arguments should be used with maturin when installing into `sitecustomize.py` + - automatically detect if `--uv` should be used + - enable/disable project or rs file importer with + `--project-importer/--no-project-importer` and `--rs-file-importer/--no-rs-file-importer` +- ignore directories with `.maturin_hook_ignore` file marker and ignore `.py` files by default [#10](https://github.com/PyO3/maturin-import-hook/pull/10) +- caching and optimisation to greatly reduce overhead when searching for maturin packages [#8](https://github.com/PyO3/maturin-import-hook/pull/8) +- support clearing cache with `importlib.invalidate_caches()` [#8](https://github.com/PyO3/maturin-import-hook/pull/8) +- upgrade to support maturin 1.7.8 [#9](https://github.com/PyO3/maturin-import-hook/pull/9) +- option to install into usercustomize [#5](https://github.com/PyO3/maturin-import-hook/pull/5) +- `maturin_import_hook site install --force` option to overwrite previous installation [#5](https://github.com/PyO3/maturin-import-hook/pull/5) +- ignore `ImportError` in `sitecustomize.py` (in case user uninstalls `maturin_import_hook`) [#5](https://github.com/PyO3/maturin-import-hook/pull/5) + +## [0.1.0] + +Initial release of the import hook. + +[Unreleased]: https://github.com/pyo3/maturin-import-hook/compare/v0.2.0...HEAD +[0.2.0]: https://github.com/pyo3/maturin-import-hook/compare/v0.1.0...v0.2.0 +[0.1.0]: https://github.com/pyo3/maturin-import-hook/compare/c2689735a61a322998f7304a113b7c74b8108ab3...v0.1.0 diff --git a/pyproject.toml b/pyproject.toml index 90d3dac..92e6485 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ authors = [ {name = "Matthew Broadway", email = "mattdbway@gmail.com"} ] readme = "README.md" -version = "0.1.0" +version = "0.2.0" requires-python = ">=3.9" dependencies = [ "filelock",