Skip to content

Commit 7bb74e2

Browse files
committed
Mark BackendInvalid as no longer used/deprecated
1 parent 0177e3d commit 7bb74e2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/pyproject_hooks/_impl.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ def __init__(self, traceback, message=None, backend_name=None, backend_path=None
3232

3333

3434
class BackendInvalid(Exception):
35-
"""Will be raised if the backend is invalid."""
35+
"""Will be raised if the backend is invalid.
36+
37+
.. deprecated:: 1.1.0
38+
``pyproject_hooks`` no longer produces ``BackendInvalid`` exceptions.
39+
Consider using ``BackendUnavailable`` to handle situations that
40+
previously would raise ``BackendInvalid``.
41+
Future versions of the library may remove this class.
42+
"""
3643

3744
def __init__(self, backend_name, backend_path, message):
3845
super().__init__(message)

0 commit comments

Comments
 (0)