diff --git a/.bumpversion.cfg b/.bumpversion.cfg index fc02bd3..7a8571b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.0 +current_version = 1.1.0 commit = True tag = True diff --git a/docs/changelog.rst b/docs/changelog.rst index 7f88cfa..73eea77 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,11 @@ v1.1 ---- - Add type annotations to the public API. +- More careful handling of the ``backend-path`` key from ``pyproject.toml``. + Previous versions would load the backend and then check that it was loaded + from the specified path; the new version only loads it from the specified path. + The ``BackendInvalid`` exception is now a synonym for :exc:`BackendUnavailable`, + and code should move to using the latter name. v1.0 ---- diff --git a/src/pyproject_hooks/__init__.py b/src/pyproject_hooks/__init__.py index eba2275..df857df 100644 --- a/src/pyproject_hooks/__init__.py +++ b/src/pyproject_hooks/__init__.py @@ -12,9 +12,10 @@ quiet_subprocess_runner, ) -__version__ = "1.0.0" +__version__ = "1.1.0" __all__ = [ "BackendUnavailable", + "BackendInvalid", "HookMissing", "UnsupportedOperation", "default_subprocess_runner", @@ -22,6 +23,8 @@ "BuildBackendHookCaller", ] +BackendInvalid = BackendUnavailable # Deprecated alias, previously a separate exception + if TYPE_CHECKING: from ._impl import SubprocessRunner