Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0]

- fix issue with running scripts installed on Windows (can handle non-directories in `sys.path`)
[#21](https://github.com/PyO3/maturin-import-hook/issues/21)
[#23](https://github.com/PyO3/maturin-import-hook/pull/23)
- improve handling of TOML parsing errors [#20](https://github.com/PyO3/maturin-import-hook/pull/20)
- raise minimum maturin to 1.8.4 [#22](https://github.com/PyO3/maturin-import-hook/pull/22)
- update to maturin 1.8.2
- remove `--detect-uv` argument to `maturin_import_hook site install` because maturin now automatically detects uv
environments

Expand All @@ -35,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Initial release of the import hook.

[Unreleased]: https://github.com/pyo3/maturin-import-hook/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/pyo3/maturin-import-hook/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/pyo3/maturin-import-hook/compare/v0.2.0...v0.3.0
[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
8 changes: 5 additions & 3 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ a PR, but generally stick to conforming to the suggested linter rules.

1. Bump the version number in `pyproject.toml`.
2. Update `Changelog.md` to reflect the new changes.
3. Check out the commit you want to make a release from.
4. Run `git tag <version>` e.g. `git tag v0.1.0`.
5. Run `git push origin <version>` e.g. `git push origin v0.1.0`.
3. Make a pull request for the changes and get it merged.
- tag the pull request with CI-test-all
4. Check out the latest changes on the `main` branch.
5. Run `git tag <version>` e.g. `git tag v0.1.0`.
6. Run `git push origin <version>` e.g. `git push origin v0.1.0`.
- This will trigger the 'release' github action which will upload to PyPi.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = [
{name = "Matthew Broadway", email = "mattdbway@gmail.com"}
]
readme = "README.md"
version = "0.2.0"
version = "0.3.0"
requires-python = ">=3.9"
dependencies = [
"filelock",
Expand Down
6 changes: 0 additions & 6 deletions tests/test_import_hook/test_site.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import logging
from pathlib import Path
from textwrap import dedent

Expand All @@ -12,11 +11,6 @@

from .common import capture_logs

script_dir = Path(__file__).resolve().parent
maturin_import_hook_root = script_dir.parent.parent

log = logging.getLogger(__name__)


def test_automatic_site_installation(tmp_path: Path) -> None:
sitecustomize = tmp_path / "sitecustomize.py"
Expand Down
Loading