This is an automated email from the ASF dual-hosted git repository. robbie pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/qpid-site.git
commit ffd2566e541e8d4317e1b1b31e72b5cea693158c Author: Robbie Gemmell <[email protected]> AuthorDate: Fri Sep 2 17:53:10 2022 +0100 changes to get release generation working on Python 3.10 etc...may be tweaks are still needed for older versions --- python/generate.py | 2 +- python/plano.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/generate.py b/python/generate.py index a9a6d8e72..4bb62791b 100644 --- a/python/generate.py +++ b/python/generate.py @@ -458,7 +458,7 @@ def _fetch_issues(project, release): filename, headers = urllib.request.urlretrieve(url) with open(filename) as f: - data = yaml.load(f) + data = yaml.load(f, Loader=yaml.Loader) issues.extend(data["issues"]) diff --git a/python/plano.py b/python/plano.py index de5df149e..8264226aa 100644 --- a/python/plano.py +++ b/python/plano.py @@ -551,7 +551,7 @@ class _Process(_subprocess.Popen): except KeyError: if _is_string(command): self.name = program_name(command) - elif isinstance(command, _collections.Iterable): + elif isinstance(command, _collections.abc.Iterable): self.name = command[0] else: raise Exception() @@ -585,7 +585,7 @@ def start_process(command, *args, **kwargs): command = command.format(*args) command_args = _shlex.split(command) command_string = command - elif isinstance(command, _collections.Iterable): + elif isinstance(command, _collections.abc.Iterable): assert len(args) == 0, args command_args = command command_string = _command_string(command) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
