File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515
1616from unidep ._conflicts import (
1717 VersionConflictError ,
18- _maybe_new_spec_with_combined_pinnings ,
18+ _maybe_new_spec_with_combined_pinnings_and_origins ,
1919)
2020from unidep .platform_definitions import (
2121 PLATFORM_SELECTOR_MAP ,
@@ -111,7 +111,7 @@ def _resolve_multiple_platform_conflicts(
111111 specs , (first_platform , * _ ) = zip (* spec_to_platforms .items ())
112112 first , * others = specs
113113 try :
114- spec = _maybe_new_spec_with_combined_pinnings (specs ) # type: ignore[arg-type]
114+ spec = _maybe_new_spec_with_combined_pinnings_and_origins (specs ) # type: ignore[arg-type]
115115 except VersionConflictError :
116116 # We have a conflict, select the first one.
117117 msg = (
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def _pop_unused_platforms_and_maybe_expand_none(
7878 platform_data .pop (_platform )
7979
8080
81- def _maybe_new_spec_with_combined_pinnings (
81+ def _maybe_new_spec_with_combined_pinnings_and_origins (
8282 specs : list [Spec ],
8383) -> Spec :
8484 pinned_specs = [m for m in specs if m .pin is not None ]
@@ -118,7 +118,7 @@ def _combine_pinning_within_platform(
118118 for _platform , packages in data .items ():
119119 reduced_data [_platform ] = {}
120120 for which , specs in packages .items ():
121- spec = _maybe_new_spec_with_combined_pinnings (specs )
121+ spec = _maybe_new_spec_with_combined_pinnings_and_origins (specs )
122122 reduced_data [_platform ][which ] = spec
123123 return reduced_data
124124
You can’t perform that action at this time.
0 commit comments