driverclient 0.2.22__tar.gz → 0.2.24__tar.gz

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.
Files changed (25) hide show
  1. {driverclient-0.2.22 → driverclient-0.2.24}/PKG-INFO +1 -1
  2. {driverclient-0.2.22 → driverclient-0.2.24}/pyproject.toml +1 -1
  3. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/__init__.py +1 -1
  4. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/download.py +3 -0
  5. {driverclient-0.2.22 → driverclient-0.2.24}/.gitignore +0 -0
  6. {driverclient-0.2.22 → driverclient-0.2.24}/README.md +0 -0
  7. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/__main__.py +0 -0
  8. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/config.json +0 -0
  9. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/config.py +0 -0
  10. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/core/__init__.py +0 -0
  11. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/core/hardware.py +0 -0
  12. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/core/http.py +0 -0
  13. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/core/hwid.py +0 -0
  14. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/core/proc.py +0 -0
  15. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/events.py +0 -0
  16. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/main.py +0 -0
  17. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/__init__.py +0 -0
  18. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/automate.py +0 -0
  19. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/capture.py +0 -0
  20. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/diagnose.py +0 -0
  21. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/install.py +0 -0
  22. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/offline.py +0 -0
  23. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/resolve.py +0 -0
  24. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/ops/scan.py +0 -0
  25. {driverclient-0.2.22 → driverclient-0.2.24}/src/driverclient/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: driverclient
3
- Version: 0.2.22
3
+ Version: 0.2.24
4
4
  Summary: Driver Server client with an embeddable connector for config injection at runtime.
5
5
  Project-URL: Homepage, https://example.com/driverclient
6
6
  Author-email: Raja Sanaullah <sanaullah@99technologies.com>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "driverclient"
7
- version = "0.2.22"
7
+ version = "0.2.24"
8
8
  description = "Driver Server client with an embeddable connector for config injection at runtime."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -25,7 +25,7 @@ from driverclient.main import run as _run
25
25
 
26
26
  __all__ = ["DriverClient", "ClientEvent"]
27
27
 
28
- __version__ = "0.2.22"
28
+ __version__ = "0.2.24"
29
29
 
30
30
 
31
31
  class DriverClient:
@@ -29,7 +29,10 @@ def download_driver(driver: dict, base: Path, repo_url: str,
29
29
  ok = True
30
30
  for f in driver.get("files", []):
31
31
  url = f"{repo_url}/files/{pkg_id}/{f['filename']}"
32
+ # filename may carry subdirs (package layout preserved) — recreate them so
33
+ # the INF's CopyFiles references resolve and the driver actually binds.
32
34
  path = dest / f["filename"]
35
+ path.parent.mkdir(parents=True, exist_ok=True)
33
36
  if not http_download_retry(url, path, f["sha256"],
34
37
  timeout=cfg["timeout_long"]):
35
38
  ok = False
File without changes
File without changes