ominfra 0.0.0.dev427__py3-none-any.whl → 0.0.0.dev429__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,9 +1,10 @@
1
1
  # ruff: noqa: UP006 UP007 UP045
2
2
  import errno
3
- import logging
4
3
  import os
5
4
  import typing as ta
6
5
 
6
+ from omlish.logs.protocols import LoggerLike
7
+
7
8
  from .ostypes import Pid
8
9
  from .ostypes import Rc
9
10
  from .signals import sig_name
@@ -58,7 +59,7 @@ class WaitedPid(ta.NamedTuple):
58
59
 
59
60
  def waitpid(
60
61
  *,
61
- log: ta.Optional[logging.Logger] = None,
62
+ log: ta.Optional[LoggerLike] = None,
62
63
  ) -> ta.Optional[WaitedPid]:
63
64
  # Need pthread_sigmask here to avoid concurrent sigchld, but Python doesn't offer in Python < 3.4. There is
64
65
  # still a race condition here; we can get a sigchld while we're sitting in the waitpid call. However, AFAICT, if
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ominfra
3
- Version: 0.0.0.dev427
3
+ Version: 0.0.0.dev429
4
4
  Summary: ominfra
5
5
  Author: wrmsr
6
6
  License-Expression: BSD-3-Clause
@@ -14,8 +14,8 @@ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Python: >=3.13
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: omdev==0.0.0.dev427
18
- Requires-Dist: omlish==0.0.0.dev427
17
+ Requires-Dist: omdev==0.0.0.dev429
18
+ Requires-Dist: omlish==0.0.0.dev429
19
19
  Provides-Extra: all
20
20
  Requires-Dist: paramiko~=4.0; extra == "all"
21
21
  Requires-Dist: asyncssh~=2.21; extra == "all"
@@ -55,7 +55,7 @@ ominfra/manage/inject.py,sha256=tqbvdeiJEyH5s3M2kWpW_K0S9NxxvZuPtcDkx2iZlVw,2100
55
55
  ominfra/manage/main.py,sha256=mz31CeFSMN98kI2jLNfrZXpIgdd0B64iJRsRt7MPgSw,4512
56
56
  ominfra/manage/marshal.py,sha256=xIsqgtOJS_3m-byZRtZGKr7TVM5AjnmOB6euNCnXbAo,310
57
57
  ominfra/manage/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
- ominfra/manage/commands/base.py,sha256=c5DduRUzK_AzSVxi4PV_6odDi-6rQtgaspluMMG5NN0,4037
58
+ ominfra/manage/commands/base.py,sha256=pbBHMmqHyFMtqpJW8RiElVyKLh_rKPPD3PiYB0XmQrE,4063
59
59
  ominfra/manage/commands/inject.py,sha256=ixQVuKN808dTSqHp5V-MUIgDHw5jVei8BnEy-bE4tDY,2960
60
60
  ominfra/manage/commands/injection.py,sha256=6jVPO2mhaorVfe7vAv8EQQSkxgEZhu-NZHpK37JlKc0,846
61
61
  ominfra/manage/commands/local.py,sha256=dESeaFeQAiWMCx62wfaqbJlJF6kALKi6Fzy1M5H-H3A,543
@@ -95,7 +95,7 @@ ominfra/manage/remote/_main.py,sha256=V70O3-ME3Aprjk90OIhc7dzC32dsqeHda5QgLrG7pl
95
95
  ominfra/manage/remote/channel.py,sha256=FNHHWe57_iXCZFUYn1uMoJEeDyoNnm7cgqE2lwUOebY,2273
96
96
  ominfra/manage/remote/config.py,sha256=0tgfTJKa2Cy2nzl2j3allYyMIEsAwhIlF02v9ke-990,484
97
97
  ominfra/manage/remote/connection.py,sha256=vciH5wtzXN7g-B6hlR97m886YSflbnDASLUDjz5mq7Q,3807
98
- ominfra/manage/remote/execution.py,sha256=qPV-_VEyMuRctRtmkdSKmN2VcgAwyuPgNlfBZcVssQI,11816
98
+ ominfra/manage/remote/execution.py,sha256=Z7Uae6117nHF1kATbG_2fkSKcQjaqcgUVYXk4EzkAPQ,11857
99
99
  ominfra/manage/remote/inject.py,sha256=SJ7rgcjkKi2JbXm_3SWEXzz7kY5zOms3KRrTlm6ZYv0,1091
100
100
  ominfra/manage/remote/payload.py,sha256=QVNz7bBBWKLdXPuIGfQ0FW1rWE8nrBEE5Q9cLgF8FwU,955
101
101
  ominfra/manage/remote/spawning.py,sha256=2V15yubZf1Dngs2eR3RerAT70Cd3OmLdq_JFvBL57c0,3361
