Skip to content

Commit

Permalink
Upgrade pyproject-hooks to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Dec 23, 2024
1 parent 7c218b9 commit 1346ddb
Show file tree
Hide file tree
Showing 9 changed files with 318 additions and 199 deletions.
1 change: 1 addition & 0 deletions news/pyproject-hooks.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade pyproject-hooks to 1.2.0
1 change: 0 additions & 1 deletion src/pip/_vendor/pyproject_hooks.pyi

This file was deleted.

26 changes: 17 additions & 9 deletions src/pip/_vendor/pyproject_hooks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""Wrappers to call pyproject.toml-based build backend hooks.
"""

from typing import TYPE_CHECKING

from ._impl import (
BackendInvalid,
BackendUnavailable,
BuildBackendHookCaller,
HookMissing,
Expand All @@ -11,13 +12,20 @@
quiet_subprocess_runner,
)

__version__ = '1.0.0'
__version__ = "1.2.0"
__all__ = [
'BackendUnavailable',
'BackendInvalid',
'HookMissing',
'UnsupportedOperation',
'default_subprocess_runner',
'quiet_subprocess_runner',
'BuildBackendHookCaller',
"BackendUnavailable",
"BackendInvalid",
"HookMissing",
"UnsupportedOperation",
"default_subprocess_runner",
"quiet_subprocess_runner",
"BuildBackendHookCaller",
]

BackendInvalid = BackendUnavailable # Deprecated alias, previously a separate exception

if TYPE_CHECKING:
from ._impl import SubprocessRunner

__all__ += ["SubprocessRunner"]
8 changes: 0 additions & 8 deletions src/pip/_vendor/pyproject_hooks/_compat.py

This file was deleted.

Loading

0 comments on commit 1346ddb

Please sign in to comment.