rosotacom-dev 2.5.dev2__py3-none-any.whl → 2.5.dev3__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.
rosotacom/cli.py CHANGED
@@ -98,7 +98,19 @@ SESSION_CONFIG_CONTAINER_DIR = "/session/configs"
98
98
  SESSION_DEFINITION_CONTAINER_DIR = "/session/definitions"
99
99
  SESSION_INSTANCE_CONTAINER_DIR = "/session/instances"
100
100
  EXTERNAL_SESSION_CONTAINER_DIR = "/session/current"
101
- RUN_SESSION_CONTAINER_PATH = "/ws/session/creation/run_session.py"
101
+ # Run through the interpreter, never as a bare path. `docker exec` on a bare
102
+ # path relies on the file's executable bit, and a wheel does not carry
103
+ # executable bits for package data: the bit is present in a checkout and gone
104
+ # after an install. Every packaged machine therefore failed with
105
+ # `exec: "/ws/session/creation/run_session.py": permission denied` and exit 126,
106
+ # while the development laptop — an editable install over the checkout — worked.
107
+ # That is the one shape no test exercised, and the only shape a control centre,
108
+ # a vehicle or a bench machine ever runs.
109
+ #
110
+ # Not relying on the bit beats making the bit survive packaging: one is a
111
+ # property of this command, the other a property of every tool in the chain.
112
+ # `anonymize_bag.py` two thousand lines below already does it this way.
113
+ RUN_SESSION_CONTAINER_ARGV = ("python3", "/ws/session/creation/run_session.py")
102
114
  DEFAULT_SMOKE_SESSION = "1_heartbeat"
103
115
  OTA_SUDO_MODES = ("passwordless", "askpass")
104
116
 
@@ -4299,7 +4311,7 @@ def _session_command(
4299
4311
  link_trace_modem_command: str | None = None,
4300
4312
  ) -> list[str]:
4301
4313
  parts = [
4302
- RUN_SESSION_CONTAINER_PATH,
4314
+ *RUN_SESSION_CONTAINER_ARGV,
4303
4315
  "--session-dir",
4304
4316
  session.container_dir,
4305
4317
  "--output-dir",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rosotacom-dev
3
- Version: 2.5.dev2
3
+ Version: 2.5.dev3
4
4
  Summary: Host CLI for ROS OTA communication sessions.
5
5
  Author: develNor
6
6
  License-Expression: BSD-3-Clause
@@ -5,7 +5,7 @@ rosotacom/bag_ground_truth.py,sha256=FlL34fA2CWZZxsrz7uxfhPt2VntPuS0ldrOPy58XPMk
5
5
  rosotacom/benched_set.py,sha256=PGybWzNKJhg5wouIGo_zxlb7Fu41UzmtgEBxUR-Gkvg,19874
6
6
  rosotacom/benchmark.py,sha256=Xda8WwFKQEIRMO0Qe1Hf7rvykYIgM86gUHBuyX9VvI8,74447
7
7
  rosotacom/bundle_check.py,sha256=l_3BSuYk6juXQmsNU6jkxRbH8ayH2GkiW9ONKMQ1oJY,18270
8
- rosotacom/cli.py,sha256=WrMCH-KOS0qB9VN7SnhhiK1b-m8Ju-8mr55ACGGSLPM,359681
8
+ rosotacom/cli.py,sha256=CbSemM55JZMI_oJQ683q73xzcF2DQ-b0DOmZINO69fM,360499
9
9
  rosotacom/cli_benchmark.py,sha256=bhdtvvO73g3-vlWTX0hf7I70lKQVT0pyXbIg3YnXfLQ,342197
10
10
  rosotacom/deployment.py,sha256=XVhB8JjxhAsglSEEPtiVSeV6fCG0rgGmDRulh14oIYQ,7318
11
11
  rosotacom/ffmpeg_packet.py,sha256=zB1BHgY1kexr5sETVMkm4bkVnRytj9k2t0uOYiHUZ6M,4267
@@ -187,9 +187,9 @@ rosotacom/resources/ws/session/creation/generate_session_files.py,sha256=R4HFetZ
187
187
  rosotacom/resources/ws/session/creation/run_session.py,sha256=G2hJhrmLp11gm3JZ6_C-zZcqu_reXlE_wmobB7BiCfU,16849
188
188
  rosotacom/resources/ws/session/creation/run_session_in_external_terminal.py,sha256=Ub_5f-ttUUc-rAPrZmg_Op34s8Z4C91hTyEn8fgyt-E,2633
189
189
  rosotacom/resources/ws/session/creation/strip_ansi.py,sha256=vNjpemcq4xHr0VG4x0bZqvgwEBEfOgN-b4PzbrM5nfM,851
190
- rosotacom_dev-2.5.dev2.dist-info/licenses/LICENSE.txt,sha256=FDB3-fao3lqZ94wsJHKAH7U88kAnfvZhZC8Hm5rN__g,1459
191
- rosotacom_dev-2.5.dev2.dist-info/METADATA,sha256=ddMH9rcB-8UFCq1DK-ycHC-pNsPHFNndxeWBh75Y6xI,46417
192
- rosotacom_dev-2.5.dev2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
193
- rosotacom_dev-2.5.dev2.dist-info/entry_points.txt,sha256=-Hl9WKAfkLjMHUonDTxvz86EgSfZf6oyatRMxypS5iA,147
194
- rosotacom_dev-2.5.dev2.dist-info/top_level.txt,sha256=BZrtQcIVDWn_pQZR3Mlssqy5SaRXHjOa6B-1D9Fy4Ao,10
195
- rosotacom_dev-2.5.dev2.dist-info/RECORD,,
190
+ rosotacom_dev-2.5.dev3.dist-info/licenses/LICENSE.txt,sha256=FDB3-fao3lqZ94wsJHKAH7U88kAnfvZhZC8Hm5rN__g,1459
191
+ rosotacom_dev-2.5.dev3.dist-info/METADATA,sha256=buNx-lmuhRGf0ilJh8TTKb5zlKFaMCXES5dUmMF1OxI,46417
192
+ rosotacom_dev-2.5.dev3.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
193
+ rosotacom_dev-2.5.dev3.dist-info/entry_points.txt,sha256=-Hl9WKAfkLjMHUonDTxvz86EgSfZf6oyatRMxypS5iA,147
194
+ rosotacom_dev-2.5.dev3.dist-info/top_level.txt,sha256=BZrtQcIVDWn_pQZR3Mlssqy5SaRXHjOa6B-1D9Fy4Ao,10
195
+ rosotacom_dev-2.5.dev3.dist-info/RECORD,,