ansible-core 2.20.0rc1__py3-none-any.whl → 2.20.0rc2__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 ansible-core might be problematic. Click here for more details.

@@ -17,6 +17,6 @@
17
17
 
18
18
  from __future__ import annotations
19
19
 
20
- __version__ = '2.20.0rc1'
20
+ __version__ = '2.20.0rc2'
21
21
  __author__ = 'Ansible, Inc.'
22
22
  __codename__ = "Good Times Bad Times"
@@ -33,14 +33,6 @@ import operator
33
33
  import sys
34
34
  import types
35
35
 
36
- from ansible.module_utils.common import warnings as _warnings
37
-
38
- _warnings.deprecate(
39
- msg="The `ansible.module_utils.six` module is deprecated.",
40
- help_text="Use the Python standard library equivalent instead.",
41
- version="2.24",
42
- )
43
-
44
36
  # The following makes it easier for us to script updates of the bundled code. It is not part of
45
37
  # upstream six
46
38
  _BUNDLED_METADATA = {"pypi_name": "six", "version": "1.17.0"}
@@ -331,7 +331,7 @@ try:
331
331
  from pypsrp.host import PSHost, PSHostUserInterface
332
332
  from pypsrp.powershell import PowerShell, RunspacePool
333
333
  from pypsrp.wsman import WSMan
334
- from requests.exceptions import ConnectionError, ConnectTimeout
334
+ from requests.exceptions import ConnectionError, ConnectTimeout, ReadTimeout
335
335
  except ImportError as err:
336
336
  HAS_PYPSRP = False
337
337
  PYPSRP_IMP_ERR = err
@@ -479,11 +479,16 @@ class Connection(ConnectionBase):
479
479
  pwsh_in_data = in_data
480
480
  display.vvv(u"PSRP: EXEC %s" % script, host=self._psrp_host)
481
481
 
482
- rc, stdout, stderr = self._exec_psrp_script(
483
- script=script,
484
- input_data=pwsh_in_data.splitlines() if pwsh_in_data else None,
485
- arguments=script_args,
486
- )
482
+ try:
483
+ rc, stdout, stderr = self._exec_psrp_script(
484
+ script=script,
485
+ input_data=pwsh_in_data.splitlines() if pwsh_in_data else None,
486
+ arguments=script_args,
487
+ )
488
+ except ReadTimeout as e:
489
+ raise AnsibleConnectionFailure(
490
+ "HTTP read timeout during PSRP script execution"
491
+ ) from e
487
492
  return rc, stdout, stderr
488
493
 
489
494
  def put_file(self, in_path: str, out_path: str) -> None:
ansible/release.py CHANGED
@@ -17,6 +17,6 @@
17
17
 
18
18
  from __future__ import annotations
19
19
 
20
- __version__ = '2.20.0rc1'
20
+ __version__ = '2.20.0rc2'
21
21
  __author__ = 'Ansible, Inc.'
22
22
  __codename__ = "Good Times Bad Times"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansible-core
3
- Version: 2.20.0rc1
3
+ Version: 2.20.0rc2
4
4
  Summary: Radically simple IT automation
5
5
  Author: Ansible Project
6
6
  Project-URL: Homepage, https://ansible.com/
@@ -3,7 +3,7 @@ ansible/__main__.py,sha256=24j-7-YT4lZ2fmV80JD-VRoYBnxR7YoP_VP-orJtDt0,796
3
3
  ansible/constants.py,sha256=qef45QpHi-yFFMvllvNKmqFpXdKKr304e5fEZnjgwZc,7989
4
4
  ansible/context.py,sha256=oKYyfjfWpy8vDeProtqfnqSmuij_t75_5e5t0U_hQ1g,1933
5
5
  ansible/keyword_desc.yml,sha256=i3d_5dCS8Qsy5DNyrZnPHupkFnj6U3onpgEe2VqS8AY,7273
6
- ansible/release.py,sha256=Hp6XFCF_aYiTM7aaH9FmCl5oNfD7KxBa8ATEptfpwXg,843
6
+ ansible/release.py,sha256=JuWdZRXiuGpgugIPKbgIah7MPpn-jtIoGJ3i7fEHCWQ,843
7
7
  ansible/_internal/__init__.py,sha256=pLZlT_Cm_fKBKDcWB5g0KZt2XWKZGlC7sfytkuUTbJU,2186
8
8
  ansible/_internal/_collection_proxy.py,sha256=Dm7iePwbX9fHPCYsadPLek47eiYSJSQkfcmSWHI8kr8,1154
9
9
  ansible/_internal/_display_utils.py,sha256=2dOknOQpt_GW2AkoMUJxPvmQUCAVYv911KwX6Dwrh0c,5651
