Skip to content

Commit 0c35889

Browse files
committed
Release 0.3.0
1 parent 0b99754 commit 0c35889

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

Changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

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

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

3637
Initial release of the import hook.
3738

38-
[Unreleased]: https://github.com/pyo3/maturin-import-hook/compare/v0.2.0...HEAD
39+
[Unreleased]: https://github.com/pyo3/maturin-import-hook/compare/v0.3.0...HEAD
40+
[0.3.0]: https://github.com/pyo3/maturin-import-hook/compare/v0.2.0...v0.3.0
3941
[0.2.0]: https://github.com/pyo3/maturin-import-hook/compare/v0.1.0...v0.2.0
4042
[0.1.0]: https://github.com/pyo3/maturin-import-hook/compare/c2689735a61a322998f7304a113b7c74b8108ab3...v0.1.0

Contributing.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ a PR, but generally stick to conforming to the suggested linter rules.
4848

4949
1. Bump the version number in `pyproject.toml`.
5050
2. Update `Changelog.md` to reflect the new changes.
51-
3. Check out the commit you want to make a release from.
52-
4. Run `git tag <version>` e.g. `git tag v0.1.0`.
53-
5. Run `git push origin <version>` e.g. `git push origin v0.1.0`.
51+
3. Make a pull request for the changes and get it merged.
52+
- tag the pull request with CI-test-all
53+
4. Check out the latest changes on the `main` branch.
54+
5. Run `git tag <version>` e.g. `git tag v0.1.0`.
55+
6. Run `git push origin <version>` e.g. `git push origin v0.1.0`.
5456
- This will trigger the 'release' github action which will upload to PyPi.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = [
55
{name = "Matthew Broadway", email = "[email protected]"}
66
]
77
readme = "README.md"
8-
version = "0.2.0"
8+
version = "0.3.0"
99
requires-python = ">=3.9"
1010
dependencies = [
1111
"filelock",

tests/test_import_hook/test_site.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import logging
21
from pathlib import Path
32
from textwrap import dedent
43

@@ -12,11 +11,6 @@
1211

1312
from .common import capture_logs
1413

15-
script_dir = Path(__file__).resolve().parent
16-
maturin_import_hook_root = script_dir.parent.parent
17-
18-
log = logging.getLogger(__name__)
19-
2014

2115
def test_automatic_site_installation(tmp_path: Path) -> None:
2216
sitecustomize = tmp_path / "sitecustomize.py"

0 commit comments

Comments
 (0)