rbx.cp 0.5.67__py3-none-any.whl → 0.5.68__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rbx/box/solutions.py CHANGED
@@ -725,26 +725,24 @@ def expand_solutions_with_source(sols: List[str]) -> List[Tuple[Solution, bool]]
725
725
  pkg_sols = {str(sol.path): sol for sol in pkg.solutions}
726
726
 
727
727
  # Download remote sols.
728
- sols = remote.expand_files(sols)
728
+ path_sols = remote.expand_files(sols)
729
729
 
730
730
  # Ensure sols exist.
731
- sols = [sol for sol in sols if pathlib.Path(sol).is_file()]
731
+ path_sols = [sol for sol in path_sols if sol.is_file()]
732
732
 
733
733
  seen_sols = set()
734
734
  res: List[Tuple[Solution, bool]] = []
735
- for sol in sols:
736
- if sol in seen_sols:
735
+ for sol in path_sols:
736
+ if str(sol) in seen_sols:
737
737
  # This solution was already added.
738
738
  continue
739
- if sol in pkg_sols:
739
+ if str(sol) in pkg_sols:
740
740
  # This solution is in the package.
741
- res.append((pkg_sols[sol], False))
741
+ res.append((pkg_sols[str(sol)], False))
742
742
  else:
743
743
  # This solution is fetched from some source.
744
- res.append(
745
- (Solution(path=pathlib.Path(sol), outcome=ExpectedOutcome.ANY), True)
746
- )
747
- seen_sols.add(sol)
744
+ res.append((Solution(path=sol, outcome=ExpectedOutcome.ANY), True))
745
+ seen_sols.add(str(sol))
748
746
  return res
749
747
 
750
748
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rbx.cp
3
- Version: 0.5.67
3
+ Version: 0.5.68
4
4
  Summary:
5
5
  Author: Roberto Sales
6
6
  Requires-Python: >=3.9,<4.0
@@ -53,7 +53,7 @@ rbx/box/retries.py,sha256=70n2avWa7GYSyNcmhml8qp1K21Fmp-JNjvYC9b_UaNg,4721
53
53
  rbx/box/sanitizers/warning_stack.py,sha256=RI97_GJgdjTKIXY_r0EKp5h0qQQSDSdNDh5K7zINrqs,2861
54
54
  rbx/box/schema.py,sha256=bJgO0KV75mGzCXv24jASFvZFP1peM_qP23_H5MpXM5M,16670
55
55
  rbx/box/setter_config.py,sha256=9iObg6BwxQhFAhIOk31Jc0BDDpRYVGf3SyLIOsWIltM,4393
56
- rbx/box/solutions.py,sha256=wxAXSYGZ3VVee5q6syuMd6v57xBji5nJ0H-gUEx_t4s,50918
56
+ rbx/box/solutions.py,sha256=VLd-v8Ns0qgJ0-wMD9AIW0v4Jiw3dvWzpLrhV1u9P1s,50900
57
57
  rbx/box/solutions_test.py,sha256=PX1TQoRzNd9mi1SGsG7WFrpqFgNrNX5Kwt0mkwFdoOA,1749
58
58
  rbx/box/state.py,sha256=MMf3DvfQji0jKEliCHct2Tpp_0epL1tvP8HbHNArQIc,166
59
59
  rbx/box/statements/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -217,8 +217,8 @@ rbx/testcase.py,sha256=yKOq3CAJZ1YTmInvnoIs0u1iJnRj_X85XiWbLI-p9d8,1951
217
217
  rbx/testcase_rendering.py,sha256=nfmv6dSEqd4aR3TsaODwkKGK6AXty_DDKtWf_ejiQpI,2084
218
218
  rbx/testing_utils.py,sha256=x_PqD8Zd2PkN91NxVHUnSTs044-1WK5KKtttKQBXpFs,2083
219
219
  rbx/utils.py,sha256=SfR844_i0ebRDMkmS_w1YdZiWPc6h2RGADygewlWRbA,4845
220
- rbx_cp-0.5.67.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
221
- rbx_cp-0.5.67.dist-info/METADATA,sha256=yhbY-Q4k_VRDdqXvgKqCgBRDhP1XxqXGRKUf4ISG_Jg,3604
222
- rbx_cp-0.5.67.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
223
- rbx_cp-0.5.67.dist-info/entry_points.txt,sha256=qBTLBOeifT1F00LWaEewRRE_jQPgvH7BUdJfZ-dYsFU,57
224
- rbx_cp-0.5.67.dist-info/RECORD,,
220
+ rbx_cp-0.5.68.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
221
+ rbx_cp-0.5.68.dist-info/METADATA,sha256=ps9oerjMXMz79YewNRmYBQS-_V7_9g8x1SS_3VwnaKw,3604
222
+ rbx_cp-0.5.68.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
223
+ rbx_cp-0.5.68.dist-info/entry_points.txt,sha256=qBTLBOeifT1F00LWaEewRRE_jQPgvH7BUdJfZ-dYsFU,57
224
+ rbx_cp-0.5.68.dist-info/RECORD,,