@@ -212,7 +212,7 @@ ansible/inventory/host.py,sha256=cZw906LeMYe6oF3ZxW6K2HWoW2Qc0jxHssg_C8cRumE,493
212
212
  ansible/inventory/manager.py,sha256=IiODOOpm5iGpAHn5Sjap-_XTX0pZsXrQCevEaFNF_Sc,31743
213
213
  ansible/module_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
214
214
  ansible/module_utils/_text.py,sha256=MjBVvIttHxQbicW6EY9F0B7GTbhjyiVDNt92fCZnQOw,1207
215
- ansible/module_utils/ansible_release.py,sha256=Hp6XFCF_aYiTM7aaH9FmCl5oNfD7KxBa8ATEptfpwXg,843
215
+ ansible/module_utils/ansible_release.py,sha256=JuWdZRXiuGpgugIPKbgIah7MPpn-jtIoGJ3i7fEHCWQ,843
216
216
  ansible/module_utils/api.py,sha256=8BmCzQtp9rClsLGlDn4I9iJrUFLCdnoEIxYX59_IL9c,5756
217
217
  ansible/module_utils/basic.py,sha256=GsM5pubhLqRjdXE21LxdbbzOgRDrQm6a9bJ-_-kHHSI,90082
218
218
  ansible/module_utils/connection.py,sha256=5RE7BmO58yvutG4Z1sVNsb1Km9ea1hA37HRcPuSJxFA,7575
@@ -387,7 +387,7 @@ ansible/module_utils/powershell/Ansible.ModuleUtils.PrivilegeUtil.psm1,sha256=1u
387
387
  ansible/module_utils/powershell/Ansible.ModuleUtils.SID.psm1,sha256=TX70j9dlg_SGVcb2HrHxakrkZzsyxPtaIeKaRevgy54,3639
388
388
  ansible/module_utils/powershell/Ansible.ModuleUtils.WebRequest.psm1,sha256=4Wb0K_GO8maVpQYpdDBrUvl7YgkReeunXSNM1N6nq74,19182
389
389
  ansible/module_utils/powershell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
- ansible/module_utils/six/__init__.py,sha256=j2dk0uS3NrLLJ-4VhBQ8sO7Uep7kt3FE9q1v293nDlo,35372
390
+ ansible/module_utils/six/__init__.py,sha256=R8WpTF9a4x8RcBnCbS4StADOgbh-sCncsQkvQdik78w,35132
391
391
  ansible/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
392
392
  ansible/modules/add_host.py,sha256=VZ3gc-phY5myzGijo6AIB1omD9ykfWpoqRvzleZp3DU,3859
393
393
  ansible/modules/apt.py,sha256=267kolDkjiXbO80Oum2wrM96pQQJLHk3NROTe2fCF8w,63056
@@ -552,7 +552,7 @@ ansible/plugins/cliconf/__init__.py,sha256=gmcmxY7ssnbeMSRNO8d3qag_QmqM9vkcdBT42
552
552
  ansible/plugins/connection/__init__.py,sha256=2pjLkoi6lpjebgqyWqkl4rAlBTmHDWlU1McVMsnRx1E,19456
553
553
  ansible/plugins/connection/local.py,sha256=4Ebuo-qkDE7lz0CtSYPHjQ_2ofRfRt8PFQ928M_grdk,12041
554
554
  ansible/plugins/connection/paramiko_ssh.py,sha256=F6sjILG7nnC4cka-7kQotBcT_1yzU4WeaOTMKa3-OUQ,27681
555
- ansible/plugins/connection/psrp.py,sha256=b5BhbCwDKelZtJJT8heWVNwwsc3zP-jhpCMpu6Rizk0,30638
555
+ ansible/plugins/connection/psrp.py,sha256=9aTA3XMpmVHwo0cQCK4FWswZP7t6FYZ2JzCW9VMXm_A,30847
556
556
  ansible/plugins/connection/ssh.py,sha256=lYNbCaPB1AVs6E7_315AjCU9wyFDJZhgVkYOkVkr8wU,71589
557
557
  ansible/plugins/connection/winrm.py,sha256=lsEE0b-J7tpmLDpWnyOurEOoqXgOWGbHEVQkG4Xbss4,38390
558
558
  ansible/plugins/doc_fragments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -790,12 +790,12 @@ ansible/vars/hostvars.py,sha256=cRK_4dssUwIN4aDxxYXEj7KzTazrykQ4PbJotne5oJc,4364
790
790
  ansible/vars/manager.py,sha256=bsh_Ie5qSPxySkpxtz37n3uXaPcC4bDbDHN8tcSf4xo,28306
791
791
  ansible/vars/plugins.py,sha256=Ry0wY-Y7lMlQgowItFngE6EjP_6sFcUEjvS0tGocweg,3127
