robotcode-robot 1.3.0.dev5__py3-none-any.whl → 1.4.0__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.
@@ -1 +1 @@
1
- __version__ = "1.3.0-dev.5"
1
+ __version__ = "1.4.0"
@@ -1527,11 +1527,11 @@ class ImportsManager:
1527
1527
  variables: Optional[Dict[str, Any]] = None,
1528
1528
  ) -> _ResourcesEntry:
1529
1529
  source = self.find_resource(name, base_dir, variables=variables)
1530
+ source_path = normalized_path(Path(source))
1530
1531
 
1531
1532
  def _get_document() -> TextDocument:
1532
- self._logger.debug(lambda: f"Load resource {name} from source {source}", context_name="import")
1533
+ self._logger.debug(lambda: f"Load resource {name} from source {source_path}", context_name="import")
1533
1534
 
1534
- source_path = normalized_path(Path(source))
1535
1535
  extension = source_path.suffix
1536
1536
  if extension.lower() not in RESOURCE_EXTENSIONS:
1537
1537
  raise ImportError(
@@ -1541,7 +1541,7 @@ class ImportsManager:
1541
1541
 
1542
1542
  return self.documents_manager.get_or_open_document(source_path)
1543
1543
 
1544
- entry_key = _ResourcesEntryKey(source)
1544
+ entry_key = _ResourcesEntryKey(str(source_path))
1545
1545
 
1546
1546
  with self._resources_lock:
1547
1547
  if entry_key not in self._resources:
@@ -1328,7 +1328,7 @@ def get_module_spec(module_name: str) -> Optional[ModuleSpec]:
1328
1328
  member_name = m + "." + member_name if m and member_name is not None else m
1329
1329
 
1330
1330
  if result is not None:
1331
- return ModuleSpec( # type: ignore
1331
+ return ModuleSpec(
1332
1332
  name=result.name,
1333
1333
  origin=result.origin,
1334
1334
  submodule_search_locations=(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-robot
3
- Version: 1.3.0.dev5
3
+ Version: 1.4.0
4
4
  Summary: Support classes for RobotCode for handling Robot Framework projects.
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -26,7 +26,7 @@ Classifier: Topic :: Utilities
26
26
  Classifier: Typing :: Typed
27
27
  Requires-Python: >=3.8
28
28
  Requires-Dist: platformdirs<4.4.0,>=3.2.0
29
- Requires-Dist: robotcode-core==1.3.0-dev.5
29
+ Requires-Dist: robotcode-core==1.4.0
30
30
  Requires-Dist: robotframework>=4.1.0
31
31
  Requires-Dist: tomli>=1.1.0; python_version < '3.11'
32
32
  Description-Content-Type: text/markdown
@@ -1,5 +1,5 @@
1
1
  robotcode/robot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- robotcode/robot/__version__.py,sha256=xpHiI1TV5XoRHqlkLkhDmsvHAFjE0mYqN3mNqnZnCdw,28
2
+ robotcode/robot/__version__.py,sha256=8UhoYEXHs1Oai7BW_ExBmuwWnRI-yMG_u1fQAXMizHQ,22
3
3
  robotcode/robot/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
4
4
  robotcode/robot/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  robotcode/robot/config/loader.py,sha256=qrP810HNMDpqhXopWa0dOa0Wq_zQfVctsNYKY6sLKGI,8654
@@ -11,9 +11,9 @@ robotcode/robot/diagnostics/diagnostics_modifier.py,sha256=6zJdXBd6g1QM12XJbsHd8
11
11
  robotcode/robot/diagnostics/document_cache_helper.py,sha256=5H0S7qDCeoEmqjMLUE7EQy9iZcZTYIUl5H1Pdvn5s5I,23886
12
12
  robotcode/robot/diagnostics/entities.py,sha256=ubjARNPP4fNGoOfv0Mm1RrbdpPfF3GC0Qn7Sz5Zeoc0,12449
13
13
  robotcode/robot/diagnostics/errors.py,sha256=irVOZIcnpf611c9BdWXWpRu2esEl6SSN0EvZjA7p3bY,2060
14
- robotcode/robot/diagnostics/imports_manager.py,sha256=hu4Wp9b8J1jk55-NBqK2teQieWQF5D8LKxM5fyaxI1U,61156
14
+ robotcode/robot/diagnostics/imports_manager.py,sha256=X7ZEMaLzplrVt_880NyxFnbKlTNKpvNHWQxZeMoaQd0,61167
15
15
  robotcode/robot/diagnostics/keyword_finder.py,sha256=TRYnbliYe0LPwqzdzABZawJEafksAsZBQ3pF3zYMdaA,18763
16
- robotcode/robot/diagnostics/library_doc.py,sha256=Bq38jak6MK6S_J_mMyF3taPZkDKtxE0kN7aP-Ld2QPs,100780
16
+ robotcode/robot/diagnostics/library_doc.py,sha256=4Eio6ujJydBFnjJwiNKvw-0FM1LqBlFckclE7bzW6BQ,100764
17
17
  robotcode/robot/diagnostics/model_helper.py,sha256=RmKg1t5qsbSbW5uiehpFzJt157gDSQ1ayzXlur26AGI,31000
18
18
  robotcode/robot/diagnostics/namespace.py,sha256=dS8_1JZj-Vk-zX8JswkLJ5cKIg2J0FgEvnXRcnUCeZg,80960
19
19
  robotcode/robot/diagnostics/namespace_analyzer.py,sha256=Tv5Pje9WQkUG3LAgJER4eYhiLxXg8molmCvm0LlOro4,78849
@@ -26,7 +26,7 @@ robotcode/robot/utils/robot_path.py,sha256=Z-GVBOPA_xeD20bCJi4_AWaU0eQWvCym-YFty
26
26
  robotcode/robot/utils/stubs.py,sha256=umugZYAyneFNgqRJBRMJPzm0u0B_TH8Sx_y-ykXnxpw,351
27
27
  robotcode/robot/utils/variables.py,sha256=RCmBdVWtwVkB058QCBE_Bj3_28H1sXmYs0lJF9bVc0w,7644
28
28
  robotcode/robot/utils/visitor.py,sha256=nP3O0qh3YYuxR6S8wYJRBFfNwIVgsgohURBlrnFkRYQ,2299
29
- robotcode_robot-1.3.0.dev5.dist-info/METADATA,sha256=e3f7tDaij4-quunMQKGAy5uSQ3hxZiZglhEQgVBtsrk,2249
30
- robotcode_robot-1.3.0.dev5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- robotcode_robot-1.3.0.dev5.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
32
- robotcode_robot-1.3.0.dev5.dist-info/RECORD,,
29
+ robotcode_robot-1.4.0.dist-info/METADATA,sha256=ocuYiW2jbZMOm-vAG9APiJRdHiX-h9XI8f5hVQNPGKs,2238
30
+ robotcode_robot-1.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ robotcode_robot-1.4.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
32
+ robotcode_robot-1.4.0.dist-info/RECORD,,