mitogen-hq / mitogen

Distributed self-replicating programs in Python
https://mitogen.networkgenomics.com/
BSD 3-Clause "New" or "Revised" License
2.35k stars 199 forks source link

Ansible 11 (ansible-core 2.18) #1177

Open moreati opened 3 weeks ago

moreati commented 3 weeks ago

fixes #1129

moreati commented 1 day ago

This may be running into https://github.com/python/cpython/pull/116131. Ansible 11.0 (ansible-core 2.18) added python3.13 to the default INTERPRETER_PYTHON_FALLBACK list, and the following test failure is occuring on macOS

PLAY [integration/action/make_tmp_path.yml] ************************************

...

TASK [Try writing to temp directory for the readonly_homedir user script=from ansible.module_utils.basic import get_module_path
path = get_module_path() + '/foo.txt'
result['path'] = path
open(path, 'w').write("bar")
] ***
Monday 25 November 2024  07:41:21 +0000 (0:00:00.058)       0:00:53.234 ******* 
fatal: [target]: FAILED! => 
  msg: |-
    error occurred on host Mac-1732518946956.local: EOF on stream; last 100 lines received:
    Traceback (most recent call last):
      File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
      File "<frozen importlib._bootstrap>", line 1322, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 1262, in _find_spec
      File "<frozen importlib._bootstrap_external>", line 1555, in find_spec
      File "<frozen importlib._bootstrap_external>", line 1527, in _get_spec
      File "<frozen importlib._bootstrap_external>", line 1506, in _path_importer_cache
    PermissionError: [Errno 13] Permission denied