792
792
  ansible/vars/reserved.py,sha256=NgxlMBm_tloqDVb5TEX4eGhpYsz_AO6-Fmyi3kJpIFk,3107
793
- ansible_core-2.20.0rc1.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
794
- ansible_core-2.20.0rc1.dist-info/licenses/licenses/Apache-License.txt,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
795
- ansible_core-2.20.0rc1.dist-info/licenses/licenses/BSD-3-Clause.txt,sha256=la0N3fE3Se8vBiuvUcFKA8b-E41G7flTic6P8CkUroE,1548
796
- ansible_core-2.20.0rc1.dist-info/licenses/licenses/MIT-license.txt,sha256=jLXp2XurnyZKbye40g9tfmLGtVlxh3pPD4n8xNqX8xc,1023
797
- ansible_core-2.20.0rc1.dist-info/licenses/licenses/PSF-license.txt,sha256=g7BC_H1qyg8Q1o5F76Vrm8ChSWYI5-dyj-CdGlNKBUo,2484
798
- ansible_core-2.20.0rc1.dist-info/licenses/licenses/simplified_bsd.txt,sha256=8R5R7R7sOa0h1Fi6RNgFgHowHBfun-OVOMzJ4rKAk2w,1237
793
+ ansible_core-2.20.0rc2.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
794
+ ansible_core-2.20.0rc2.dist-info/licenses/licenses/Apache-License.txt,sha256=y16Ofl9KOYjhBjwULGDcLfdWBfTEZRXnduOspt-XbhQ,11325
795
+ ansible_core-2.20.0rc2.dist-info/licenses/licenses/BSD-3-Clause.txt,sha256=la0N3fE3Se8vBiuvUcFKA8b-E41G7flTic6P8CkUroE,1548
796
+ ansible_core-2.20.0rc2.dist-info/licenses/licenses/MIT-license.txt,sha256=jLXp2XurnyZKbye40g9tfmLGtVlxh3pPD4n8xNqX8xc,1023
797
+ ansible_core-2.20.0rc2.dist-info/licenses/licenses/PSF-license.txt,sha256=g7BC_H1qyg8Q1o5F76Vrm8ChSWYI5-dyj-CdGlNKBUo,2484
798
+ ansible_core-2.20.0rc2.dist-info/licenses/licenses/simplified_bsd.txt,sha256=8R5R7R7sOa0h1Fi6RNgFgHowHBfun-OVOMzJ4rKAk2w,1237
799
799
  ansible_test/__init__.py,sha256=20VPOj11c6Ut1Av9RaurgwJvFhMqkWG3vAvcCbecNKw,66
800
800
  ansible_test/_data/ansible.cfg,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
801
801
  ansible_test/_data/coveragerc,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1091,8 +1091,8 @@ ansible_test/config/cloud-config-vultr.ini.template,sha256=XLKHk3lg_8ReQMdWfZzhh
1091
1091
  ansible_test/config/config.yml,sha256=1zdGucnIl6nIecZA7ISIANvqXiHWqq6Dthsk_6MUwNc,2642
1092
1092
  ansible_test/config/inventory.networking.template,sha256=bFNSk8zNQOaZ_twaflrY0XZ9mLwUbRLuNT0BdIFwvn4,1335
1093
1093
  ansible_test/config/inventory.winrm.template,sha256=1QU8W-GFLnYEw8yY9bVIvUAVvJYPM3hyoijf6-M7T00,1098
1094
- ansible_core-2.20.0rc1.dist-info/METADATA,sha256=058r61OdRskNCFMhHdc_wDAtXEoV_-L77Owq2uO4Ax0,7733
1095
- ansible_core-2.20.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1096
- ansible_core-2.20.0rc1.dist-info/entry_points.txt,sha256=S9yJij5Im6FgRQxzkqSCnPQokC7PcWrDW_NSygZczJU,451
1097
- ansible_core-2.20.0rc1.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
1098
- ansible_core-2.20.0rc1.dist-info/RECORD,,
1094
+ ansible_core-2.20.0rc2.dist-info/METADATA,sha256=FMOLI27gacAb8WORuyYDQ9-GbrkNJ1zOWPiVmpB8jTI,7733
1095
+ ansible_core-2.20.0rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1096
+ ansible_core-2.20.0rc2.dist-info/entry_points.txt,sha256=S9yJij5Im6FgRQxzkqSCnPQokC7PcWrDW_NSygZczJU,451
1097
+ ansible_core-2.20.0rc2.dist-info/top_level.txt,sha256=IFbRLjAvih1DYzJWg3_F6t4sCzEMxRO7TOMNs6GkYHo,21
1098
+ ansible_core-2.20.0rc2.dist-info/RECORD,,