Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ansible-compat for openSUSE:Factory checked in at 2025-05-13 20:07:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ansible-compat (Old) and /work/SRC/openSUSE:Factory/.python-ansible-compat.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ansible-compat" Tue May 13 20:07:39 2025 rev:38 rq:1277101 version:25.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ansible-compat/python-ansible-compat.changes 2025-04-03 18:44:03.042401003 +0200 +++ /work/SRC/openSUSE:Factory/.python-ansible-compat.new.30101/python-ansible-compat.changes 2025-05-13 20:07:47.628694298 +0200 @@ -1,0 +2,7 @@ +Tue May 13 10:33:51 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- update to 25.5.0: + * Bugfixes + Enable junit.xml reporting to codecov.io (#486) @Qalthos + +------------------------------------------------------------------- Old: ---- python-ansible-compat-25.1.5.tar.gz New: ---- python-ansible-compat-25.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ansible-compat.spec ++++++ --- /var/tmp/diff_new_pack.BuvWvF/_old 2025-05-13 20:07:48.476729855 +0200 +++ /var/tmp/diff_new_pack.BuvWvF/_new 2025-05-13 20:07:48.476729855 +0200 @@ -24,7 +24,7 @@ %endif Name: python-ansible-compat -Version: 25.1.5 +Version: 25.5.0 Release: 0 Summary: Compatibility shim for Ansible 2.9 and newer License: MIT ++++++ python-ansible-compat-25.1.5.tar.gz -> python-ansible-compat-25.5.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/.config/constraints.txt new/ansible-compat-25.5.0/.config/constraints.txt --- old/ansible-compat-25.1.5/.config/constraints.txt 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/.config/constraints.txt 2025-05-12 08:04:19.000000000 +0200 @@ -4,24 +4,24 @@ attrs==25.3.0 # via jsonschema, referencing babel==2.17.0 # via mkdocs-material backrefs==5.8 # via mkdocs-material -beautifulsoup4==4.13.3 # via linkchecker, mkdocs-htmlproofer-plugin +beautifulsoup4==4.13.4 # via linkchecker, mkdocs-htmlproofer-plugin black==25.1.0 # via ansible-compat (pyproject.toml) cairocffi==1.7.1 # via cairosvg cairosvg==2.7.1 # via mkdocs-ansible -certifi==2025.1.31 # via requests +certifi==2025.4.26 # via requests cffi==1.17.1 # via cairocffi, cryptography -charset-normalizer==3.4.1 # via requests -click==8.1.8 # via black, mkdocs +charset-normalizer==3.4.2 # via requests +click==8.2.0 # via black, mkdocs colorama==0.4.6 # via griffe, mkdocs-material coverage==7.8.0 # via ansible-compat (pyproject.toml) -cryptography==44.0.2 # via ansible-core +cryptography==44.0.3 # via ansible-core csscompressor==0.9.5 # via mkdocs-minify-plugin cssselect2==0.8.0 # via cairosvg defusedxml==0.7.1 # via cairosvg dnspython==2.7.0 # via linkchecker -exceptiongroup==1.2.2 # via pytest +exceptiongroup==1.3.0 # via pytest ghp-import==2.1.0 # via mkdocs -griffe==1.7.2 # via mkdocstrings-python +griffe==1.7.3 # via mkdocstrings-python hjson==3.1.0 # via mkdocs-macros-plugin, super-collections htmlmin2==0.1.13 # via mkdocs-minify-plugin idna==3.10 # via requests @@ -29,9 +29,9 @@ jinja2==3.1.6 # via ansible-core, mkdocs, mkdocs-macros-plugin, mkdocs-material, mkdocstrings jsmin==3.0.1 # via mkdocs-minify-plugin jsonschema==4.23.0 # via ansible-compat (pyproject.toml) -jsonschema-specifications==2024.10.1 # via jsonschema +jsonschema-specifications==2025.4.1 # via jsonschema linkchecker==10.5.0 # via mkdocs-ansible -markdown==3.7 # via markdown-include, mkdocs, mkdocs-autorefs, mkdocs-htmlproofer-plugin, mkdocs-material, mkdocstrings, pymdown-extensions +markdown==3.8 # via markdown-include, mkdocs, mkdocs-autorefs, mkdocs-htmlproofer-plugin, mkdocs-material, mkdocstrings, pymdown-extensions markdown-exec==1.10.3 # via mkdocs-ansible markdown-include==0.8.1 # via mkdocs-ansible markupsafe==3.0.2 # via jinja2, mkdocs, mkdocs-autorefs, mkdocstrings @@ -43,22 +43,22 @@ mkdocs-get-deps==0.2.0 # via mkdocs mkdocs-htmlproofer-plugin==1.3.0 # via mkdocs-ansible mkdocs-macros-plugin==1.3.7 # via mkdocs-ansible -mkdocs-material==9.6.11 # via mkdocs-ansible +mkdocs-material==9.6.13 # via mkdocs-ansible mkdocs-material-extensions==1.3.1 # via mkdocs-ansible, mkdocs-material mkdocs-minify-plugin==0.8.0 # via mkdocs-ansible mkdocs-monorepo-plugin==1.1.0 # via mkdocs-ansible mkdocstrings==0.29.1 # via mkdocs-ansible, mkdocstrings-python -mkdocstrings-python==1.16.8 # via mkdocs-ansible -mypy-extensions==1.0.0 # via black -packaging==24.2 # via ansible-core, black, mkdocs, mkdocs-macros-plugin, pytest, ansible-compat (pyproject.toml) +mkdocstrings-python==1.16.10 # via mkdocs-ansible +mypy-extensions==1.1.0 # via black +packaging==25.0 # via ansible-core, black, mkdocs, mkdocs-macros-plugin, pytest, ansible-compat (pyproject.toml) paginate==0.5.7 # via mkdocs-material pathspec==0.12.1 # via black, mkdocs, mkdocs-macros-plugin -pillow==11.1.0 # via cairosvg, mkdocs-ansible -platformdirs==4.3.7 # via black, mkdocs-get-deps +pillow==11.2.1 # via cairosvg, mkdocs-ansible +platformdirs==4.3.8 # via black, mkdocs-get-deps pluggy==1.5.0 # via pytest pycparser==2.22 # via cffi pygments==2.19.1 # via mkdocs-material -pymdown-extensions==10.14.3 # via markdown-exec, mkdocs-ansible, mkdocs-material, mkdocstrings +pymdown-extensions==10.15 # via markdown-exec, mkdocs-ansible, mkdocs-material, mkdocstrings pytest==8.3.5 # via pytest-instafail, pytest-mock, pytest-plus, ansible-compat (pyproject.toml) pytest-instafail==0.5.0 # via ansible-compat (pyproject.toml) pytest-mock==3.14.0 # via ansible-compat (pyproject.toml) @@ -66,19 +66,19 @@ python-dateutil==2.9.0.post0 # via ghp-import, mkdocs-macros-plugin python-slugify==8.0.4 # via mkdocs-monorepo-plugin pyyaml==6.0.2 # via ansible-core, mkdocs, mkdocs-get-deps, mkdocs-macros-plugin, pymdown-extensions, pyyaml-env-tag, ansible-compat (pyproject.toml) -pyyaml-env-tag==0.1 # via mkdocs +pyyaml-env-tag==1.0 # via mkdocs referencing==0.36.2 # via jsonschema, jsonschema-specifications requests==2.32.3 # via linkchecker, mkdocs-htmlproofer-plugin, mkdocs-material rpds-py==0.24.0 # via jsonschema, referencing six==1.17.0 # via python-dateutil -soupsieve==2.6 # via beautifulsoup4 +soupsieve==2.7 # via beautifulsoup4 subprocess-tee==0.4.2 # via ansible-compat (pyproject.toml) super-collections==0.5.3 # via mkdocs-macros-plugin -termcolor==3.0.1 # via mkdocs-macros-plugin +termcolor==3.1.0 # via mkdocs-macros-plugin text-unidecode==1.3 # via python-slugify tinycss2==1.4.0 # via cairosvg, cssselect2 tomli==2.2.1 # via argparse-manpage, black, pytest -urllib3==2.3.0 # via requests +urllib3==2.4.0 # via requests watchdog==6.0.0 # via mkdocs webencodings==0.5.1 # via cssselect2, tinycss2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/.config/pydoclint-baseline.txt new/ansible-compat-25.5.0/.config/pydoclint-baseline.txt --- old/ansible-compat-25.1.5/.config/pydoclint-baseline.txt 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/.config/pydoclint-baseline.txt 2025-05-12 08:04:19.000000000 +0200 @@ -2,12 +2,12 @@ DOC101: Function `parse_ansible_version`: Docstring contains fewer arguments than in function signature. DOC103: Function `parse_ansible_version`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [stdout: str]. DOC201: Function `parse_ansible_version` does not have a return section in docstring - DOC501: Function `parse_ansible_version` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Function `parse_ansible_version` has raise statements, but the docstring does not have a "Raises" section DOC503: Function `parse_ansible_version` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['InvalidPrerequisiteError']. DOC101: Function `ansible_version`: Docstring contains fewer arguments than in function signature. DOC103: Function `ansible_version`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [version: str]. DOC201: Function `ansible_version` does not have a return section in docstring - DOC501: Function `ansible_version` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Function `ansible_version` has raise statements, but the docstring does not have a "Raises" section DOC503: Function `ansible_version` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['MissingAnsibleError']. DOC604: Class `AnsibleConfig`: Attributes are the same in docstring and class def, but are in a different order. (Please read https://jsh9.github.io/pydoclint/checking_class_attributes.html on how to correctly document class attributes.) DOC605: Class `AnsibleConfig`: Attribute names match, but type hints in these attributes do not match: action_warnings, agnostic_become_prompt, allow_world_readable_tmpfiles, ansible_connection_path, ansible_cow_acceptlist, ansible_cow_path, ansible_cow_selection, ansible_force_color, ansible_nocolor, ansible_nocows, ansible_pipelining, any_errors_fatal, become_allow_same_user, become_plugin_path, cache_plugin, cache_plugin_connection, cache_plugin_prefix, cache_plugin_timeout, callable_accept_list, callbacks_enabled, collections_on_ansible_version_mismatch, collections_paths, collections_scan_sys_path, color_changed, color_console_prompt, color_debug, color_deprecate, color_diff_add, color_diff_lines, color_diff_remove, color_error, color_highlight, color_ok, color_skip, color_unreachable, color_verbose, color_warn, command_warnings, conditional_bare_vars, connection_facts_modules, controller_python_warning, coverage_remote_output, coverage_remote_paths, default_action_plugin_p ath, default_allow_unsafe_lookups, default_ask_pass, default_ask_vault_pass, default_become, default_become_ask_pass, default_become_exe, default_become_flags, default_become_method, default_become_user, default_cache_plugin_path, default_callback_plugin_path, default_cliconf_plugin_path, default_connection_plugin_path, default_debug, default_executable, default_fact_path, default_filter_plugin_path, default_force_handlers, default_forks, default_gather_subset, default_gather_timeout, default_gathering, default_handler_includes_static, default_hash_behaviour, default_host_list, default_httpapi_plugin_path, default_internal_poll_interval, default_inventory_plugin_path, default_jinja2_extensions, default_jinja2_native, default_keep_remote_files, default_libvirt_lxc_noseclabel, default_load_callback_plugins, default_local_tmp, default_log_filter, default_log_path, default_lookup_plugin_path, default_managed_str, default_module_args, default_module_compression, default_module_name, defa ult_module_path, default_module_utils_path, default_netconf_plugin_path, default_no_log, default_no_target_syslog, default_null_representation, default_poll_interval, default_private_key_file, default_private_role_vars, default_remote_port, default_remote_user, default_collections_path, default_roles_path, default_selinux_special_fs, default_stdout_callback, default_strategy, default_strategy_plugin_path, default_su, default_syslog_facility, default_task_includes_static, default_terminal_plugin_path, default_test_plugin_path, default_timeout, default_transport, default_undefined_var_behavior, default_vars_plugin_path, default_vault_encrypt_identity, default_vault_id_match, default_vault_identity, default_vault_identity_list, default_vault_password_file, default_verbosity, deprecation_warnings, devel_warning, diff_always, diff_context, display_args_to_stdout, display_skipped_hosts, docsite_root_url, doc_fragment_plugin_path, duplicate_yaml_dict_key, enable_task_debugger, error_on_mis sing_handler, facts_modules, galaxy_cache_dir, galaxy_display_progress, galaxy_ignore_certs, galaxy_role_skeleton, galaxy_role_skeleton_ignore, galaxy_server, galaxy_server_list, galaxy_token_path, host_key_checking, host_pattern_mismatch, inject_facts_as_vars, interpreter_python, interpreter_python_distro_map, interpreter_python_fallback, invalid_task_attribute_failed, inventory_any_unparsed_is_failed, inventory_cache_enabled, inventory_cache_plugin, inventory_cache_plugin_connection, inventory_cache_plugin_prefix, inventory_cache_timeout, inventory_enabled, inventory_export, inventory_ignore_exts, inventory_ignore_patterns, inventory_unparsed_is_failed, localhost_warning, max_file_size_for_diff, module_ignore_exts, netconf_ssh_config, network_group_modules, old_plugin_cache_clearing, paramiko_host_key_auto_add, paramiko_look_for_keys, persistent_command_timeout, persistent_connect_retry_timeout, persistent_connect_timeout, persistent_control_path_dir, playbook_dir, playbook_vars_r oot, plugin_filters_cfg, python_module_rlimit_nofile, retry_files_enabled, retry_files_save_path, run_vars_plugins, show_custom_stats, string_conversion_action, string_type_filters, system_warnings, tags_run, tags_skip, task_debugger_ignore_errors, task_timeout, transform_invalid_group_chars, use_persistent_connections, variable_plugins_enabled, variable_precedence, verbose_to_stderr, win_async_startup_timeout, worker_shutdown_poll_count, worker_shutdown_poll_delay, yaml_filename_extensions (Please read https://jsh9.github.io/pydoclint/checking_class_attributes.html on how to correctly document class attributes.) @@ -45,7 +45,7 @@ DOC101: Function `colpath_from_path`: Docstring contains fewer arguments than in function signature. DOC103: Function `colpath_from_path`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [path: Path]. DOC201: Function `colpath_from_path` does not have a return section in docstring - DOC501: Function `colpath_from_path` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Function `colpath_from_path` has raise statements, but the docstring does not have a "Raises" section DOC503: Function `colpath_from_path` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['InvalidPrerequisiteError']. -------------------- src/ansible_compat/runtime.py @@ -58,26 +58,26 @@ DOC101: Method `Plugins.__getattribute__`: Docstring contains fewer arguments than in function signature. DOC103: Method `Plugins.__getattribute__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [attr: str]. DOC201: Method `Plugins.__getattribute__` does not have a return section in docstring - DOC501: Method `Plugins.__getattribute__` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Plugins.__getattribute__` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Plugins.__getattribute__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AnsibleCompatError']. DOC601: Class `Runtime`: Class docstring contains fewer class attributes than actual class attributes. (Please read https://jsh9.github.io/pydoclint/checking_class_attributes.html on how to correctly document class attributes.) DOC603: Class `Runtime`: Class docstring attributes are different from actual class attributes. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Attributes in the class definition but not in the docstring: [_has_playbook_cache: dict[tuple[str, Path | None], bool], _version: Version | None, cache_dir: Path, collections: OrderedDict[str, Collection], initialized: bool, plugins: Plugins, require_module: bool]. (Please read https://jsh9.github.io/pydoclint/checking_class_attributes.html on how to correctly document class attributes.) DOC101: Method `Runtime.__init__`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.__init__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [environ: dict[str, str] | None, isolated: bool, max_retries: int, min_required_version: str | None, project_dir: Path | None, require_module: bool, verbosity: int]. - DOC501: Method `Runtime.__init__` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime.__init__` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime.__init__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['RuntimeError']. DOC101: Function `warning`: Docstring contains fewer arguments than in function signature. DOC103: Function `warning`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [formatted: bool, help_text: str | None, msg: str, obj: Any, self: Display]. DOC101: Method `Runtime.initialize_logger`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.initialize_logger`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [level: int]. - DOC501: Method `Runtime.load_collections` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime.load_collections` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime.load_collections` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['RuntimeError', 'TypeError']. - DOC501: Method `Runtime._ensure_module_available` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime._ensure_module_available` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime._ensure_module_available` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['RuntimeError']. DOC101: Method `Runtime.run`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.run`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [args: str | list[str], cwd: Path | None, env: dict[str, str] | None, retry: bool, set_acp: bool, tee: bool]. DOC201: Method `Runtime.run` does not have a return section in docstring - DOC501: Method `Runtime.version` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime.version` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime.version` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['MissingAnsibleError']. DOC101: Method `Runtime.version_in_range`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.version_in_range`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [lower: str | None, upper: str | None]. @@ -87,22 +87,22 @@ DOC201: Method `Runtime.has_playbook` does not have a return section in docstring DOC101: Method `Runtime.install_collection`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.install_collection`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [collection: str | Path, destination: Path | None, force: bool]. - DOC501: Method `Runtime.install_collection` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime.install_collection` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime.install_collection` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['InvalidPrerequisiteError']. DOC101: Method `Runtime.install_collection_from_disk`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.install_collection_from_disk`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [destination: Path | None, path: Path]. DOC101: Method `Runtime.install_requirements`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.install_requirements`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [offline: bool, requirement: Path, retry: bool]. - DOC501: Method `Runtime.install_requirements` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime.install_requirements` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime.install_requirements` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AnsibleCommandError', 'InvalidPrerequisiteError']. DOC101: Method `Runtime.prepare_environment`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime.prepare_environment`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [install_local: bool, offline: bool, required_collections: dict[str, str] | None, retry: bool, role_name_check: int]. - DOC501: Method `Runtime.require_collection` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime.require_collection` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime.require_collection` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['InvalidPrerequisiteError']. - DOC501: Method `Runtime._prepare_ansible_paths` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime._prepare_ansible_paths` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime._prepare_ansible_paths` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['RuntimeError']. DOC201: Method `Runtime._get_roles_path` does not have a return section in docstring - DOC501: Method `Runtime._install_galaxy_role` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `Runtime._install_galaxy_role` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `Runtime._install_galaxy_role` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['InvalidPrerequisiteError']. DOC101: Method `Runtime._update_env`: Docstring contains fewer arguments than in function signature. DOC103: Method `Runtime._update_env`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [default: str, value: list[str], varname: str]. @@ -112,7 +112,7 @@ DOC101: Function `_get_galaxy_role_ns`: Docstring contains fewer arguments than in function signature. DOC103: Function `_get_galaxy_role_ns`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [galaxy_infos: dict[str, Any]]. DOC201: Function `_get_galaxy_role_ns` does not have a return section in docstring - DOC501: Function `_get_galaxy_role_ns` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Function `_get_galaxy_role_ns` has raise statements, but the docstring does not have a "Raises" section DOC503: Function `_get_galaxy_role_ns` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AnsibleCompatError']. DOC101: Function `_get_galaxy_role_name`: Docstring contains fewer arguments than in function signature. DOC103: Function `_get_galaxy_role_name`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [galaxy_infos: dict[str, Any]]. @@ -147,7 +147,7 @@ DOC103: Method `VirtualEnvironment.python_script_run`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [script: str]. DOC201: Method `VirtualEnvironment.python_script_run` does not have a return section in docstring DOC201: Method `VirtualEnvironment.site_package_dirs` does not have a return section in docstring - DOC501: Method `VirtualEnvironment.site_package_dirs` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `VirtualEnvironment.site_package_dirs` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `VirtualEnvironment.site_package_dirs` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['TypeError']. DOC101: Function `venv_module`: Docstring contains fewer arguments than in function signature. DOC103: Function `venv_module`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [tmp_path_factory: pytest.TempPathFactory]. @@ -166,7 +166,7 @@ DOC103: Function `test_runtime_missing_ansible_module`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [monkeypatch: MonkeyPatch]. DOC101: Method `RaiseException.__init__`: Docstring contains fewer arguments than in function signature. DOC103: Method `RaiseException.__init__`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [**kwargs: Any, *args: Any]. - DOC501: Method `RaiseException.__init__` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Method `RaiseException.__init__` has raise statements, but the docstring does not have a "Raises" section DOC503: Method `RaiseException.__init__` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['ModuleNotFoundError']. DOC101: Function `test_runtime_mismatch_ansible_module`: Docstring contains fewer arguments than in function signature. DOC103: Function `test_runtime_mismatch_ansible_module`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [monkeypatch: MonkeyPatch]. @@ -218,7 +218,7 @@ DOC103: Function `test_install_collection_git`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [runtime: Runtime]. DOC101: Function `test_install_collection_dest`: Docstring contains fewer arguments than in function signature. DOC103: Function `test_install_collection_dest`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [runtime: Runtime, tmp_path: pathlib.Path]. - DOC501: Function `test_install_collection_dest` has "raise" statements, but the docstring does not have a "Raises" section + DOC501: Function `test_install_collection_dest` has raise statements, but the docstring does not have a "Raises" section DOC503: Function `test_install_collection_dest` exceptions in the "Raises" section in the docstring do not match those in the function body. Raised exceptions in the docstring: []. Raised exceptions in the body: ['AssertionError']. DOC101: Function `test_install_collection_fail`: Docstring contains fewer arguments than in function signature. DOC103: Function `test_install_collection_fail`: Docstring arguments are different from function arguments. (Or could be other formatting issues: https://jsh9.github.io/pydoclint/violation_codes.html#notes-on-doc103 ). Arguments in the function signature but not in the docstring: [runtime: Runtime]. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/.git_archival.txt new/ansible-compat-25.5.0/.git_archival.txt --- old/ansible-compat-25.1.5/.git_archival.txt 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/.git_archival.txt 2025-05-12 08:04:19.000000000 +0200 @@ -1,4 +1,4 @@ -node: e507d51acd8d50a8fe3a13eba128e6d4afe475ed -node-date: 2025-04-03T02:58:18-07:00 -describe-name: v25.1.5 -ref-names: HEAD -> main, tag: v25.1.5 +node: ad6f3ad118eb5f01a0e317fc35e3d5a52f7c82eb +node-date: 2025-05-11T23:04:19-07:00 +describe-name: v25.5.0 +ref-names: HEAD -> main, tag: v25.5.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/.gitignore new/ansible-compat-25.5.0/.gitignore --- old/ansible-compat-25.1.5/.gitignore 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/.gitignore 2025-05-12 08:04:19.000000000 +0200 @@ -45,6 +45,7 @@ .nox/ .coverage .cache +junit.xml nosetests.xml coverage.xml *.cover diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/.pre-commit-config.yaml new/ansible-compat-25.5.0/.pre-commit-config.yaml --- old/ansible-compat-25.1.5/.pre-commit-config.yaml 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/.pre-commit-config.yaml 2025-05-12 08:04:19.000000000 +0200 @@ -17,7 +17,7 @@ )$ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.9.9" + rev: "v0.11.8" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -56,14 +56,14 @@ hooks: - id: codespell - repo: https://github.com/jsh9/pydoclint - rev: 0.6.0 + rev: 0.6.6 hooks: - id: pydoclint # This allows automatic reduction of the baseline file when needed. entry: sh -ec "pydoclint . && pydoclint --generate-baseline=1 ." pass_filenames: false - repo: https://github.com/adrienverge/yamllint.git - rev: v1.35.1 + rev: v1.37.1 hooks: - id: yamllint files: \.(yaml|yml)$ @@ -96,7 +96,7 @@ - types-setuptools - types-jsonschema>=4.4.9 - repo: https://github.com/pycqa/pylint - rev: v3.3.4 + rev: v3.3.7 hooks: - id: pylint additional_dependencies: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/pyproject.toml new/ansible-compat-25.5.0/pyproject.toml --- old/ansible-compat-25.1.5/pyproject.toml 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/pyproject.toml 2025-05-12 08:04:19.000000000 +0200 @@ -357,6 +357,7 @@ # https://github.com/ansible/ansible/issues/81906 "ignore:'importlib.abc.TraversableResources' is deprecated and slated for removal in Python 3.14:DeprecationWarning" ] +junit_family = "legacy" # see https://docs.codecov.com/docs/test-analytics testpaths = ["test"] [tool.ruff] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/src/ansible_compat/config.py new/ansible-compat-25.5.0/src/ansible_compat/config.py --- old/ansible-compat-25.1.5/src/ansible_compat/config.py 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/src/ansible_compat/config.py 2025-05-12 08:04:19.000000000 +0200 @@ -47,7 +47,7 @@ if version: return Version(version) - proc = subprocess.run( # noqa: S603 + proc = subprocess.run( ["ansible", "--version"], text=True, check=False, @@ -597,7 +597,7 @@ env = os.environ.copy() # Avoid possible ANSI garbage env["ANSIBLE_FORCE_COLOR"] = "0" - config_dump = subprocess.check_output( # noqa: S603 + config_dump = subprocess.check_output( ["ansible-config", "dump"], universal_newlines=True, env=env, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/tools/report-coverage new/ansible-compat-25.5.0/tools/report-coverage --- old/ansible-compat-25.1.5/tools/report-coverage 1970-01-01 01:00:00.000000000 +0100 +++ new/ansible-compat-25.5.0/tools/report-coverage 2025-05-12 08:04:19.000000000 +0200 @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail +coverage combine -q "--data-file=${TOX_ENV_DIR}/.coverage" "${TOX_ENV_DIR}"/.coverage.* +coverage xml "--data-file=${TOX_ENV_DIR}/.coverage" -o "${TOX_ENV_DIR}/coverage.xml" --ignore-errors --fail-under=0 +COVERAGE_FILE="${TOX_ENV_DIR}/.coverage" coverage lcov --fail-under=0 --ignore-errors -q +COVERAGE_FILE="${TOX_ENV_DIR}/.coverage" coverage report --fail-under=0 --ignore-errors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-25.1.5/tox.ini new/ansible-compat-25.5.0/tox.ini --- old/ansible-compat-25.1.5/tox.ini 2025-04-03 11:58:18.000000000 +0200 +++ new/ansible-compat-25.5.0/tox.ini 2025-05-12 08:04:19.000000000 +0200 @@ -50,11 +50,10 @@ sh -c "ansible --version | head -n 1" # We add coverage options but not making them mandatory as we do not want to force # pytest users to run coverage when they just want to run a single test with `pytest -k test` - coverage run -m pytest {posargs:} + coverage run -m pytest {posargs:--junitxml=./junit.xml} +commands_post = # needed for upload to codecov.io - {py,py310,py311,py312,py313}: sh -c "coverage combine -q --data-file={envdir}/.coverage {envdir}/.coverage.* && coverage xml --data-file={envdir}/.coverage -o {envdir}/coverage.xml --ignore-errors --fail-under=0 && COVERAGE_FILE={envdir}/.coverage coverage lcov --fail-under=0 --ignore-errors -q && COVERAGE_FILE={envdir}/.coverage coverage report --fail-under=0 --ignore-errors" - # lcov needed for vscode integration due to https://github.com/ryanluker/vscode-coverage-gutters/issues/403 - + {py,py310,py311,py312,py313}: ./tools/report-coverage passenv = CURL_CA_BUNDLE # https proxies, https://github.com/tox-dev/tox/issues/1437 FORCE_COLOR @@ -85,6 +84,7 @@ ansible git sh + ./tools/report-coverage # https://tox.wiki/en/latest/upgrading.html#editable-mode package = editable uv_seed = true