Skip to content

Commit

Permalink
Adapt to #2455.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jul 6, 2024
1 parent 3964508 commit f031ff0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pex/bin/pex.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ def build_pex(
if options.pre_install_wheels
else InstallableType.WHEEL_FILE
),
exclude_configuration=exclude_configuration,
dependency_config=dependency_config,
)
for built_project in built_projects:
dependency_manager.add_requirement(built_project.as_requirement())
Expand Down
6 changes: 3 additions & 3 deletions pex/resolve/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from argparse import Namespace, _ActionsContainer

from pex.build_system import pep_517
from pex.dependency_configuration import DependencyConfiguration
from pex.dist_metadata import DistMetadata, Requirement
from pex.exclude_configuration import ExcludeConfiguration
from pex.fingerprinted_distribution import FingerprintedDistribution
from pex.interpreter import PythonInterpreter
from pex.jobs import Raise, SpawnedJob, execute_parallel
Expand Down Expand Up @@ -82,7 +82,7 @@ def build(
compile_pyc=False, # type: bool
ignore_errors=False, # type: bool
result_type=InstallableType.INSTALLED_WHEEL_CHROOT, # type: InstallableType.Value
exclude_configuration=ExcludeConfiguration(), # type: ExcludeConfiguration
dependency_config=DependencyConfiguration(), # type: DependencyConfiguration
):
# type: (...) -> Iterator[BuiltProject]

Expand All @@ -93,7 +93,7 @@ def build(
compile_pyc=compile_pyc,
ignore_errors=ignore_errors,
result_type=result_type,
exclude_configuration=exclude_configuration,
dependency_configuration=dependency_config,
)
for resolved_distribution in resolve_result.distributions:
yield BuiltProject(
Expand Down

0 comments on commit f031ff0

Please sign in to comment.