dataerai-cli-dev 0.1.2__py3-none-win_amd64.whl → 0.1.3__py3-none-win_amd64.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.
dataerai_cli/__main__.py CHANGED
@@ -42,7 +42,9 @@ def main() -> int:
42
42
  # Windows has no exec-replace; run as a child and propagate the code.
43
43
  import subprocess
44
44
 
45
- return subprocess.call(args)
45
+ # argv[0] is the binary bundled in this wheel (_binary_path), not PATH or
46
+ # user input; the user's CLI arguments pass through with no shell.
47
+ return subprocess.call(args) # nosemgrep: bandit.B603
46
48
 
47
49
  # POSIX: ensure +x (wheels usually preserve it) then replace this process so
48
50
  # signals / exit codes pass straight through. A read-only install may forbid
@@ -54,7 +56,8 @@ def main() -> int:
54
56
  except OSError:
55
57
  pass
56
58
  try:
57
- os.execv(str(binary), args) # never returns on success
59
+ # Never returns on success. Same bundled binary and pass-through argv as above.
60
+ os.execv(str(binary), args) # nosemgrep: bandit.B606
58
61
  except OSError as e:
59
62
  # e.g. a noexec mount, EACCES, or an arch-mismatched binary: emit the
60
63
  # same clean one-liner as the missing-binary case rather than crashing
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dataerai-cli-dev
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Dataerai CLI (bundled binary) — targets https://dev.dataerai.com
5
5
  Requires-Python: >=3.10
6
- Requires-Dist: dataerai-sdk==0.2.0.dev2
6
+ Requires-Dist: dataerai-sdk==0.3.0.dev1
@@ -0,0 +1,8 @@
1
+ dataerai_cli/__init__.py,sha256=oaujNEzObpAYMHUwl9854vVgpG7FtIskCrtCE8_EEXY,362
2
+ dataerai_cli/__main__.py,sha256=_C5RCAcwYml_VZj-oD0fuQxJ3ULPIWBRVBhEz1FTrwg,2838
3
+ dataerai_cli/_bin/dataerai.exe,sha256=rJ6auaZtA2M08rF0IRXq7K4WlLU3QFd6L_4wIjyZHPo,18132480
4
+ dataerai_cli_dev-0.1.3.dist-info/METADATA,sha256=SO8bvD99HZ7BTTIrQ8rGItuzY-sb91ji7CkH35k1A3M,200
5
+ dataerai_cli_dev-0.1.3.dist-info/WHEEL,sha256=3I5VVWZdsFlU417aCS2bMRuerS8wsfvBq99MyatBV3A,97
6
+ dataerai_cli_dev-0.1.3.dist-info/entry_points.txt,sha256=KWfMqpFV0JXartJM5jKkuyVFxLlhqzpAFCEZUL4bftw,56
7
+ dataerai_cli_dev-0.1.3.dist-info/top_level.txt,sha256=tQHodnDF9RMd7BHfPndAMC9EDQJULBWCjAPPWVb5ZFc,13
8
+ dataerai_cli_dev-0.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (84.2.1)
2
+ Generator: setuptools (84.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-win_amd64
5
5
 
@@ -1,8 +0,0 @@
1
- dataerai_cli/__init__.py,sha256=oaujNEzObpAYMHUwl9854vVgpG7FtIskCrtCE8_EEXY,362
2
- dataerai_cli/__main__.py,sha256=_zTcpljRTTHaTksKvyPjBvlSu96B6V3wJ8Xtaq92Fhg,2569
3
- dataerai_cli/_bin/dataerai.exe,sha256=LHhBXpSP5qPp6wfBoLVgCBtWT1Z3DMPgdyX9rWTsPkI,16071680
4
- dataerai_cli_dev-0.1.2.dist-info/METADATA,sha256=CaMXmorZNCr1_AMxCVsDWugkaaM5NaK8B-VuVBZlDKE,200
5
- dataerai_cli_dev-0.1.2.dist-info/WHEEL,sha256=bhMFZwp6VMtrbl2Ck6PlXryKaCggO1NzYn_HcFbBF1I,97
6
- dataerai_cli_dev-0.1.2.dist-info/entry_points.txt,sha256=KWfMqpFV0JXartJM5jKkuyVFxLlhqzpAFCEZUL4bftw,56
7
- dataerai_cli_dev-0.1.2.dist-info/top_level.txt,sha256=tQHodnDF9RMd7BHfPndAMC9EDQJULBWCjAPPWVb5ZFc,13
8
- dataerai_cli_dev-0.1.2.dist-info/RECORD,,