omdev 0.0.0.dev355__py3-none-any.whl → 0.0.0.dev356__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.

Potentially problematic release.


This version of omdev might be problematic. Click here for more details.

omdev/.manifests.json CHANGED
@@ -39,7 +39,7 @@
39
39
  "module": ".cli.clicli",
40
40
  "attr": "_CLI_MODULE",
41
41
  "file": "omdev/cli/clicli.py",
42
- "line": 186,
42
+ "line": 193,
43
43
  "value": {
44
44
  "$.cli.types.CliModule": {
45
45
  "cmd_name": "cli",
omdev/cli/clicli.py CHANGED
@@ -91,11 +91,17 @@ class CliCli(ap.Cli):
91
91
  ap.arg('--local', action='store_true'),
92
92
  ap.arg('--no-deps', action='store_true'),
93
93
  ap.arg('--dry-run', action='store_true'),
94
+ ap.arg('--version'),
94
95
  ap.arg('extra_deps', nargs='*'),
95
96
  )
96
97
  def reinstall(self) -> None:
97
98
  latest_version = _parse_latest_version_str(lookup_latest_package_version(__package__.split('.')[0]))
98
99
 
100
+ if self.args.version is not None:
101
+ target_version: str = self.args.version
102
+ else:
103
+ target_version = latest_version
104
+
99
105
  #
100
106
 
101
107
  dep_set: set[str] = set(self.args.extra_deps or [])
@@ -142,6 +148,7 @@ class CliCli(ap.Cli):
142
148
 
143
149
  print(f'Current version: {__about__.__version__}')
144
150
  print(f'Latest version: {latest_version}')
151
+ print(f'Target version: {target_version}')
145
152
  print()
146
153
 
147
154
  #
@@ -163,7 +170,7 @@ class CliCli(ap.Cli):
163
170
  reco_cmd = ' '.join([
164
171
  'curl -LsSf',
165
172
  f"'{url}'" if (qu := shlex.quote(url)) == url else qu,
166
- f'| python3 - --version {shlex.quote(latest_version)}',
173
+ f'| python3 - --version {shlex.quote(target_version)}',
167
174
  *deps,
168
175
  ])
169
176
  print(f'Recovery command:\n\n{reco_cmd}\n')
@@ -178,7 +185,7 @@ class CliCli(ap.Cli):
178
185
  sys.executable,
179
186
  sys.executable,
180
187
  '-c', install_src,
181
- '--version', latest_version,
188
+ '--version', target_version,
182
189
  *deps,
183
190
  )
184
191
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omdev
3
- Version: 0.0.0.dev355
3
+ Version: 0.0.0.dev356
4
4
  Summary: omdev
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
12
12
  Classifier: Operating System :: POSIX
13
13
  Requires-Python: >=3.13
14
14
  License-File: LICENSE
15
- Requires-Dist: omlish==0.0.0.dev355
15
+ Requires-Dist: omlish==0.0.0.dev356
16
16
  Provides-Extra: all
17
17
  Requires-Dist: black~=25.1; extra == "all"
18
18
  Requires-Dist: pycparser~=2.22; extra == "all"
@@ -1,4 +1,4 @@
1
- omdev/.manifests.json,sha256=eThNbd6bCkCK4thijDHcXDZ2eDr6i-wfnmV_qxbzino,11870
1
+ omdev/.manifests.json,sha256=bc0ButqJqOkZiEgO6VZ6CRZ8RL9Mf_DiFUNxm81jl04,11870
2
2
  omdev/__about__.py,sha256=2_6pQyjxqAspvwBSJUWQgdBBcGaDO3zX8yETLaspUQE,1202
3
3
  omdev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  omdev/cmake.py,sha256=9rfSvFHPmKDj9ngvfDB2vK8O-xO_ZwUm7hMKLWA-yOw,4578
@@ -103,7 +103,7 @@ omdev/ci/github/api/v2/client.py,sha256=bJtL_TZ4sB6IDuzfqtEXj-iWivKfyXQZ_MO30lgB
103
103
  omdev/cli/__init__.py,sha256=V_l6VP1SZMlJbO-8CJwSuO9TThOy2S_oaPepNYgIrbE,37
104
104
  omdev/cli/__main__.py,sha256=mOJpgc07o0r5luQ1DlX4tk2PqZkgmbwPbdzJ3KmtjgQ,138
105
105
  omdev/cli/_pathhack.py,sha256=UshIZX3oeXq0De-9X28gy2LgKMZDf_dzabdkUhZJdNA,2124
106
- omdev/cli/clicli.py,sha256=KS6PMfqJmInQCi9dzpgKKFNQ9bO1jxlBbqypBgTZADU,4819
106
+ omdev/cli/clicli.py,sha256=kJ6gyf2JGbZuo99HSPWh0E82538GstlraKmKcAyCd1I,5052
107
107
  omdev/cli/install.py,sha256=oB34AOwu07sqEztW_z5mgorAFoP_Tw556XiTPj2WSM0,4904
108
108
  omdev/cli/main.py,sha256=dxZFyzKuwRykHHhoKKUA0fUa9QsY0dgdvLHbXNuIPCY,6694
109
109
  omdev/cli/managers.py,sha256=BV98_n30Jj63OJrFgRoVZRfICxMLXEZKoEn4rMj9LV4,1160
@@ -303,9 +303,9 @@ omdev/tools/jsonview/resources/jsonview.js,sha256=faDvXDOXKvEvjOuIlz4D3F2ReQXb_b
303
303
  omdev/tools/pawk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
304
304
  omdev/tools/pawk/__main__.py,sha256=VCqeRVnqT1RPEoIrqHFSu4PXVMg4YEgF4qCQm90-eRI,66
305
305
  omdev/tools/pawk/pawk.py,sha256=zsEkfQX0jF5bn712uqPAyBSdJt2dno1LH2oeSMNfXQI,11424
306
- omdev-0.0.0.dev355.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
307
- omdev-0.0.0.dev355.dist-info/METADATA,sha256=WplfvKUSZEo6fA95YNRCzzo_ki_c8UsMX3-ey9MuLIY,1674
308
- omdev-0.0.0.dev355.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
309
- omdev-0.0.0.dev355.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
310
- omdev-0.0.0.dev355.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
311
- omdev-0.0.0.dev355.dist-info/RECORD,,
306
+ omdev-0.0.0.dev356.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
307
+ omdev-0.0.0.dev356.dist-info/METADATA,sha256=3-YB6gt8y7nh9ZrfAaFixwKLDEkt5BGUEwSwqNxwsVA,1674
308
+ omdev-0.0.0.dev356.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
309
+ omdev-0.0.0.dev356.dist-info/entry_points.txt,sha256=dHLXFmq5D9B8qUyhRtFqTGWGxlbx3t5ejedjrnXNYLU,33
310
+ omdev-0.0.0.dev356.dist-info/top_level.txt,sha256=1nr7j30fEWgLYHW3lGR9pkdHkb7knv1U1ES1XRNVQ6k,6
311
+ omdev-0.0.0.dev356.dist-info/RECORD,,