@@ -112,9 +112,9 @@ ominfra/manage/targets/connection.py,sha256=mOHCsDVG-DZBhl3Mb7TTr1vhPb0gxDOOMW1x
112
112
  ominfra/manage/targets/inject.py,sha256=3M4wBkxtvymq_yhiotHlTN8iydELMjVCndyp9Bq-4eo,1572
113
113
  ominfra/manage/targets/targets.py,sha256=LjSQrDsHEjEQMDHcxtNKmLjy0YGLXJRGPFdUjazzFIM,1918
114
114
  ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
- ominfra/scripts/journald2aws.py,sha256=A-TmNWdD1P8muUYw0F5jNslvLx7_myRIjcmPxvu0UyY,191446
116
- ominfra/scripts/manage.py,sha256=Zjeliy2MtQBmstQYGWRHpyvjyILVC6xBYcRb23LrAqQ,414313
117
- ominfra/scripts/supervisor.py,sha256=8CTuP9jcsPUXEoxzMxWlLegcLXw63MZbnMd_08MQ4dg,324020
115
+ ominfra/scripts/journald2aws.py,sha256=PcwfGVueNPjOLOsig6J9phO2BMC7KGhag4mij0YVFFQ,225572
116
+ ominfra/scripts/manage.py,sha256=LNPJYbNiIW_sYtXN7_Top02C4ry3-ftE3kOQKb-x9zY,449259
117
+ ominfra/scripts/supervisor.py,sha256=Qbn0go8hCer5wO2r5EY-T8pszD33q8NGUIGwbTcOFi8,358998
118
118
  ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
119
119
  ominfra/supervisor/__init__.py,sha256=Y3l4WY4JRi2uLG6kgbGp93fuGfkxkKwZDvhsa0Rwgtk,15
120
120
  ominfra/supervisor/__main__.py,sha256=I0yFw-C08OOiZ3BF6lF1Oiv789EQXu-_j6whDhQUTEA,66
@@ -146,7 +146,7 @@ ominfra/supervisor/utils/collections.py,sha256=5tb2iOq2_f9kj3PHLRMlaVV4T28dE2dlj
146
146
  ominfra/supervisor/utils/diag.py,sha256=NnzrLwuoCSgf16KalBHv-NEKADEn2I18S0nsbIOhYiY,716
147
147
  ominfra/supervisor/utils/fds.py,sha256=VOZBF8h42s3NWIhKDUce4lSmRwgwiQC1gTYBcY30Lx4,860
148
148
  ominfra/supervisor/utils/fs.py,sha256=UhKbW1NBkeSMxDuJgMjOReUtB9vfeWqVg8y4t6mylq4,1166
149
- ominfra/supervisor/utils/os.py,sha256=g0nLnQRn4ftY1Ko7Ee54ppT7vnLIwYTp2D0wa6ZqilM,2405
149
+ ominfra/supervisor/utils/os.py,sha256=wpUVkYagAmXxJ9QWuG7tjVcFPF6RMhMD2nW6BsE4hWY,2432
150
150
  ominfra/supervisor/utils/ostypes.py,sha256=B7VjwbzVesz9we9MztoSk8bH8sTxMIWtILy_Qde0G7w,164
151
151
  ominfra/supervisor/utils/signals.py,sha256=mJ108cXHK-f1DETEhoFEpc5coGAJ3OO1kuxtrksYDro,1480
152
152
  ominfra/supervisor/utils/strings.py,sha256=oME3pEhF2FuEQtg_O9EMLqoSf97TRUjqv6y2o70LOZE,2466
@@ -156,9 +156,9 @@ ominfra/tailscale/api.py,sha256=XASv9C_CWI-u-yX5jVzhJrkJhlwQRkYQWQQG1uJwAd8,1375
156
156
  ominfra/tailscale/cli.py,sha256=zRV7-tKB7kBah1oTVZlol-vwx1FBlnfzYAPGkeU5jX4,3543
157
157
  ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
158
158
  ominfra/tools/listresources.py,sha256=ePmo7cUAiBZARkM_3K4GKYZXxV73An_aioS1m-AAJis,6181
159
- ominfra-0.0.0.dev427.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
- ominfra-0.0.0.dev427.dist-info/METADATA,sha256=RTYeP4F6ZzRReJdM7shuQejxYKAIlH2ZeYopUrxC6OE,2377
161
- ominfra-0.0.0.dev427.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- ominfra-0.0.0.dev427.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
- ominfra-0.0.0.dev427.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
- ominfra-0.0.0.dev427.dist-info/RECORD,,
159
+ ominfra-0.0.0.dev429.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
160
+ ominfra-0.0.0.dev429.dist-info/METADATA,sha256=1aOXl62enLVpevDZyuNFqKG_Y1aLk7pc7SzBYpqiBQE,2377
161
+ ominfra-0.0.0.dev429.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
+ ominfra-0.0.0.dev429.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
163
+ ominfra-0.0.0.dev429.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
164
+ ominfra-0.0.0.dev429.dist-info/RECORD,,